/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 28 import android.graphics.Bitmap; 146 private Bitmap mBitmap; 151 private Bitmap mBitmapFrames[]; 257 public static PointerIcon create(@NonNull Bitmap bitmap, float hotSpotX, float hotSpotY) { 346 Bitmap bitmap = Bitmap.CREATOR.createFromParcel(in); 440 mBitmapFrames = new Bitmap[frames - 1]; 470 private static void validateHotSpot(Bitmap bitmap, float hotSpotX, float hotSpotY) {
|
H A D | SurfaceControl.java | 20 import android.graphics.Bitmap; 41 private static native Bitmap nativeScreenshot(IBinder displayToken, 752 * CAVEAT: Versions of screenshot that return a {@link Bitmap} can 757 * @param sourceCrop The portion of the screen to capture into the Bitmap; 775 * @return Returns a Bitmap containing the screen contents, or null 776 * if an error occurs. Make sure to call Bitmap.recycle() as soon as 779 public static Bitmap screenshot(Rect sourceCrop, int width, int height, 797 * @return Returns a Bitmap containing the screen contents, or null 798 * if an error occurs. Make sure to call Bitmap.recycle() as soon as 801 public static Bitmap screensho [all...] |
H A D | TextureView.java | 21 import android.graphics.Bitmap; 515 * <p>Returns a {@link android.graphics.Bitmap} representation of the content 519 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888} 527 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface 531 * @see #getBitmap(android.graphics.Bitmap) 534 public Bitmap getBitmap() { 539 * <p>Returns a {@link android.graphics.Bitmap} representation of the content 543 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888} 554 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface 558 * @see #getBitmap(android.graphics.Bitmap) [all...] |
H A D | ThreadedRenderer.java | 23 import android.graphics.Bitmap; 823 boolean copyLayerInto(final HardwareLayer layer, final Bitmap bitmap) { 888 public static int copySurfaceInto(Surface surface, Bitmap bitmap) { 1000 private static native boolean nCopyLayerInto(long nativeProxy, long layer, Bitmap bitmap); 1029 private static native int nCopySurfaceInto(Surface surface, Bitmap bitmap);
|
H A D | View.java | 41 import android.graphics.Bitmap; 3898 private Bitmap mDrawingCache; 3899 private Bitmap mUnscaledDrawingCache; 15911 * for acceleration which ignores the flag. If you want to use a Bitmap for the view, even 16031 Bitmap cache = getDrawingCache(true); 16087 public Bitmap getDrawingCache() { 16118 public Bitmap getDrawingCache(boolean autoScale) { 16261 Bitmap bitmap = autoScale ? mDrawingCache : mUnscaledDrawingCache; 16264 Bitmap.Config quality; 16273 quality = Bitmap [all...] |
H A D | ViewDebug.java | 22 import android.graphics.Bitmap; 583 final Bitmap bitmap = metrics != null ? 584 Bitmap.createBitmap(metrics, metrics.widthPixels, 585 metrics.heightPixels, Bitmap.Config.RGB_565) : null; 603 ((Bitmap) data[0]).recycle(); 709 Bitmap b = performViewCapture(view, true); 713 b.compress(Bitmap.CompressFormat.PNG, 100, arrayOut); 755 Bitmap b = performViewCapture(captureView, false); 761 b = Bitmap.createBitmap(root.getResources().getDisplayMetrics(), 762 1, 1, Bitmap [all...] |
H A D | ViewGroup.java | 28 import android.graphics.Bitmap; 264 // the children's Bitmap caches if necessary 3310 public Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { 3326 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebChromeClient.java | 22 import android.graphics.Bitmap; 47 * @param icon A Bitmap containing the favicon for the current page. 49 public void onReceivedIcon(WebView view, Bitmap icon) {} 382 * @return Bitmap The image to use as a default poster, or null if no such image is 385 public Bitmap getDefaultVideoPoster() {
|
H A D | WebHistoryItem.java | 20 import android.graphics.Bitmap; 69 * @return A Bitmap containing the favicon for this history item or null. 73 public abstract Bitmap getFavicon();
|
H A D | WebIconDatabase.java | 21 import android.graphics.Bitmap; 49 public void onReceivedIcon(String url, Bitmap icon); 69 * Request the Bitmap representing the icon for the given page
|
H A D | WebView.java | 25 import android.graphics.Bitmap; 1448 public Bitmap getFavicon() {
|
H A D | WebViewClient.java | 19 import android.graphics.Bitmap; 90 public void onPageStarted(WebView view, String url, Bitmap favicon) {
|
H A D | WebViewProvider.java | 22 import android.graphics.Bitmap; 184 public Bitmap getFavicon();
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 27 import android.graphics.Bitmap; 418 * <p class="note">This does Bitmap reading and decoding on the UI 421 * {@link #setImageBitmap(android.graphics.Bitmap)} and 455 * <p class="note">This does Bitmap reading and decoding on the UI 458 * {@link #setImageBitmap(android.graphics.Bitmap)} and 521 * <p class="note">Depending on the Icon type, this may do Bitmap reading 621 * Sets a Bitmap as the content of this ImageView. 626 public void setImageBitmap(Bitmap bm) {
|
H A D | ProgressBar.java | 26 import android.graphics.Bitmap; 233 Bitmap mSampleTile; 509 final Bitmap tileBitmap = bitmap.getBitmap();
|
H A D | RemoteViews.java | 38 import android.graphics.Bitmap; 116 * Maps bitmaps to unique indicies to avoid Bitmap duplication. 295 // We currently only calculate Bitmap memory usage, so by default, 1051 ArrayList<Bitmap> mBitmaps; 1054 mBitmaps = new ArrayList<Bitmap>(); 1059 mBitmaps = new ArrayList<Bitmap>(); 1061 Bitmap b = Bitmap.CREATOR.createFromParcel(source); 1066 public int getBitmapId(Bitmap b) { 1079 public Bitmap getBitmapForI [all...] |
H A D | SlidingDrawer.java | 22 import android.graphics.Bitmap; 313 final Bitmap cache = mContent.getDrawingCache();
|
H A D | StackView.java | 24 import android.graphics.Bitmap; 1399 Bitmap createClickOutline(View v, int color) { 1403 Bitmap createResOutline(View v, int color) { 1407 Bitmap createOutline(View v, int type, int color) { 1419 Bitmap bitmap = Bitmap.createBitmap(v.getResources().getDisplayMetrics(), 1420 v.getMeasuredWidth(), v.getMeasuredHeight(), Bitmap.Config.ARGB_8888); 1442 void drawOutline(Canvas dest, Bitmap src) { 1444 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAssistScreenshotReceiver.aidl | 19 import android.graphics.Bitmap; 23 void send(in Bitmap screenshot);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config; 45 private Bitmap mTempCompactBitmap; 58 public boolean isGrayscale(Bitmap bitmap) { 65 mTempCompactBitmap = Bitmap.createBitmap( 66 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888 127 public static Bitmap buildScaledBitmap(Drawable drawable, int maxWidth, 150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
|
H A D | NotificationColorUtil.java | 27 import android.graphics.Bitmap; 57 private final WeakHashMap<Bitmap, Pair<Boolean, Integer>> mGrayscaleBitmapCache = 58 new WeakHashMap<Bitmap, Pair<Boolean, Integer>>(); 77 * Checks whether a Bitmap is a small grayscale icon. 83 public boolean isGrayscaleIcon(Bitmap bitmap) { 103 // generationId and the check whether the Bitmap is grayscale can't be read atomically
|
H A D | UserIcons.java | 20 import android.graphics.Bitmap; 47 public static Bitmap convertToBitmap(Drawable icon) { 53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
H A D | XmlUtils.java | 19 import android.graphics.Bitmap; 21 import android.graphics.Bitmap.CompressFormat; 1642 public static Bitmap readBitmapAttribute(XmlPullParser in, String name) { 1652 public static void writeBitmapAttribute(XmlSerializer out, String name, Bitmap value)
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 24 import android.graphics.Bitmap; 68 private Bitmap mBackground; 69 private Bitmap mDimple; 70 private Bitmap mDimpleDim; 72 private Bitmap mLeftHandleIcon; 73 private Bitmap mRightHandleIcon; 75 private Bitmap mArrowShortLeftAndRight; 76 private Bitmap mArrowLongLeft; // Long arrow starting on the left, pointing clockwise 77 private Bitmap mArrowLongRight; // Long arrow starting on the right, pointing CCW 214 private Bitmap getBitmapFo [all...] |
/frameworks/base/core/jni/ |
H A D | Android.mk | 107 android/graphics/Bitmap.cpp \
|