Home
last modified time | relevance | path

Searched refs:taskTop (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java272 final int taskTop = logicalHeight / 4; in testLayoutNonfullscreenTask() local
275 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
289 assertFrame(w, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
300 assertFrame(w, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
304 assertContentFrame(w, new Rect(taskLeft, taskTop, taskRight - contentInsetRight, in testLayoutNonfullscreenTask()
313 final int insetBottom = insetTop + (taskBottom - taskTop); in testLayoutNonfullscreenTask()
318 assertFrame(w, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
322 assertContentFrame(w, new Rect(taskLeft, taskTop, taskRight - contentInsetRight, in testLayoutNonfullscreenTask()
390 final int taskTop = logicalHeight / 5; in testLayoutLetterboxedWindow() local
393 final Rect taskBounds = new Rect(taskLeft, taskTop, taskRight, taskBottom); in testLayoutLetterboxedWindow()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java3582 final ActivityRecord resetTaskIfNeededLocked(ActivityRecord taskTop, in resetTaskIfNeededLocked() argument
3586 final TaskRecord task = taskTop.getTaskRecord(); in resetTaskIfNeededLocked()
3613 taskTop = mTaskHistory.get(taskNdx--).getTopActivity(); in resetTaskIfNeededLocked()
3614 } while (taskTop == null && taskNdx >= 0); in resetTaskIfNeededLocked()
3620 if (taskTop != null) { in resetTaskIfNeededLocked()
3621 taskTop.updateOptionsLocked(topOptions); in resetTaskIfNeededLocked()
3627 return taskTop; in resetTaskIfNeededLocked()