Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/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()
285 assertRect(w.mFrame, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
286 assertRect(w.getContentFrameLw(), taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask() local
295 assertRect(w.mFrame, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
299 assertRect(w.getContentFrameLw(), taskLeft, taskTop, taskRight - contentInsetRight, in testLayoutNonfullscreenTask() local
309 final int insetBottom = insetTop + (taskBottom - taskTop); in testLayoutNonfullscreenTask()
312 assertRect(w.mFrame, taskLeft, taskTop, taskRight, taskBottom); in testLayoutNonfullscreenTask()
316 assertRect(w.getContentFrameLw(), taskLeft, taskTop, taskRight - contentInsetRight, in testLayoutNonfullscreenTask() local
386 final int taskTop = logicalHeight / 5; in testLayoutLetterboxedWindow() local
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java3289 final ActivityRecord resetTaskIfNeededLocked(ActivityRecord taskTop, in resetTaskIfNeededLocked() argument
3293 final TaskRecord task = taskTop.getTask(); in resetTaskIfNeededLocked()
3320 taskTop = mTaskHistory.get(taskNdx--).getTopActivity(); in resetTaskIfNeededLocked()
3321 } while (taskTop == null && taskNdx >= 0); in resetTaskIfNeededLocked()
3327 if (taskTop != null) { in resetTaskIfNeededLocked()
3328 taskTop.updateOptionsLocked(topOptions); in resetTaskIfNeededLocked()
3334 return taskTop; in resetTaskIfNeededLocked()