HomeSort by relevance Sort by last modified time
    Searched refs:bitmaps (Results 1 - 25 of 54) sorted by null

1 2 3

  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
AlbumArtCache.java 96 Bitmap[] bitmaps; local
102 bitmaps = new Bitmap[] {bitmap, icon};
103 mCache.put(artUrl, bitmaps);
109 return bitmaps;
113 protected void onPostExecute(Bitmap[] bitmaps) {
114 if (bitmaps == null) {
115 listener.onError(artUrl, new IllegalArgumentException("got null bitmaps"));
118 bitmaps[BIG_BITMAP_INDEX], bitmaps[ICON_BITMAP_INDEX]);
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
AlbumArtCache.java 98 Bitmap[] bitmaps; local
104 bitmaps = new Bitmap[] {bitmap, icon};
105 mCache.put(artUrl, bitmaps);
110 return bitmaps;
114 protected void onPostExecute(Bitmap[] bitmaps) {
115 if (bitmaps == null) {
116 listener.onError(artUrl, new IllegalArgumentException("got null bitmaps"));
119 bitmaps[BIG_BITMAP_INDEX], bitmaps[ICON_BITMAP_INDEX]);
  /packages/apps/Music/src/com/android/music/utils/
AlbumArtCache.java 93 Bitmap[] bitmaps; local
99 bitmaps = new Bitmap[] {bitmap, icon};
100 mCache.put(artUrl, bitmaps);
106 return bitmaps;
110 protected void onPostExecute(Bitmap[] bitmaps) {
111 if (bitmaps == null) {
112 listener.onError(artUrl, new IllegalArgumentException("got null bitmaps"));
115 artUrl, bitmaps[BIG_BITMAP_INDEX], bitmaps[ICON_BITMAP_INDEX]);
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetBind.java 43 // This is dangerous because the caller could set bitmaps on
52 final ArrayList<Bitmap> bitmaps = local
55 if (appWidgetIds == null || bitmaps == null
56 || appWidgetIds.length != bitmaps.size()) {
66 helper.setPhoto(appWidgetId, bitmaps.get(i));
  /external/skia/tests/
CanvasStateTest.cpp 101 SkBitmap bitmaps[2]; local
103 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
107 SkCanvas canvas(bitmaps[j]);
145 // now we memcmp the two bitmaps
146 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize());
147 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
148 bitmaps[1].getPixels(),
149 bitmaps[0].computeByteSize()));
208 SkBitmap bitmaps[2] local
    [all...]
  /external/skqp/tests/
CanvasStateTest.cpp 101 SkBitmap bitmaps[2]; local
103 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
107 SkCanvas canvas(bitmaps[j]);
145 // now we memcmp the two bitmaps
146 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize());
147 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
148 bitmaps[1].getPixels(),
149 bitmaps[0].computeByteSize()));
208 SkBitmap bitmaps[2] local
    [all...]
  /external/wayland/cursor/
