Home
last modified time | relevance | path

Searched refs:taskRect (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DRecentsTvTransitionHelper.java106 Rect taskRect = taskView.getFocusedThumbnailRect(); in startTaskActivity() local
112 if (taskRect == null || task.thumbnail == null) { in startTaskActivity()
133 Bitmap thumbnail = Bitmap.createScaledBitmap(task.thumbnail, taskRect.width(), in startTaskActivity()
134 taskRect.height(), false); in startTaskActivity()
136 .overridePendingAppTransitionAspectScaledThumb(thumbnail, taskRect.left, in startTaskActivity()
137 taskRect.top, taskRect.width(), taskRect.height(), callback, true); in startTaskActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DRecentsTransitionHelper.java353 Rect taskRect) {
354 return new AppTransitionAnimationSpec(task.key.id, null, taskRect);
418 Rect taskRect = new Rect();
419 transform.rect.round(taskRect);
422 taskRect.bottom = taskRect.top + stackView.getMeasuredHeight();
424 return new AppTransitionAnimationSpec(taskView.getTask().key.id, b, taskRect);
DRecentsView.java531 final Rect taskRect = getTaskRect(event.taskView); in onBusEvent() local
538 event.taskView, taskRect); in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java867 private void applyExitAnimationParallax(Rect taskRect, int position) { in applyExitAnimationParallax() argument
869 taskRect.offset(0, (int) ((position - mExitStartPosition) * 0.25f)); in applyExitAnimationParallax()
871 taskRect.offset((int) ((position - mExitStartPosition) * 0.25f), 0); in applyExitAnimationParallax()
873 taskRect.offset((int) ((mExitStartPosition - position) * 0.25f), 0); in applyExitAnimationParallax()
930 private void applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, in applyDismissingParallax() argument
953 int width = taskRect.width(); in applyDismissingParallax()
954 int height = taskRect.height(); in applyDismissingParallax()
957 taskRect.left = offsetPosition - width; in applyDismissingParallax()
958 taskRect.right = offsetPosition; in applyDismissingParallax()
961 taskRect.left = offsetPosition + mDividerSize; in applyDismissingParallax()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java2163 private int moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize,
2168 && ((horizontal && taskRect.right < stackRect.right)
2169 ||(!horizontal && taskRect.bottom < stackRect.bottom))) {
2171 maxMove = Math.min(stepSize, stackRect.right - taskRect.right);
2173 taskRect.right += maxMove;
2174 taskRect.left += maxMove;
2176 maxMove = Math.min(stepSize, stackRect.bottom - taskRect.bottom);
2178 taskRect.top += maxMove;
2179 taskRect.bottom += maxMove;
2181 taskResize(taskId, taskRect, delay_ms, false);
[all …]