Searched refs:toTop (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DSimpleItemAnimator.java155 final int toLeft, toTop;
158 toTop = preInfo.top;
161 toTop = postInfo.top;
163 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
263 * @param toTop Top of the new view holder
268 ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop);
267 animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskWindowContainerController.java53 boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers,
56 supportsPictureInPicture, toTop, showForAllUsers, taskDescription,
62 boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers,
80 final int position = toTop ? POSITION_TOP : POSITION_BOTTOM;
83 stack.addTask(task, position, showForAllUsers, toTop /* moveParents */);
51 TaskWindowContainerController(int taskId, TaskWindowContainerListener listener, StackWindowController stackController, int userId, Rect bounds, int resizeMode, boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers, TaskDescription taskDescription) argument
60 TaskWindowContainerController(int taskId, TaskWindowContainerListener listener, StackWindowController stackController, int userId, Rect bounds, int resizeMode, boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers, TaskDescription taskDescription, WindowManagerService service) argument
H A DTaskStack.java628 final int toTop = targetPosition == mChildren.size() - 1 ? 1 : 0;
629 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, child.mTaskId, toTop, targetPosition);
H A DDisplayContent.java3380 private void addChild(TaskStack stack, boolean toTop) { argument
3381 final int addIndex = findPositionForStack(toTop ? mChildren.size() : 0, stack,
3429 boolean toTop = requestedPosition == POSITION_TOP;
3430 toTop |= adding ? requestedPosition >= topChildPosition + 1
3434 if (toTop && stack.getWindowingMode() != WINDOWING_MODE_PINNED && hasPinnedStack()) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DSimpleItemAnimator.java153 final int toLeft, toTop;
156 toTop = preInfo.top;
159 toTop = postInfo.top;
161 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
261 * @param toTop Top of the new view holder
266 RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop);
265 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DHardwareUiLayout.java334 int toTop = fromTop - ((newHeight - oldHeight) / 2);
336 ObjectAnimator top = ObjectAnimator.ofInt(mChild, "top", fromTop, toTop);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DDummyItemAnimator.java135 RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) {
134 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl399 * @param toTop If the task should be moved to the top once the windowing mode changes.
401 void setTaskWindowingMode(int taskId, int windowingMode, boolean toTop);
402 void moveTaskToStack(int taskId, int stackId, boolean toTop);
528 boolean setTaskWindowingModeSplitScreenPrimary(int taskId, int createMode, boolean toTop,
532 * {@param toTop} If true the current primary split-screen stack will be placed or left on top.
534 void dismissSplitScreenMode(boolean toTop);
H A DActivityManager.java2005 * @param toTop If the task should be moved to the top once the windowing mode changes.
2010 public void setTaskWindowingMode(int taskId, int windowingMode, boolean toTop) argument
2013 getService().setTaskWindowingMode(taskId, windowingMode, toTop);
2028 * @param toTop If the task and stack should be moved to the top.
2038 public void setTaskWindowingModeSplitScreenPrimary(int taskId, int createMode, boolean toTop, argument
2041 getService().setTaskWindowingModeSplitScreenPrimary(taskId, createMode, toTop, animate,
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java5168 boolean toTop) {
5169 return createTaskRecord(taskId, info, intent, voiceSession, voiceInteractor, toTop,
5175 boolean toTop, ActivityRecord activity, ActivityRecord source,
5180 addTask(task, toTop, "createTaskRecord");
5189 task.createWindowContainer(toTop, (info.flags & FLAG_SHOW_FOR_ALL_USERS) != 0);
5197 void addTask(final TaskRecord task, final boolean toTop, String reason) { argument
5198 addTask(task, toTop ? MAX_VALUE : 0, true /* schedulePictureInPictureModeChange */, reason);
5199 if (toTop) {
5213 final boolean toTop = position >= mTaskHistory.size();
5214 final ActivityStack prevStack = preAddTask(task, reason, toTop);
5166 createTaskRecord(int taskId, ActivityInfo info, Intent intent, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, boolean toTop) argument
5173 createTaskRecord(int taskId, ActivityInfo info, Intent intent, IVoiceInteractionSession voiceSession, IVoiceInteractor voiceInteractor, boolean toTop, ActivityRecord activity, ActivityRecord source, ActivityOptions options) argument
5254 preAddTask(TaskRecord task, String reason, boolean toTop) argument
[all...]
H A DTaskRecord.java571 boolean reparent(ActivityStack preferredStack, boolean toTop, argument
574 return reparent(preferredStack, toTop ? MAX_VALUE : 0, moveStackMode, animate, deferResume,
582 boolean reparent(ActivityStack preferredStack, boolean toTop, argument
585 return reparent(preferredStack, toTop ? MAX_VALUE : 0, moveStackMode, animate,
H A DActivityManagerShellCommand.java2458 final boolean toTop;
2460 toTop = true;
2462 toTop = false;
2464 getErrPrintWriter().println("Error: bad toTop arg: " + toTopStr);
2468 mInterface.moveTaskToStack(taskId, stackId, toTop);
H A DActivityManagerService.java3681 WINDOWING_MODE_FULLSCREEN, r.getActivityType(), true /* toTop */);
3682 moveTaskToStack(r.getTask().taskId, stack.mStackId, true /* toTop */);
11251 public void setTaskWindowingMode(int taskId, int windowingMode, boolean toTop) { argument
11254 toTop, ANIMATE, null /* initialBounds */, true /* showRecents */);
11268 + " to windowingMode=" + windowingMode + " toTop=" + toTop);
11277 if (toTop) {
11296 * @param toTop If the task and stack should be moved to the top.
11304 public boolean setTaskWindowingModeSplitScreenPrimary(int taskId, int createMode, boolean toTop, argument
11318 + " to createMode=" + createMode + " toTop
11340 moveTaskToStack(int taskId, int stackId, boolean toTop) argument
11380 dismissSplitScreenMode(boolean toTop) argument
[all...]
H A DActivityStackSupervisor.java3242 ActivityStack getReparentTargetStack(TaskRecord task, ActivityStack stack, boolean toTop) { argument
3284 WINDOWING_MODE_FULLSCREEN, stack.getActivityType(), toTop);
4500 WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY, true /* toTop */);

Completed in 85 milliseconds