convert_font.c 126 struct bitmaps { struct
202 handle_bitmaps(struct bitmaps *bitmaps)
204 printf("bitmaps count %d\n", bitmaps->glyph_count);
206 if (bitmaps->glyph_count != extracted_font.count) {
210 printf("format %x\n", bitmaps->format);
212 if (bitmaps->format != 2) {
217 void *bitmaps_start = ((void*) bitmaps) + sizeof(struct bitmaps)
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
sbixBitmapSet.py 28 self.bitmaps = {}
42 # calculate number of bitmaps
46 # ^ -1 because there's one more offset than bitmaps
50 for i in range(self.numBitmaps + 1): # + 1 because there's one more offset than bitmaps
55 # iterate through offset list and slice raw data into bitmaps
59 self.bitmaps[myBitmap.glyphName] = myBitmap
72 if glyphName in self.bitmaps:
74 myBitmap = self.bitmaps[glyphName]
110 if glyphOrder[i] in self.bitmaps:
111 self.bitmaps[glyphOrder[i]].toXML(xmlWriter, ttFont
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue11286.go 7 // Test that pointer bitmaps of types with large scalar tails are
issue7944.go 8 // Liveness bitmaps said b was live at call to g,
  /prebuilts/go/linux-x86/test/fixedbugs/
issue11286.go 7 // Test that pointer bitmaps of types with large scalar tails are
issue7944.go 8 // Liveness bitmaps said b was live at call to g,
  /cts/tests/tests/media/src/android/media/cts/
MediaMetadataRetrieverTest.java 324 List<Bitmap> bitmaps = new ArrayList<>();
326 bitmaps.add(r.getFrameAtTime(testCases[i][0], option));
328 return bitmaps;
336 List<Bitmap> bitmaps = new ArrayList<>();
338 bitmaps.add(r.getFrameAtIndex(testCases[i][0]));
340 return bitmaps;
349 List<Bitmap> bitmaps = new ArrayList<>();
353 bitmaps.add(bitmap);
355 return bitmaps;
372 List<Bitmap> bitmaps = r.getFramesAtIndex(testCases[0][0], testCases.length, params)
398 List<Bitmap> bitmaps = bitmapRetriever.apply(retriever); local
    [all...]
HeifWriterTest.java 275 String inputPath, String outputPath, Bitmap[] bitmaps) {
287 mBitmaps = bitmaps;
456 Bitmap[] bitmaps = config.mBitmaps; local
457 for (int i = 0; i < Math.min(bitmaps.length, actualNumImages); i++) {
459 heifWriter.addBitmap(bitmaps[i]);
460 bitmaps[i].recycle();
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
LruBitmapPool.java 97 // Bitmaps in the pool contain random data that in some cases must be cleared for an image to be rendered
187 private final Set<Bitmap> bitmaps = Collections.synchronizedSet(new HashSet<Bitmap>()); field in class:LruBitmapPool.ThrowingBitmapTracker
191 if (bitmaps.contains(bitmap)) {
195 bitmaps.add(bitmap);
200 if (!bitmaps.contains(bitmap)) {
203 bitmaps.remove(bitmap);
  /frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
TextClassification.java 352 * Returns a list of drawables converted to Bitmaps
355 * @param maxDims The maximum edge length of the resulting bitmaps (in pixels).
358 final List<Bitmap> bitmaps = new ArrayList<>(drawables.size()); local
360 bitmaps.add(drawableToBitmap(drawable, maxDims));
362 return bitmaps;
365 /** Returns a list of drawable wrappers for a list of bitmaps. */
366 private static List<Drawable> bitmapsToDrawables(List<Bitmap> bitmaps) {
367 final List<Drawable> drawables = new ArrayList<>(bitmaps.size());
368 for (Bitmap bitmap : bitmaps) {
  /frameworks/base/media/java/android/media/
MediaMetadataRetriever.java 441 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1, params); local
442 return bitmaps.get(0);
463 List<Bitmap> bitmaps = getFramesAtIndex(frameIndex, 1); local
464 return bitmaps.get(0);
474 * After the bitmaps are returned, you can query the actual parameters that were
475 * used to create the bitmaps from the {@code BitmapParams} argument, for instance
476 * to query the bitmap config used for the bitmaps with {@link BitmapParams#getActualConfig}.
489 * @return An list of Bitmaps containing the requested video frames. The returned
515 * @return An list of Bitmaps containing the requested video frames. The returned
    [all...]
  /frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
HeifWriterTest.java 275 String inputPath, String outputPath, Bitmap[] bitmaps) {
287 mBitmaps = bitmaps;
456 Bitmap[] bitmaps = config.mBitmaps; local
457 for (int i = 0; i < Math.min(bitmaps.length, numImages); i++) {
459 heifWriter.addBitmap(bitmaps[i]);
460 bitmaps[i].recycle();
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 334 HashMap<String, Bitmap> bitmaps = new HashMap<>(); local
337 bitmaps.put(attractions.get(i).name,
362 .bigPicture(bitmaps.get(attraction.name))
392 .setBackground(bitmaps.get(attractions.get(i).name))
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 334 HashMap<String, Bitmap> bitmaps = new HashMap<>(); local
337 bitmaps.put(attractions.get(i).name,
362 .bigPicture(bitmaps.get(attraction.name))
392 .setBackground(bitmaps.get(attractions.get(i).name))
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
UtilityService.java 333 HashMap<String, Bitmap> bitmaps = new HashMap<>(); local
336 bitmaps.put(attractions.get(i).name,
361 .bigPicture(bitmaps.get(attraction.name))
391 .setBackground(bitmaps.get(attractions.get(i).name))
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
plive.go 751 // of live pointer bitmaps.
942 // Compact liveness information by coalescing identical per-call-site bitmaps.
945 // There are actually two lists of bitmaps, one list for the local variables and one
948 // merging duplicates. The argument bitmaps change much less often during
949 // function execution than the local variable bitmaps, so it is possible that
951 // then compact the set of argument bitmaps separately from the set of
952 // local variable bitmaps. As of 2014-04-02, doing this to the godoc binary
953 // is actually a net loss: we save about 50k of argument bitmaps but the new
957 // Linear probing hash table of bitmaps seen so far.
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
plive.go 751 // of live pointer bitmaps.
942 // Compact liveness information by coalescing identical per-call-site bitmaps.
945 // There are actually two lists of bitmaps, one list for the local variables and one
948 // merging duplicates. The argument bitmaps change much less often during
949 // function execution than the local variable bitmaps, so it is possible that
951 // then compact the set of argument bitmaps separately from the set of
952 // local variable bitmaps. As of 2014-04-02, doing this to the godoc binary
953 // is actually a net loss: we save about 50k of argument bitmaps but the new
957 // Linear probing hash table of bitmaps seen so far.
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
RecordingCanvasTests.cpp 747 auto& bitmaps = dl->getBitmapResources(); local
748 EXPECT_EQ(1u, bitmaps.size());
766 auto& bitmaps = dl->getBitmapResources(); local
767 EXPECT_EQ(1u, bitmaps.size());
796 auto& bitmaps = dl->getBitmapResources(); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java 173 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size()); local
181 bitmaps.put(r.info.id, r.picture);
190 final SparseArray<Bitmap> bitmaps = params[0]; local
215 Bitmap picture = bitmaps.get(info.id);
283 }.execute((SparseArray) bitmaps);
    [all...]

Completed in 1207 milliseconds

1 2 3