Home
last modified time | relevance | path

Searched refs:onTop (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardOcclusionRepository.kt77 onTop: Boolean, in setShowWhenLockedActivityInfo()
82 isOnTop = onTop, in setShowWhenLockedActivityInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DFromDreamingTransitionInteractorTest.kt112 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = true) in testTransitionToOccluded_ifDreamEnds_occludingActivityOnTop()
137 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = true) in testDoesNotTransitionToOccluded_occludingActivityOnTop_whileStillDreaming()
148 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = true) in testTransitionsToLockscreen_whenOccludingActivityEnds()
158 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = false) in testTransitionsToLockscreen_whenOccludingActivityEnds()
DFromOccludedTransitionInteractorTest.kt85 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = true) in setup()
99 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = false) in testShowWhenLockedActivity_noLongerOnTop_transitionsToLockscreen()
118 kosmos.keyguardOcclusionRepository.setShowWhenLockedActivityInfo(onTop = false) in testShowWhenLockedActivity_noLongerOnTop_transitionsToGlanceableHub_ifIdleOnCommunal()
/frameworks/base/core/java/android/app/servertransaction/
DTopResumedActivityChangeItem.java68 boolean onTop) { in obtain() argument
75 instance.mOnTop = onTop; in obtain()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceView.java71 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
78 public boolean setZOrderedOnTop(boolean onTop, boolean allowDynamicChange) { in setZOrderedOnTop() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java759 public void animateOverScrollToAmount(float targetAmount, final boolean onTop, in animateOverScrollToAmount() argument
761 final float startOverScrollAmount = mHostLayout.getCurrentOverScrollAmount(onTop); in animateOverScrollToAmount()
765 cancelOverScrollAnimators(onTop); in animateOverScrollToAmount()
774 currentOverScroll, onTop, false /* animate */, false /* cancelAnimators */, in animateOverScrollToAmount()
782 if (onTop) { in animateOverScrollToAmount()
790 if (onTop) { in animateOverScrollToAmount()
797 public void cancelOverScrollAnimators(boolean onTop) { in cancelOverScrollAnimators() argument
798 ValueAnimator currentAnimator = onTop ? mTopOverScrollAnimator : mBottomOverScrollAnimator; in cancelOverScrollAnimators()
DNotificationStackScrollLayout.java2197 public void setOverScrolledPixels(float numPixels, boolean onTop, boolean animate) {
2198 setOverScrollAmount(numPixels * getRubberBandFactor(onTop), onTop, animate, true);
2210 public void setOverScrollAmount(float amount, boolean onTop, boolean animate) {
2211 setOverScrollAmount(amount, onTop, animate, true);
2222 public void setOverScrollAmount(float amount, boolean onTop, boolean animate,
2224 setOverScrollAmount(amount, onTop, animate, cancelAnimators, isRubberbanded(onTop));
2237 public void setOverScrollAmount(float amount, boolean onTop, boolean animate,
2240 mStateAnimator.cancelOverScrollAnimators(onTop);
2242 setOverScrollAmountInternal(amount, onTop, animate, isRubberbanded);
2245 private void setOverScrollAmountInternal(float amount, boolean onTop, boolean animate,
[all …]
DAmbientState.java394 public void setOverScrollAmount(float amount, boolean onTop) { in setOverScrollAmount() argument
395 if (onTop) { in setOverScrollAmount()
DNotificationStackScrollLayoutController.java1184 public void setOverScrollAmount(float amount, boolean onTop, boolean animate, in setOverScrollAmount() argument
1186 mView.setOverScrollAmount(amount, onTop, animate, cancelAnimators); in setOverScrollAmount()
1189 public void setOverScrollAmount(float amount, boolean onTop, boolean animate) { in setOverScrollAmount() argument
1190 mView.setOverScrollAmount(amount, onTop, animate); in setOverScrollAmount()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java869 Task getOrCreateRootTask(int windowingMode, int activityType, boolean onTop) {
870 return getOrCreateRootTask(windowingMode, activityType, onTop, null /* candidateTask */,
892 Task getOrCreateRootTask(int windowingMode, int activityType, boolean onTop,
905 final int position = onTop ? POSITION_TOP : POSITION_BOTTOM;
919 candidateTask.reparent(this, onTop);
933 .setOnTop(onTop)
949 @Nullable LaunchParams launchParams, int launchFlags, int activityType, boolean onTop) {
963 return getOrCreateRootTask(windowingMode, activityType, onTop, candidateTask, sourceTask,
972 Task createRootTask(int windowingMode, int activityType, boolean onTop) {
973 return createRootTask(windowingMode, activityType, onTop, null /* activityOptions */);
[all …]
DRootWindowContainer.java1993 boolean onTop) { in moveRootTaskToTaskDisplayArea() argument
2015 rootTask.reparent(taskDisplayArea, onTop); in moveRootTaskToTaskDisplayArea()
2030 void moveRootTaskToDisplay(int rootTaskId, int displayId, boolean onTop) { in moveRootTaskToDisplay() argument
2038 onTop); in moveRootTaskToDisplay()
3042 @Nullable Task candidateTask, boolean onTop) { in getOrCreateRootTask() argument
3043 return getOrCreateRootTask(r, options, candidateTask, null /* sourceTask */, onTop, in getOrCreateRootTask()
3062 @Nullable Task sourceTask, boolean onTop, in getOrCreateRootTask() argument
3079 MATCH_ATTACHED_TASK_OR_RECENT_TASKS_AND_RESTORE, options, onTop); in getOrCreateRootTask()
3111 sourceTask, launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
3153 launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromGlanceableHubTransitionInteractor.kt152 .filterRelevantKeyguardStateAnd { onTop -> onTop } in <lambda>() method
DFromOccludedTransitionInteractor.kt92 .filterRelevantKeyguardStateAnd { onTop -> !onTop } in <lambda>() method
DFromDreamingTransitionInteractor.kt175 .filterRelevantKeyguardStateAnd { onTop -> !onTop } in <lambda>() method
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java748 int windowingMode, int activityType, boolean onTop, boolean twoLevelTask) { in createTaskWithActivity() argument
750 onTop, true /* createActivity */, twoLevelTask); in createTaskWithActivity()
770 boolean onTop, boolean createActivity, boolean twoLevelTask) { in createTask() argument
775 .setOnTop(onTop) in createTask()
1387 ActivityBuilder setOnTop(boolean onTop) { in setOnTop() argument
1388 mOnTop = onTop; in setOnTop()
1685 TaskBuilder setOnTop(boolean onTop) { in setOnTop() argument
1686 mOnTop = onTop; in setOnTop()
1869 public Task createTaskToPrimary(boolean onTop) { in createTaskToPrimary() argument
1871 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_STANDARD, onTop); in createTaskToPrimary()
[all …]
DRootTaskTests.java1023 TaskDisplayArea taskDisplayArea, int windowingMode, int activityType, boolean onTop) { in createTaskForShouldBeVisibleTest() argument
1025 windowingMode, activityType, onTop, false /* twoLevelTask */); in createTaskForShouldBeVisibleTest()
1030 int windowingMode, int activityType, boolean onTop, boolean twoLevelTask) { in createTaskForShouldBeVisibleTest() argument
1035 mDefaultTaskDisplayArea.positionChildAt(onTop ? POSITION_TOP : POSITION_BOTTOM, task, in createTaskForShouldBeVisibleTest()
1041 .setOnTop(onTop) in createTaskForShouldBeVisibleTest()
1051 .setOnTop(onTop) in createTaskForShouldBeVisibleTest()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java363 @Nullable WindowContainerToken parent, boolean onTop) { in reparent() argument
366 onTop)); in reparent()
377 public WindowContainerTransaction reorder(@NonNull WindowContainerToken child, boolean onTop) { in reorder() argument
378 return reorder(child, onTop, false /* includingParents */); in reorder()
392 public WindowContainerTransaction reorder(@NonNull WindowContainerToken child, boolean onTop, in reorder() argument
394 mHierarchyOps.add(HierarchyOp.createForReorder(child.asBinder(), onTop, includingParents)); in reorder() local
417 @Nullable int[] activityTypes, boolean onTop, boolean reparentTopOnly) { in reparentTasks() argument
423 onTop, in reparentTasks()
446 @Nullable int[] activityTypes, boolean onTop) { in reparentTasks() argument
447 return reparentTasks(currentParent, newParent, windowingModes, activityTypes, onTop, in reparentTasks()
[all …]
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java344 public boolean setZOrderedOnTop(boolean onTop) { in setZOrderedOnTop() argument
345 return mSurfaceView.setZOrderedOnTop(onTop, /*allowDynamicChange*/ true); in setZOrderedOnTop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java273 public void reorderTaskViewTask(TaskViewTaskController taskView, boolean onTop) { in reorderTaskViewTask() argument
280 wct.reorder(taskView.getTaskInfo().token, onTop /* onTop */); in reorderTaskViewTask() local
282 onTop ? TRANSIT_TO_FRONT : TRANSIT_TO_BACK, wct, taskView, null /* cookie */); in reorderTaskViewTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedView.java407 public void setSurfaceZOrderedOnTop(boolean onTop) { in setSurfaceZOrderedOnTop() argument
411 mTaskView.setZOrderedOnTop(onTop, true /* allowDynamicChange */); in setSurfaceZOrderedOnTop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageTaskListener.java358 void reorderChild(int taskId, boolean onTop, WindowContainerTransaction wct) { in reorderChild() argument
359 ProtoLog.d(WM_SHELL_SPLIT_SCREEN, "reorderChild: task=%d onTop=%b", taskId, onTop); in reorderChild()
363 wct.reorder(mChildrenTaskInfo.get(taskId).token, onTop /* onTop */); in reorderChild() local
/frameworks/base/core/java/android/view/
DSurfaceView.java736 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
740 setZOrderedOnTop(onTop, allowDynamicChange); in setZOrderOnTop()
768 public boolean setZOrderedOnTop(boolean onTop, boolean allowDynamicChange) { in setZOrderedOnTop() argument
770 if (onTop) { in setZOrderedOnTop()
/frameworks/base/media/java/android/media/tv/
DTvView.java283 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
284 if (onTop) { in setZOrderOnTop()
293 mSurfaceView.setZOrderOnTop(onTop); in setZOrderOnTop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java597 public void setSurfaceZOrderedOnTop(boolean onTop) { in setSurfaceZOrderedOnTop() argument
601 mTaskView.setZOrderedOnTop(onTop, true /* allowDynamicChange */); in setSurfaceZOrderedOnTop()
/frameworks/base/core/java/android/app/
DActivityThread.java5460 public void handleTopResumedActivityChanged(ActivityClientRecord r, boolean onTop, in handleTopResumedActivityChanged() argument
5463 Slog.d(TAG, "Received position change to top: " + onTop + " for activity: " + r); in handleTopResumedActivityChanged()
5466 if (r.isTopResumedActivity == onTop) { in handleTopResumedActivityChanged()
5468 Slog.w(TAG, "Activity top position already set to onTop=" + onTop); in handleTopResumedActivityChanged()
5472 Slog.e(TAG, "Activity top position already set to onTop=" + onTop); in handleTopResumedActivityChanged()
5475 r.isTopResumedActivity = onTop; in handleTopResumedActivityChanged()
5478 reportTopResumedActivityChanged(r, onTop, "topStateChangedWhenResumed"); in handleTopResumedActivityChanged()
5490 private void reportTopResumedActivityChanged(ActivityClientRecord r, boolean onTop, in reportTopResumedActivityChanged() argument
5492 if (r.lastReportedTopResumedState != onTop) { in reportTopResumedActivityChanged()
5493 r.lastReportedTopResumedState = onTop; in reportTopResumedActivityChanged()
[all …]

12