/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsConfiguration.java | 78 public boolean isLowRamDevice; field in RecentsConfiguration 94 isLowRamDevice = ActivityManager.isLowRamDeviceStatic(); in RecentsConfiguration() 95 dragToSplitEnabled = !isLowRamDevice; in RecentsConfiguration()
|
D | RecentsImpl.java | 889 final boolean isLowRamDevice = LegacyRecentsImpl.getConfiguration().isLowRamDevice; in getThumbnailTransitionActivityOptions() 911 false /* scaleUp */, future, isLowRamDevice ? null : mResetToggleFlagListener), in getThumbnailTransitionActivityOptions()
|
D | LegacyRecentsImpl.java | 446 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onAppTransitionFinished()
|
D | RecentsActivity.java | 337 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in onCreate()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackAnimationHelper.java | 151 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()
|
D | TaskStackViewTouchHandler.java | 300 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()
|
D | TaskStackLayoutAlgorithm.java | 497 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 …]
|
D | RecentsView.java | 185 .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) {
|
D | TaskStackViewScroller.java | 92 if (LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in TaskStackViewScroller() 209 …if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScr… in scrollToClosestTask()
|
D | RecentsTransitionComposer.java | 73 if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice && taskView.getTask() != in composeAnimationSpec()
|
D | TaskStackView.java | 1570 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()
|
D | TaskView.java | 414 … if (getVisibility() != View.VISIBLE || LegacyRecentsImpl.getConfiguration().isLowRamDevice) { in shouldClipViewInStack()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | HighResThumbnailLoader.java | 62 boolean isLowRamDevice) { in HighResThumbnailLoader() argument 67 mIsLowRamDevice = isLowRamDevice; in HighResThumbnailLoader()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotController.java | 292 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/ |
D | IAudioFlinger.cpp | 764 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()
|
D | AudioSystem.cpp | 1110 status_t AudioSystem::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) in setLowRamDevice() argument 1114 return af->setLowRamDevice(isLowRamDevice, totalMemory); in setLowRamDevice()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.h | 255 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override; 925 bool isLowRamDevice() const { return mIsLowRamDevice; } in isLowRamDevice() function
|
D | AudioFlinger.cpp | 2213 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/ |
D | NotificationManagerServiceTest.java | 2411 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/ |
D | IAudioFlinger.h | 482 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
|
D | AudioSystem.h | 304 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 1234 public static native int setLowRamDevice(boolean isLowRamDevice, long totalMemory); in setLowRamDevice() argument
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 524 boolean isLowRam = am.isLowRamDevice(); in fixNotification()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 284 public static boolean isLowRamDevice(Instrumentation instrumentation) throws JSONException { in isLowRamDevice() method in ShortcutManagerTestUtils
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 759 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()
|