android Programming Glossary: android.graphics.rect
Android ICS and MJPEG using AsyncTask http://stackoverflow.com/questions/10550139/android-ics-and-mjpeg-using-asynctask import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.Typeface import android.util.AttributeSet..
How to add pagelines to a EditText in android? http://stackoverflow.com/questions/10992411/how-to-add-pagelines-to-a-edittext-in-android import android.graphics.Paint import android.graphics.Rect import android.util.AttributeSet import android.widget.EditText..
How did Google manage to do this? Slide ActionBar in Android application http://stackoverflow.com/questions/11234375/how-did-google-manage-to-do-this-slide-actionbar-in-android-application import android.content.Intent import android.graphics.Rect import android.util.Log import android.view.LayoutInflater import..
How to make an image fit into a circular frame in android http://stackoverflow.com/questions/14050813/how-to-make-an-image-fit-into-a-circular-frame-in-android import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.os.Bundle import.. import android.graphics.Rect import android.graphics.RectF import android.os.Bundle import android.widget.ImageView public..
How to maintain multi layers of ImageViews and keep their aspect ratio based on the largest one? http://stackoverflow.com/questions/16729169/how-to-maintain-multi-layers-of-imageviews-and-keep-their-aspect-ratio-based-on import android.graphics.Matrix import android.graphics.Rect import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable..
android: quality of the images resized in runtime http://stackoverflow.com/questions/2041207/android-quality-of-the-images-resized-in-runtime import android.graphics.Canvas import android.graphics.Rect import android.os.Bundle import android.view.View import android.widget.LinearLayout..
How to check visibility of software keyboard in Android? http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android android.app.Activity import android.content.Context import android.graphics.Rect import android.util.AttributeSet import android.widget.LinearLayout..
How to make an ImageView to have rounded corners http://stackoverflow.com/questions/2459916/how-to-make-an-imageview-to-have-rounded-corners import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.graphics.Bitmap.Config.. import android.graphics.Rect import android.graphics.RectF import android.graphics.Bitmap.Config import android.graphics.PorterDuff.Mode..
Android and MJPEG http://stackoverflow.com/questions/3205191/android-and-mjpeg import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.Typeface import android.util.AttributeSet..
Custom ImageView with drop shadow http://stackoverflow.com/questions/3693234/custom-imageview-with-drop-shadow import android.graphics.Paint import android.graphics.Rect import android.widget.ImageView public class ShadowImageView..
It is possible to remove the Shadow of the Icons (items) on a googlemap? http://stackoverflow.com/questions/4327733/it-is-possible-to-remove-the-shadow-of-the-icons-items-on-a-googlemap import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.Drawable import com.google.android.maps.ItemizedOverlay..
How can I use the animation framework inside the canvas? http://stackoverflow.com/questions/4938822/how-can-i-use-the-animation-framework-inside-the-canvas import android.graphics.Paint import android.graphics.Rect import android.os.Bundle import android.view.MotionEvent import..
Extending RelativeLayout, and overriding dispatchDraw() to create a zoomable ViewGroup http://stackoverflow.com/questions/6378904/extending-relativelayout-and-overriding-dispatchdraw-to-create-a-zoomable-vie android view ViewGroup.html#invalidateChildInParent int android.graphics.Rect If you want the user to be able to interact with the child views..
How can I manipulate the camera preview? http://stackoverflow.com/questions/6478375/how-can-i-manipulate-the-camera-preview import android.graphics.Paint import android.graphics.Rect import android.hardware.Camera import android.util.AttributeSet..
Adding Overlay to OSMDROID http://stackoverflow.com/questions/6496366/adding-overlay-to-osmdroid import android.graphics.Paint.Style import android.graphics.Rect import android.location.LocationManager import android.os.Bundle..
background scrolling with item in gridview http://stackoverflow.com/questions/6734635/background-scrolling-with-item-in-gridview import android.graphics.Canvas import android.graphics.Rect import android.util.AttributeSet import android.view.KeyEvent..
Android ICS and MJPEG using AsyncTask http://stackoverflow.com/questions/10550139/android-ics-and-mjpeg-using-asynctask import android.graphics.Paint import android.graphics.PorterDuff import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.Typeface import android.util.AttributeSet import android.util.Log import android.view.SurfaceHolder..
How to add pagelines to a EditText in android? http://stackoverflow.com/questions/10992411/how-to-add-pagelines-to-a-edittext-in-android EditText control. import android.content.Context import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import android.util.AttributeSet import android.widget.EditText public class LinedEditText extends EditText private Rect..
How did Google manage to do this? Slide ActionBar in Android application http://stackoverflow.com/questions/11234375/how-did-google-manage-to-do-this-slide-actionbar-in-android-application package your.cool.app import android.app.Activity import android.content.Context import android.content.Intent import android.graphics.Rect import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.View.OnClickListener..
How to make an image fit into a circular frame in android http://stackoverflow.com/questions/14050813/how-to-make-an-image-fit-into-a-circular-frame-in-android android.graphics.Paint import android.graphics.PorterDuff.Mode import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.os.Bundle import android.widget.ImageView public class CircleImage extends.. import android.graphics.PorterDuff.Mode import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.os.Bundle import android.widget.ImageView public class CircleImage extends Activity Called when the activity..
How to maintain multi layers of ImageViews and keep their aspect ratio based on the largest one? http://stackoverflow.com/questions/16729169/how-to-maintain-multi-layers-of-imageviews-and-keep-their-aspect-ratio-based-on import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.Matrix import android.graphics.Rect import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable import android.net.Uri import..
android: quality of the images resized in runtime http://stackoverflow.com/questions/2041207/android-quality-of-the-images-resized-in-runtime import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Canvas import android.graphics.Rect import android.os.Bundle import android.view.View import android.widget.LinearLayout import java.io.IOException import java.io.InputStream..
How to check visibility of software keyboard in Android? http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android the window then a soft keyboard is probably showing. import android.app.Activity import android.content.Context import android.graphics.Rect import android.util.AttributeSet import android.widget.LinearLayout LinearLayoutThatDetectsSoftKeyboard a variant of LinearLayout..
How to make an ImageView to have rounded corners http://stackoverflow.com/questions/2459916/how-to-make-an-imageview-to-have-rounded-corners import android.graphics.Canvas import android.graphics.Paint import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.graphics.Bitmap.Config import android.graphics.PorterDuff.Mode public class.. import android.graphics.Paint import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.RectF import android.graphics.Bitmap.Config import android.graphics.PorterDuff.Mode public class ImageHelper public static Bitmap..
Android and MJPEG http://stackoverflow.com/questions/3205191/android-and-mjpeg import android.graphics.Paint import android.graphics.PorterDuff import android.graphics.PorterDuffXfermode import android.graphics.Rect import android.graphics.Typeface import android.util.AttributeSet import android.view.SurfaceHolder import android.view.SurfaceView..
Custom ImageView with drop shadow http://stackoverflow.com/questions/3693234/custom-imageview-with-drop-shadow import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.Rect import android.widget.ImageView public class ShadowImageView extends ImageView private Rect mRect private Paint mPaint public..
It is possible to remove the Shadow of the Icons (items) on a googlemap? http://stackoverflow.com/questions/4327733/it-is-possible-to-remove-the-shadow-of-the-icons-items-on-a-googlemap import android.app.AlertDialog import android.content.Context import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.Drawable import com.google.android.maps.ItemizedOverlay import com.google.android.maps.MapView..
How can I use the animation framework inside the canvas? http://stackoverflow.com/questions/4938822/how-can-i-use-the-animation-framework-inside-the-canvas import android.graphics.Canvas import android.graphics.Matrix import android.graphics.Paint import android.graphics.Rect import android.os.Bundle import android.view.MotionEvent import android.view.SurfaceHolder import android.view.SurfaceView..
Extending RelativeLayout, and overriding dispatchDraw() to create a zoomable ViewGroup http://stackoverflow.com/questions/6378904/extending-relativelayout-and-overriding-dispatchdraw-to-create-a-zoomable-vie coordinates appropriately http developer.android.com reference android view ViewGroup.html#invalidateChildInParent int android.graphics.Rect If you want the user to be able to interact with the child views you will also need to override this to adjust touch coordinates..
How can I manipulate the camera preview? http://stackoverflow.com/questions/6478375/how-can-i-manipulate-the-camera-preview import android.graphics.BitmapFactory import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import android.hardware.Camera import android.util.AttributeSet import android.util.Log import android.view.SurfaceHolder..
Adding Overlay to OSMDROID http://stackoverflow.com/questions/6496366/adding-overlay-to-osmdroid import android.graphics.Color import android.graphics.Paint import android.graphics.Paint.Style import android.graphics.Rect import android.location.LocationManager import android.os.Bundle public class map extends Activity implements MapViewConstants..
background scrolling with item in gridview http://stackoverflow.com/questions/6734635/background-scrolling-with-item-in-gridview import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Canvas import android.graphics.Rect import android.util.AttributeSet import android.view.KeyEvent import android.widget.GridView public class BookCaseView extends..
|