Searched refs:Bitmap (Results 176 - 200 of 448) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DTestBase.java22 import android.graphics.Bitmap;
98 public void updateBitmap(Bitmap b) {
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java22 import android.graphics.Bitmap;
34 Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DIconHelper.java26 import android.graphics.Bitmap;
126 extends AsyncTask<Uri, Void, Bitmap>
152 protected Bitmap doInBackground(Uri... params) {
160 Bitmap result = null;
181 protected void onPostExecute(Bitmap result) {
218 final Bitmap cachedResult = mCache.get(uri);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCropFilter.java19 import android.graphics.Bitmap;
132 Bitmap.Config config = Bitmap.Config.ARGB_8888;
133 Bitmap cropped = Bitmap.createBitmap(outDims[0], outDims[1], config);
139 Bitmap sourceBitmap = inputImage.toBitmap();
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DMainActivity.java7 import android.graphics.Bitmap;
110 private class RsAsyncTaskRunner extends AsyncTask<RsTaskParams, Integer, Bitmap> {
112 Bitmap outputImage;
113 Bitmap outputImageNew;
117 protected Bitmap doInBackground(RsTaskParams... params) {
136 protected void onPostExecute(Bitmap result) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java19 import android.graphics.Bitmap;
74 private Bitmap mOneDot;
75 private Bitmap mTwoDot;
98 private Bitmap getScaledBitmap(int resourceId, float scaled) {
99 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);
100 return Bitmap.createScaledBitmap(bitmap, (int) (bitmap.getWidth() * scaled),
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java19 import android.graphics.Bitmap;
36 * {@link android.graphics.Bitmap} object.
38 * Also see the {@link android.graphics.Bitmap} class, which handles the management and
46 final Bitmap mBitmap;
74 public final Bitmap getBitmap() {
90 * @see android.graphics.Bitmap#setDensity(int)
91 * @see android.graphics.Bitmap#getDensity()
102 * @see android.graphics.Bitmap#setDensity(int)
103 * @see android.graphics.Bitmap#getDensity()
114 * @see android.graphics.Bitmap#setDensit
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaDescriptionCompat.java18 import android.graphics.Bitmap;
67 private final Bitmap mIcon;
87 CharSequence description, Bitmap icon, Uri iconUri, Bundle extras, Uri mediaUri) {
154 public Bitmap getIconBitmap() {
335 private Bitmap mIcon;
394 * @param icon A {@link Bitmap} icon suitable for display to the user or
398 public Builder setIconBitmap(@Nullable Bitmap icon) {
/frameworks/support/v4/java/android/support/v4/print/
H A DPrintHelper.java20 import android.graphics.Bitmap;
106 public void printBitmap(String jobName, Bitmap bitmap, OnPrintFinishCallback callback);
146 public void printBitmap(String jobName, Bitmap bitmap, OnPrintFinishCallback callback) {
196 public void printBitmap(String jobName, Bitmap bitmap,
358 public void printBitmap(String jobName, Bitmap bitmap) {
369 public void printBitmap(String jobName, Bitmap bitmap, OnPrintFinishCallback callback) {
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java23 import android.graphics.Bitmap;
62 Bitmap mBitmap;
216 * (usually a {@link android.graphics.Bitmap}); copying to or from the
217 * original source Bitmap will cause a synchronization rather than a full
219 * and the source Bitmap.
378 private void setBitmap(Bitmap b) {
632 private void validateBitmapFormat(Bitmap b) {
633 Bitmap.Config bc = b.getConfig();
635 throw new RSIllegalArgumentException("Bitmap has an unsupported format for this operation");
681 private void validateBitmapSize(Bitmap
[all...]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java24 import android.graphics.Bitmap;
153 Bitmap mBitmapOut1;
154 Bitmap mBitmapOut2;
209 mBitmapOut1 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888);
210 mBitmapOut2 = Bitmap.createBitmap(1920, 1080, Bitmap.Config.ARGB_8888);
217 mBitmapOut1 = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888);
218 mBitmapOut2 = Bitmap
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java25 import android.graphics.Bitmap;
300 final Bitmap.Config c = icon.getOpacity() != PixelFormat.OPAQUE ?
301 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
302 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c);
319 final Bitmap.Config c = Bitmap.Config.ARGB_8888;
320 final Bitmap thumb = Bitmap
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java39 import android.graphics.Bitmap;
112 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache =
113 new HashMap<Object, Map<String, SoftReference<Bitmap>>>();
117 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache =
118 new HashMap<String, SoftReference<Bitmap>>();
646 * @return the cached Bitmap or null if not found.
648 public static Bitmap getCachedBitmap(String value, Object projectKey) {
650 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey);
652 SoftReference<Bitmap> ref = map.get(value);
658 SoftReference<Bitmap> re
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java21 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 DDisplayListCanvas.java21 import android.graphics.Bitmap;
30 * Bitmap objects that it draws, preventing the backing memory of Bitmaps from being freed while
116 public void setBitmap(Bitmap bitmap) {
256 protected void throwIfCannotDraw(Bitmap bitmap) {
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java24 import android.graphics.Bitmap;
165 Bitmap bitmap;
191 Bitmap bitmap;
214 private Bitmap loadAndPrintDpi(int id, boolean scale) {
215 Bitmap bitmap;
227 private Bitmap mBitmap;
229 public ScaledBitmapView(Context context, Bitmap bitmap) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java21 import android.graphics.Bitmap;
403 * Convert a TS 131.102 image instance of code scheme '11' into Bitmap
408 public static Bitmap parseToBnW(byte[] data, int length){
431 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
443 * a TS 131.102 image instance of code scheme '11' into color Bitmap
450 public static Bitmap parseToRGB(byte[] data, int length,
474 return Bitmap.createBitmap(resultArray, width, height,
475 Bitmap.Config.RGB_565);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java29 import android.graphics.Bitmap;
274 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
305 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
613 private static Bitmap getMiniThumbFromFile(
615 Bitmap bitmap = null;
670 * @param options this is only used for MINI_KIND when decoding the Bitmap
673 * @return Bitmap bitmap of specified thumbnail kind
675 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
677 Bitmap bitmap = null;
863 * Retrieves an image for the given url as a {@link Bitmap}
[all...]
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java22 import android.graphics.Bitmap;
117 private Bitmap mBitmap;
126 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
156 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]);
163 private void saveVectorDrawableIntoPNG(Bitmap bitmap, int[] resIds, int index, int[] stateSet)
185 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
227 private void compareImages(Bitmap ideal, Bitmap given, String filename) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java24 import android.graphics.Bitmap;
238 public void setBitmap(Bitmap bitmap) {
244 public Bitmap getBitmap() {
246 return (result instanceof Bitmap) ? (Bitmap)result : null;
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java38 import android.graphics.Bitmap;
70 private Bitmap mBitmap;
132 mBitmap = Bitmap.createBitmap(mWidth, mHeight,
134 ? Bitmap.Config.RGB_565
135 : Bitmap.Config.ARGB_8888);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathsActivity.java21 import android.graphics.Bitmap;
41 private final Bitmap mBitmap1;
49 private final Bitmap mBitmap;
100 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ALPHA_8);
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsIntent.java23 import android.graphics.Bitmap;
93 * provide a description, an icon {@link Bitmap} and a {@link PendingIntent} for the button.
101 * provide an ID, a description, an icon {@link Bitmap} for each item. They may also provide a
115 * Key that specifies the {@link Bitmap} to be used as the image source for the action button.
307 * @param icon The icon {@link Bitmap}
309 public Builder setCloseButtonIcon(@NonNull Bitmap icon) {
352 * {@link CustomTabsIntent.Builder#addToolbarItem(int, Bitmap, String, PendingIntent)}
360 * @see CustomTabsIntent.Builder#addToolbarItem(int, Bitmap, String, PendingIntent)
362 public Builder setActionButton(@NonNull Bitmap icon, @NonNull String description,
378 * Bitmap, Strin
[all...]
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DPreferenceDialogFragment.java25 import android.graphics.Bitmap;
98 final Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(),
99 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
111 final Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceDialogFragmentCompat.java22 import android.graphics.Bitmap;
97 final Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(),
98 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
110 final Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON);

Completed in 1093 milliseconds

1234567891011>>