Home
last modified time | relevance | path

Searched refs:onCalculate (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityLaunchParamsModifierTests.java81 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
85 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
90 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
96 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
103 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
109 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
117 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
120 assertEquals(RESULT_SKIP, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
125 assertEquals(RESULT_DONE, mModifier.onCalculate(null /*task*/, null /*layout*/, in testSkippedInvocations()
139 assertEquals(RESULT_DONE, mModifier.onCalculate(null /*task*/, null /*layout*/, in testBoundsExtraction()
DLaunchParamsControllerTests.java87 verify(positioner, times(1)).onCalculate(eq(record.getTask()), eq(layout), eq(record), in testArgumentPropagation()
106 verify(ignoredPositioner, never()).onCalculate(any(), any(), any(), any(), any(), in testEarlyExit()
124 verify(firstPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), any(), in testRegistration()
133 verify(firstPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), any(), in testRegistration()
135 verify(secondPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), any(), in testRegistration()
160 verify(positioner1, times(1)).onCalculate(any(), any(), any(), any(), any(), in testPassThrough()
244 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() method in LaunchParamsControllerTests.InstrumentedPositioner
DTaskLaunchParamsModifierTests.java107 assertEquals(RESULT_CONTINUE, mPositioner.onCalculate(mTask, null /*layout*/, in testLaunchNoWindowLayout()
119 assertEquals(RESULT_CONTINUE, mPositioner.onCalculate(mTask, in testlaunchEmptyWindowLayout()
152 assertEquals(RESULT_CONTINUE, mPositioner.onCalculate(mTask, in testGravity()
200 mPositioner.onCalculate(secondTask, layout, null /*activity*/, in testConflict()
DActivityStarterTests.java380 verify(modifier, times(1)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options), in testCreateTaskLayout()
/frameworks/base/services/core/java/com/android/server/am/
DLaunchParamsController.java89 switch(modifier.onCalculate(task, layout, activity, source, options, mTmpCurrent, in calculate()
252 int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() method
DActivityLaunchParamsModifier.java38 public int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout, in onCalculate() method in ActivityLaunchParamsModifier
DTaskLaunchParamsModifier.java80 public int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout, in onCalculate() method in TaskLaunchParamsModifier