Searched refs:isLowRamDevice (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/support/compat/src/main/java/androidx/core/app/
H A DActivityManagerCompat.java39 public static boolean isLowRamDevice(@NonNull ActivityManager activityManager) { method in class:ActivityManagerCompat
41 return activityManager.isLowRamDevice();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsConfiguration.java79 public boolean isLowRamDevice; field in class:RecentsConfiguration
95 isLowRamDevice = ActivityManager.isLowRamDeviceStatic();
96 dragToSplitEnabled = !isLowRamDevice;
H A DRecentsImpl.java903 final boolean isLowRamDevice = Recents.getConfiguration().isLowRamDevice;
925 false /* scaleUp */, future, isLowRamDevice ? null : mResetToggleFlagListener),
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DHighResThumbnailLoader.java59 boolean isLowRamDevice) {
64 mIsLowRamDevice = isLowRamDevice;
58 HighResThumbnailLoader(ActivityManagerWrapper activityManager, Looper looper, boolean isLowRamDevice) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackAnimationHelper.java151 final boolean isLowRamDevice = Recents.getConfiguration().isLowRamDevice;
152 if (isLowRamDevice && launchState.launchedFromApp && !launchState.launchedViaDockGesture) {
171 } else if (isLowRamDevice && i >= taskViews.size() -
191 if (isLowRamDevice) {
230 final boolean isLowRamDevice = Recents.getConfiguration().isLowRamDevice;
240 if (launchState.launchedFromApp && !launchState.launchedViaDockGesture && isLowRamDevice) {
275 if (isLowRamDevice) {
345 if (Recents.getConfiguration().isLowRamDevice) {
[all...]
H A DTaskStackViewTouchHandler.java299 float maxOverscroll = Recents.getConfiguration().isLowRamDevice
342 !Recents.getConfiguration().isLowRamDevice) {
355 if (Recents.getConfiguration().isLowRamDevice) {
496 if (Recents.getConfiguration().isLowRamDevice) {
516 if (Recents.getConfiguration().isLowRamDevice) {
523 && !Recents.getConfiguration().isLowRamDevice) {
557 !Recents.getConfiguration().isLowRamDevice) {
H A DTaskStackLayoutAlgorithm.java497 mMinScrollP = Recents.getConfiguration().isLowRamDevice
500 mMaxScrollP = Recents.getConfiguration().isLowRamDevice
511 } else if (Recents.getConfiguration().isLowRamDevice) {
623 if (targetStackScroll == lastStackScroll || Recents.getConfiguration().isLowRamDevice) {
712 if (Recents.getConfiguration().isLowRamDevice) {
789 } else if (Recents.getConfiguration().isLowRamDevice) {
969 if (Recents.getConfiguration().isLowRamDevice || overrideP == null) {
988 if (Recents.getConfiguration().isLowRamDevice) {
1006 if (Recents.getConfiguration().isLowRamDevice) {
1019 if (Recents.getConfiguration().isLowRamDevice) {
[all...]
H A DRecentsView.java186 .isLowRamDevice
491 if (Recents.getConfiguration().isLowRamDevice
543 if (Recents.getConfiguration().isLowRamDevice) {
554 if (Recents.getConfiguration().isLowRamDevice) {
744 (Recents.getConfiguration().isLowRamDevice ? 1 : -0.25f));
783 * (Recents.getConfiguration().isLowRamDevice ? 1 : -0.25f));
899 if (Recents.getConfiguration().isLowRamDevice) {
967 if (!Recents.getConfiguration().isLowRamDevice) {
992 if (!Recents.getConfiguration().isLowRamDevice) {
H A DTaskStackViewScroller.java92 if (Recents.getConfiguration().isLowRamDevice) {
209 if (!Recents.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScrollP
H A DRecentsTransitionComposer.java74 if (!Recents.getConfiguration().isLowRamDevice && taskView.getTask() !=
H A DTaskStackView.java1568 useGridLayout() || Recents.getConfiguration().isLowRamDevice) {
1647 if (Recents.getConfiguration().isLowRamDevice) {
1834 if (mStack.getTaskCount() > 0 && Recents.getConfiguration().isLowRamDevice) {
2196 if (Recents.getConfiguration().isLowRamDevice) {
H A DTaskView.java415 if (getVisibility() != View.VISIBLE || Recents.getConfiguration().isLowRamDevice) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotController.java263 final boolean isLowRamDevice = ActivityManager.isLowRamDeviceStatic();
264 final float scaleFraction = isLowRamDevice ? REDUCED_SCALE : 1f;
278 getInsets(mainWindow), isLowRamDevice /* reduced */, scaleFraction /* scale */,
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java1933 when(mActivityManager.isLowRamDevice()).thenReturn(true);
1947 when(mActivityManager.isLowRamDevice()).thenReturn(true);
1961 when(mActivityManager.isLowRamDevice()).thenReturn(true);
1976 when(mActivityManager.isLowRamDevice()).thenReturn(true);
1997 when(mActivityManager.isLowRamDevice()).thenReturn(true);
2018 when(mActivityManager.isLowRamDevice()).thenReturn(true);
2987 when(mActivityManager.isLowRamDevice()).thenReturn(true);
2998 when(mActivityManager.isLowRamDevice()).thenReturn(true);
3009 when(mActivityManager.isLowRamDevice()).thenReturn(true);
3020 when(mActivityManager.isLowRamDevice())
[all...]
/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp714 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override
720 ?: data.writeInt32((int) isLowRamDevice)
1340 int32_t isLowRamDevice; local
1343 data.readInt32(&isLowRamDevice) ?:
1345 setLowRamDevice(isLowRamDevice != 0, totalMemory);
H A DAudioSystem.cpp1063 status_t AudioSystem::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) argument
1067 return af->setLowRamDevice(isLowRamDevice, totalMemory);
/frameworks/av/include/media/
H A DAudioSystem.h286 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
H A DIAudioFlinger.h459 // android.app.ActivityManager.isLowRamDevice(). The totalMemory parameter
461 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
/frameworks/av/media/libaudioclient/include/media/
H A DAudioSystem.h286 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
H A DIAudioFlinger.h459 // android.app.ActivityManager.isLowRamDevice(). The totalMemory parameter
461 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DRoomDatabase.java390 if (manager != null && !ActivityManagerCompat.isLowRamDevice(manager)) {
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h227 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
834 bool isLowRamDevice() const { return mIsLowRamDevice; } function in class:android::AudioFlinger
H A DAudioFlinger.cpp1885 status_t AudioFlinger::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) argument
1895 mIsLowRamDevice = isLowRamDevice;
1898 // see ActivityManager.isLowRamDevice() and ActivityManager.getMemoryInfo().
1903 isLowRamDevice ? kMinimumClientSharedHeapSizeBytes
1917 ALOGD("isLowRamDevice:%s totalMemory:%lld mClientSharedHeapSize:%zu",
1918 (isLowRamDevice ? "true" : "false"),
/frameworks/base/media/java/android/media/
H A DAudioSystem.java806 public static native int setLowRamDevice(boolean isLowRamDevice, long totalMemory); argument
/frameworks/base/core/java/android/app/
H A DNotificationManager.java401 boolean isLowRam = am.isLowRamDevice();

Completed in 340 milliseconds

12