Home
last modified time | relevance | path

Searched refs:isLowRam (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DProperties.h338 static bool isLowRam; variable
357 static void setIsLowRam(bool isLowRam) { Properties::isLowRam = isLowRam; } in setIsLowRam() argument
DMemoryPolicy.cpp66 if (Properties::isLowRam) { in loadMemoryPolicy()
DProperties.cpp96 bool Properties::isLowRam = false; member in android::uirenderer::Properties
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageResolver.java89 return mImageCache != null && !isLowRam(); in hasCache()
92 private boolean isLowRam() { in isLowRam() method in NotificationInlineImageResolver
106 return mContext.getResources().getDimensionPixelSize(isLowRam() in getMaxImageWidth()
113 return mContext.getResources().getDimensionPixelSize(isLowRam() in getMaxImageHeight()
DBigPictureIconManager.kt210 private fun isLowRam(): Boolean { in <lambda>() method in com.android.systemui.statusbar.notification.row.BigPictureIconManager
216 if (isLowRam()) { in <lambda>()
225 if (isLowRam()) { in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DBigPictureNotificationImageView.java69 boolean isLowRam = ActivityManager.isLowRamDeviceStatic(); in BigPictureNotificationImageView()
71 isLowRam ? R.dimen.notification_big_picture_max_width_low_ram in BigPictureNotificationImageView()
74 isLowRam ? R.dimen.notification_big_picture_max_height_low_ram in BigPictureNotificationImageView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java378 boolean isLowRam = ActivityManager.isLowRamDeviceStatic(); in getRequiredThumbnailSize()
379 int thumbnailIconHeight = mContext.getResources().getDimensionPixelSize(isLowRam in getRequiredThumbnailSize()
382 int thumbnailIconWidth = mContext.getResources().getDimensionPixelSize(isLowRam in getRequiredThumbnailSize()
/frameworks/base/core/java/android/app/
DNotification.java7516 boolean isLowRam = ActivityManager.isLowRamDeviceStatic(); in reduceImageSizes()
7524 isLowRam ? R.dimen.notification_small_icon_size_low_ram in reduceImageSizes()
7532 int maxSize = resources.getDimensionPixelSize(isLowRam in reduceImageSizes()
7542 reduceImageSizesForRemoteView(contentView, context, isLowRam); in reduceImageSizes()
7543 reduceImageSizesForRemoteView(headsUpContentView, context, isLowRam); in reduceImageSizes()
7544 reduceImageSizesForRemoteView(bigContentView, context, isLowRam); in reduceImageSizes()
7549 boolean isLowRam) { in reduceImageSizesForRemoteView() argument
7552 int maxWidth = resources.getDimensionPixelSize(isLowRam in reduceImageSizesForRemoteView()
7555 int maxHeight = resources.getDimensionPixelSize(isLowRam in reduceImageSizesForRemoteView()
8226 boolean isLowRam = ActivityManager.isLowRamDeviceStatic(); in reduceImageSizes()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp275 jboolean isLowRam) { in android_view_ThreadedRenderer_setIsLowRam() argument
276 Properties::setIsLowRam(isLowRam); in android_view_ThreadedRenderer_setIsLowRam()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1517 private static native void nSetIsLowRam(boolean isLowRam); in nSetIsLowRam() argument