Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java492 public void animateOverScrollToAmount(float targetAmount, final boolean onTop, in animateOverScrollToAmount() argument
494 final float startOverScrollAmount = mHostLayout.getCurrentOverScrollAmount(onTop); in animateOverScrollToAmount()
498 cancelOverScrollAnimators(onTop); in animateOverScrollToAmount()
507 currentOverScroll, onTop, false /* animate */, false /* cancelAnimators */, in animateOverScrollToAmount()
515 if (onTop) { in animateOverScrollToAmount()
523 if (onTop) { in animateOverScrollToAmount()
530 public void cancelOverScrollAnimators(boolean onTop) { in cancelOverScrollAnimators() argument
531 ValueAnimator currentAnimator = onTop ? mTopOverScrollAnimator : mBottomOverScrollAnimator; in cancelOverScrollAnimators()
DNotificationStackScrollLayout.java2037 public void setOverScrolledPixels(float numPixels, boolean onTop, boolean animate) {
2038 setOverScrollAmount(numPixels * getRubberBandFactor(onTop), onTop, animate, true);
2051 public void setOverScrollAmount(float amount, boolean onTop, boolean animate) {
2052 setOverScrollAmount(amount, onTop, animate, true);
2064 public void setOverScrollAmount(float amount, boolean onTop, boolean animate,
2066 setOverScrollAmount(amount, onTop, animate, cancelAnimators, isRubberbanded(onTop));
2080 public void setOverScrollAmount(float amount, boolean onTop, boolean animate,
2083 mStateAnimator.cancelOverScrollAnimators(onTop);
2085 setOverScrollAmountInternal(amount, onTop, animate, isRubberbanded);
2089 private void setOverScrollAmountInternal(float amount, boolean onTop, boolean animate,
[all …]
DAmbientState.java235 public void setOverScrollAmount(float amount, boolean onTop) { in setOverScrollAmount() argument
236 if (onTop) { in setOverScrollAmount()
/frameworks/base/core/java/android/app/servertransaction/
DTopResumedActivityChangeItem.java69 public static TopResumedActivityChangeItem obtain(boolean onTop) { in obtain() argument
75 instance.mOnTop = onTop; in obtain()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java442 void createTask(boolean onTop, boolean showForAllUsers) { in createTask() argument
720 int stackId, boolean onTop) { in createStackUnchecked() argument
723 .setStackId(stackId).setOnTop(onTop).setCreateActivity(false).build(); in createStackUnchecked()
784 int windowingMode, int activityType, boolean onTop, boolean createActivity) { in TestActivityStack() argument
785 super(display, stackId, supervisor, windowingMode, activityType, onTop); in TestActivityStack()
788 if (onTop) { in TestActivityStack()
811 protected void createTaskStack(int displayId, boolean onTop, Rect outBounds) { in createTaskStack() argument
902 StackBuilder setOnTop(boolean onTop) { in setOnTop() argument
903 mOnTop = onTop; in setOnTop()
924 void createTaskStack(int displayId, boolean onTop, Rect outBounds) { in build() argument
DActivityStackTests.java820 ActivityDisplay display, int windowingMode, int activityType, boolean onTop) { in createStackForShouldBeVisibleTest() argument
825 if (onTop) { in createStackForShouldBeVisibleTest()
831 stack = display.createStack(windowingMode, activityType, onTop); in createStackForShouldBeVisibleTest()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityDisplay.java376 boolean onTop) { in getOrCreateStack() argument
383 return createStack(windowingMode, activityType, onTop); in getOrCreateStack()
393 boolean onTop) { in getOrCreateStack() argument
401 return getOrCreateStack(windowingMode, activityType, onTop); in getOrCreateStack()
420 <T extends ActivityStack> T createStack(int windowingMode, int activityType, boolean onTop) { in createStack() argument
427 windowingMode, activityType, onTop); in createStack()
455 return createStackUnchecked(windowingMode, activityType, stackId, onTop); in createStack()
460 int stackId, boolean onTop) { in createStackUnchecked() argument
466 mRootActivityContainer.mStackSupervisor, windowingMode, activityType, onTop); in createStackUnchecked()
DRootActivityContainer.java938 void moveStackToDisplay(int stackId, int displayId, boolean onTop) { in moveStackToDisplay() argument
968 stack.reparent(activityDisplay, onTop, false /* displayRemoved */); in moveStackToDisplay()
1669 @Nullable ActivityOptions options, @Nullable TaskRecord candidateTask, boolean onTop) { in getLaunchStack() argument
1670 return getLaunchStack(r, options, candidateTask, onTop, null /* launchParams */, in getLaunchStack()
1687 @Nullable ActivityOptions options, @Nullable TaskRecord candidateTask, boolean onTop, in getLaunchStack() argument
1706 MATCH_TASK_IN_STACKS_OR_RECENT_TASKS_AND_RESTORE, options, onTop); in getLaunchStack()
1737 stack = display.getOrCreateStack(r, options, candidateTask, activityType, onTop); in getLaunchStack()
1783 return display.getOrCreateStack(r, options, candidateTask, activityType, onTop); in getLaunchStack()
2197 @Nullable ActivityOptions aOptions, boolean onTop) { in anyTaskForId() argument
2217 getLaunchStack(null, aOptions, task, onTop); in anyTaskForId()
[all …]
DActivityStackSupervisor.java1494 int toDisplayId, boolean onTop) { in moveTasksToFullscreenStackInSurfaceTransaction() argument
1535 null, mTmpOptions, task, task.getActivityType(), onTop); in moveTasksToFullscreenStackInSurfaceTransaction()
1537 if (onTop) { in moveTasksToFullscreenStackInSurfaceTransaction()
1566 void moveTasksToFullscreenStackLocked(ActivityStack fromStack, boolean onTop) { in moveTasksToFullscreenStackLocked() argument
1567 moveTasksToFullscreenStackLocked(fromStack, DEFAULT_DISPLAY, onTop); in moveTasksToFullscreenStackLocked()
1570 void moveTasksToFullscreenStackLocked(ActivityStack fromStack, int toDisplayId, boolean onTop) { in moveTasksToFullscreenStackLocked() argument
1572 moveTasksToFullscreenStackInSurfaceTransaction(fromStack, toDisplayId, onTop)); in moveTasksToFullscreenStackLocked()
1884 boolean restoreRecentTaskLocked(TaskRecord task, ActivityOptions aOptions, boolean onTop) { in restoreRecentTaskLocked() argument
1886 mRootActivityContainer.getLaunchStack(null, aOptions, task, onTop); in restoreRecentTaskLocked()
1899 stack.addTask(task, onTop, "restoreRecentTask"); in restoreRecentTaskLocked()
[all …]
DActivityStack.java510 int windowingMode, int activityType, boolean onTop) { in ActivityStack() argument
522 createTaskStack(display.mDisplayId, onTop, mTmpRect2); in ActivityStack()
526 display.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in ActivityStack()
529 void createTaskStack(int displayId, boolean onTop, Rect outBounds) { in createTaskStack() argument
536 dc.setStackOnDisplay(mStackId, onTop, mTaskStack); in createTaskStack()
883 void reparent(ActivityDisplay activityDisplay, boolean onTop, boolean displayRemoved) { in reparent() argument
894 mTaskStack.reparent(activityDisplay.mDisplayId, mTmpRect2, onTop); in reparent()
897 activityDisplay.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in reparent()
DTaskStack.java621 void reparent(int displayId, Rect outStackBounds, boolean onTop) { in reparent() argument
628 targetDc.moveStackToDisplay(this, onTop); in reparent()
DDisplayContent.java2389 void setStackOnDisplay(int stackId, boolean onTop, TaskStack stack) { in setStackOnDisplay() argument
2394 mTaskStackContainers.addStackToDisplay(stack, onTop); in setStackOnDisplay()
2397 void moveStackToDisplay(TaskStack stack, boolean onTop) { in moveStackToDisplay() argument
2409 mTaskStackContainers.addStackToDisplay(stack, onTop); in moveStackToDisplay()
4197 void addStackToDisplay(TaskStack stack, boolean onTop) { in addStackToDisplay() argument
4199 addChild(stack, onTop); in addStackToDisplay()
DTaskRecord.java449 void createTask(boolean onTop, boolean showForAllUsers) { in createTask() argument
464 final int position = onTop ? POSITION_TOP : POSITION_BOTTOM; in createTask()
471 stack.addTask(mTask, position, showForAllUsers, onTop /* moveParents */); in createTask()
DActivityRecord.java711 boolean scheduleTopResumedActivityChanged(boolean onTop) { in scheduleTopResumedActivityChanged() argument
721 Slog.v(TAG, "Sending position change to " + this + ", onTop: " + onTop); in scheduleTopResumedActivityChanged()
725 TopResumedActivityChangeItem.obtain(onTop)); in scheduleTopResumedActivityChanged()
DActivityStarter.java2701 final boolean onTop = aOptions == null || !aOptions.getAvoidMoveToFront(); in getLaunchStack()
2703 mRootActivityContainer.getLaunchStack(r, aOptions, task, onTop, mLaunchParams, in getLaunchStack()
DActivityTaskManagerService.java4046 public void moveTasksToFullscreenStack(int fromStackId, boolean onTop) { in moveTasksToFullscreenStack() argument
4058 mStackSupervisor.moveTasksToFullscreenStackLocked(stack, onTop); in moveTasksToFullscreenStack()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceView.java60 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
/frameworks/base/media/java/android/media/tv/
DTvView.java255 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
256 if (onTop) { in setZOrderOnTop()
265 mSurfaceView.setZOrderOnTop(onTop); in setZOrderOnTop()
/frameworks/base/core/java/android/view/
DSurfaceView.java612 public void setZOrderOnTop(boolean onTop) { in setZOrderOnTop() argument
613 if (onTop) { in setZOrderOnTop()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl331 void moveTasksToFullscreenStack(int fromStackId, boolean onTop); in moveTasksToFullscreenStack() argument
DActivityThread.java4398 public void handleTopResumedActivityChanged(IBinder token, boolean onTop, String reason) { in handleTopResumedActivityChanged() argument
4406 Slog.d(TAG, "Received position change to top: " + onTop + " for activity: " + r); in handleTopResumedActivityChanged()
4409 if (r.isTopResumedActivity == onTop) { in handleTopResumedActivityChanged()
4410 throw new IllegalStateException("Activity top position already set to onTop=" + onTop); in handleTopResumedActivityChanged()
4413 r.isTopResumedActivity = onTop; in handleTopResumedActivityChanged()
4416 reportTopResumedActivityChanged(r, onTop, "topStateChangedWhenResumed"); in handleTopResumedActivityChanged()
4428 private void reportTopResumedActivityChanged(ActivityClientRecord r, boolean onTop, in reportTopResumedActivityChanged() argument
4430 if (r.lastReportedTopResumedState != onTop) { in reportTopResumedActivityChanged()
4431 r.lastReportedTopResumedState = onTop; in reportTopResumedActivityChanged()
4432 r.activity.performTopResumedActivityChanged(onTop, reason); in reportTopResumedActivityChanged()
/frameworks/base/core/java/android/widget/
DAbsListView.java2820 public void setDrawSelectorOnTop(boolean onTop) { in setDrawSelectorOnTop() argument
2821 mDrawSelectorOnTop = onTop; in setDrawSelectorOnTop()