Home
last modified time | relevance | path

Searched refs:isLowRamDevice (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsConfiguration.java78 public boolean isLowRamDevice; field in RecentsConfiguration
94 isLowRamDevice = ActivityManager.isLowRamDeviceStatic(); in RecentsConfiguration()
95 dragToSplitEnabled = !isLowRamDevice; in RecentsConfiguration()
DRecentsImpl.java889 final boolean isLowRamDevice = LegacyRecentsImpl.getConfiguration().isLowRamDevice; in getThumbnailTransitionActivityOptions()
911 false /* scaleUp */, future, isLowRamDevice ? null : mResetToggleFlagListener), in getThumbnailTransitionActivityOptions()
DLegacyRecentsImpl.java446 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onAppTransitionFinished()
DRecentsActivity.java337 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onCreate()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackAnimationHelper.java151 final boolean isLowRamDevice = LegacyRecentsImpl.getConfiguration().isLowRamDevice; in prepareForEnterAnimation()
152 if (isLowRamDevice && launchState.launchedFromApp && !launchState.launchedViaDockGesture) { in prepareForEnterAnimation()
171 } else if (isLowRamDevice && i >= taskViews.size() - in prepareForEnterAnimation()
191 if (isLowRamDevice) { in prepareForEnterAnimation()
230 final boolean isLowRamDevice = LegacyRecentsImpl.getConfiguration().isLowRamDevice; in startEnterAnimation()
240 if (launchState.launchedFromApp && !launchState.launchedViaDockGesture && isLowRamDevice) { in startEnterAnimation()
275 if (isLowRamDevice) { in startEnterAnimation()
345 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in startExitToHomeAnimation()
359 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in startExitToHomeAnimation()
DTaskStackViewTouchHandler.java300 float maxOverscroll = LegacyRecentsImpl.getConfiguration().isLowRamDevice in handleTouchEvent()
343 !LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in handleTouchEvent()
356 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in handleTouchEvent()
497 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onBeginDrag()
517 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onBeginDrag()
524 && !LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onBeginDrag()
558 !LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in updateSwipeProgress()
DTaskStackLayoutAlgorithm.java497 mMinScrollP = LegacyRecentsImpl.getConfiguration().isLowRamDevice in update()
500 mMaxScrollP = LegacyRecentsImpl.getConfiguration().isLowRamDevice in update()
511 } else if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in update()
623 … if (targetStackScroll == lastStackScroll || LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in updateFocusStateOnScroll()
712 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in computeStackVisibilityReport()
789 } else if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in getStackTransform()
971 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice || overrideP == null) { in getStackScrollForTask()
990 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in getStackScrollForTaskAtInitialOffset()
1008 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in getDeltaPForY()
1021 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in getYForDeltaP()
[all …]
DRecentsView.java185 .isLowRamDevice in RecentsView()
489 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice
541 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) {
552 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) {
743 (LegacyRecentsImpl.getConfiguration().isLowRamDevice ? 1 : -0.25f));
782 * (LegacyRecentsImpl.getConfiguration().isLowRamDevice ? 1 : -0.25f));
898 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) {
966 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice) {
991 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice) {
DTaskStackViewScroller.java92 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in TaskStackViewScroller()
209 …if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScr… in scrollToClosestTask()
DRecentsTransitionComposer.java73 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice && taskView.getTask() != in composeAnimationSpec()
DTaskStackView.java1570 useGridLayout() || LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in bindTaskView()
1649 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onStackScrollChanged()
1836 if (mStack.getTaskCount() > 0 && LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onBusEvent()
2198 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in updateStackActionButtonVisibility()
DTaskView.java414 … if (getVisibility() != View.VISIBLE || LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in shouldClipViewInStack()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java62 boolean isLowRamDevice) { in HighResThumbnailLoader() argument
67 mIsLowRamDevice = isLowRamDevice; in HighResThumbnailLoader()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java292 final boolean isLowRamDevice = ActivityManager.isLowRamDeviceStatic(); in snapshotTask()
293 final float scaleFraction = isLowRamDevice in snapshotTask()
316 getInsets(mainWindow), isLowRamDevice /* reduced */, scaleFraction /* scale */, in snapshotTask()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp764 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override in setLowRamDevice() argument
770 ?: data.writeInt32((int) isLowRamDevice) in setLowRamDevice()
1444 int32_t isLowRamDevice; in onTransact() local
1447 data.readInt32(&isLowRamDevice) ?: in onTransact()
1449 setLowRamDevice(isLowRamDevice != 0, totalMemory); in onTransact()
DAudioSystem.cpp1110 status_t AudioSystem::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) in setLowRamDevice() argument
1114 return af->setLowRamDevice(isLowRamDevice, totalMemory); in setLowRamDevice()
/frameworks/av/services/audioflinger/
DAudioFlinger.h255 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
925 bool isLowRamDevice() const { return mIsLowRamDevice; } in isLowRamDevice() function
DAudioFlinger.cpp2213 status_t AudioFlinger::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) in setLowRamDevice() argument
2223 mIsLowRamDevice = isLowRamDevice; in setLowRamDevice()
2231 isLowRamDevice ? kMinimumClientSharedHeapSizeBytes in setLowRamDevice()
2246 (isLowRamDevice ? "true" : "false"), in setLowRamDevice()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java2411 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetListenerAccess_doesNothingOnLowRam()
2425 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetAssistantAccess_doesNothingOnLowRam()
2445 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetDndAccess_doesNothingOnLowRam()
2460 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetListenerAccess_doesNothingOnLowRam_exceptWatch()
2476 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetAssistantAccess_doesNothingOnLowRam_exceptWatch()
2497 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetDndAccess_doesNothingOnLowRam_exceptWatch()
3719 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testCanUseManagedServicesLowRamNoWatchNullPkg()
3730 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testCanUseManagedServicesLowRamNoWatchValidPkg()
3741 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testCanUseManagedServicesLowRamNoWatchNoValidPkg()
3752 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testCanUseManagedServicesLowRamWatchNoValidPkg()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h482 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
DAudioSystem.h304 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
/frameworks/base/media/java/android/media/
DAudioSystem.java1234 public static native int setLowRamDevice(boolean isLowRamDevice, long totalMemory); in setLowRamDevice() argument
/frameworks/base/core/java/android/app/
DNotificationManager.java524 boolean isLowRam = am.isLowRamDevice(); in fixNotification()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java284 public static boolean isLowRamDevice(Instrumentation instrumentation) throws JSONException { in isLowRamDevice() method in ShortcutManagerTestUtils
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp759 JNIEnv *env, jobject clazz, jboolean isLowRamDevice, jlong totalMemory) in android_media_AudioSystem_setLowRamDevice() argument
761 return (jint) AudioSystem::setLowRamDevice((bool) isLowRamDevice, (int64_t) totalMemory); in android_media_AudioSystem_setLowRamDevice()

12