OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getAllocationByteCount
(Results
1 - 25
of
28
) sorted by null
1
2
/frameworks/support/compat/src/main/java/androidx/core/graphics/
BitmapCompat.java
47
public static int
getAllocationByteCount
(@NonNull Bitmap bitmap) {
49
return bitmap.
getAllocationByteCount
();
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
WideGamutBitmapVerifier.java
27
ByteBuffer dst = ByteBuffer.allocateDirect(bitmap.
getAllocationByteCount
());
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
AlbumArtCache.java
66
return BitmapCompat.
getAllocationByteCount
(value[BIG_BITMAP_INDEX])
67
+ BitmapCompat.
getAllocationByteCount
(value[ICON_BITMAP_INDEX]);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
ImageLoader.java
97
return BitmapCompat.
getAllocationByteCount
(value);
/external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java
72
return bitmap.
getAllocationByteCount
();
/frameworks/base/libs/hwui/hwui/
Bitmap.h
80
size_t
getAllocationByteCount
() const;
Bitmap.cpp
267
size_t Bitmap::
getAllocationByteCount
() const {
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DecodedImageResource.java
113
return mBitmap.
getAllocationByteCount
();
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java
532
int alloc = mBitmap.
getAllocationByteCount
();
538
assertEquals(mBitmap.
getAllocationByteCount
(), alloc);
543
assertEquals(mBitmap.
getAllocationByteCount
(), alloc);
667
int alloc = mBitmap.
getAllocationByteCount
();
671
assertEquals(mBitmap.
getAllocationByteCount
(), alloc);
787
int alloc = mBitmap.
getAllocationByteCount
();
791
assertEquals(mBitmap.
getAllocationByteCount
(), alloc);
812
int alloc = mBitmap.
getAllocationByteCount
();
816
assertEquals(mBitmap.
getAllocationByteCount
(), alloc);
[
all
...]
BitmapFactoryTest.java
387
assertEquals(originalSize, start.
getAllocationByteCount
());
395
assertEquals(originalSize, pass.
getAllocationByteCount
());
484
assertEquals(originalSize, original.
getAllocationByteCount
());
491
assertEquals(originalSize, reduced.
getAllocationByteCount
());
573
assertFalse(purgeableBitmap.
getAllocationByteCount
() == 0);
[
all
...]
ImageDecoderTest.java
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
535
return byteCount <= candidate.
getAllocationByteCount
();
616
// From KitKat onward use
getAllocationByteCount
() as allocated bytes can potentially be
619
return bitmap.
getAllocationByteCount
();
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
535
return byteCount <= candidate.
getAllocationByteCount
();
616
// From KitKat onward use
getAllocationByteCount
() as allocated bytes can potentially be
619
return bitmap.
getAllocationByteCount
();
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java
535
return byteCount <= candidate.
getAllocationByteCount
();
616
// From KitKat onward use
getAllocationByteCount
() as allocated bytes can potentially be
619
return bitmap.
getAllocationByteCount
();
/frameworks/base/core/jni/android/graphics/
Bitmap.cpp
57
mAllocationSize = mBitmap->
getAllocationByteCount
();
106
size_t
getAllocationByteCount
() const {
108
return mBitmap->
getAllocationByteCount
();
868
if (requestedSize > bitmap->
getAllocationByteCount
()) {
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
TextureViewTest.java
188
ByteBuffer buffer = ByteBuffer.allocate(dstBitmap.
getAllocationByteCount
());
PixelCopyTest.java
449
ByteBuffer dst = ByteBuffer.allocateDirect(bitmap.
getAllocationByteCount
());
[
all
...]
/frameworks/base/graphics/java/android/graphics/
Bitmap.java
139
long nativeSize = NATIVE_ALLOCATION_SIZE +
getAllocationByteCount
();
226
* while {@link #
getAllocationByteCount
()} will reflect that of the initial
[
all
...]
/frameworks/base/graphics/java/android/graphics/drawable/
Icon.java
437
getBitmap().
getAllocationByteCount
() >= MIN_ASHMEM_ICON_SIZE) {
[
all
...]
/frameworks/base/core/java/android/widget/
RemoteViews.java
[
all
...]
/frameworks/base/core/java/android/app/
Notification.java
[
all
...]
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/27/
android.jar
/prebuilts/sdk/28/
android.jar
Completed in 1491 milliseconds
1
2