Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java93 assertEquals(RESULT_SKIP, mTarget.onCalculate(task, /* layout */ null, in testReturnsSkipWithEmptyActivity()
104 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testDefaultToPrimaryDisplay()
114 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesDefaultDisplayIfPreviousDisplayNotExists()
127 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesPreviousDisplayIdIfSet()
144 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesSourcesDisplayIdIfSet()
163 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesOptionsDisplayIdIfSet()
180 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(reusableActivity.getTaskRecord(), in testUsesTasksDisplayIdPriorToSourceIfSet()
192 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(source.getTaskRecord(), null /* layout */, in testUsesTaskDisplayIdIfSet()
211 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(reusableActivity.getTaskRecord(), in testUsesNoDisplaySourceHandoverDisplayIdIfSet()
230 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
[all …]
DLaunchParamsControllerTests.java94 verify(positioner, times(1)).onCalculate(eq(record.getTaskRecord()), eq(layout), eq(record), in testArgumentPropagation()
119 verify(positioner, times(1)).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testStoredParamsRecovery()
139 verify(ignoredPositioner, never()).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testEarlyExit()
157 verify(firstPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testRegistration()
166 verify(firstPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testRegistration()
168 verify(secondPositioner, times(1)).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testRegistration()
193 verify(positioner1, times(1)).onCalculate(any(), any(), any(), any(), any(), anyInt(), in testPassThrough()
268 verify(positioner, times(1)).onCalculate(eq(record.getTaskRecord()), eq(layout), eq(record), in testCalculatePhase()
372 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() method in LaunchParamsControllerTests.InstrumentedPositioner
DActivityStarterTests.java410 verify(modifier, times(3)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options), in testCreateTaskLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java93 switch(modifier.onCalculate(task, layout, activity, source, options, phase, mTmpCurrent, in calculate()
307 int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() method
DTaskLaunchParamsModifier.java107 int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout, ActivityRecord activity, in onCalculate() method in TaskLaunchParamsModifier
110 return onCalculate(task, layout, activity, source, options, PHASE_BOUNDS, currentParams, in onCalculate()
115 public int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout, in onCalculate() method in TaskLaunchParamsModifier
/frameworks/base/services/
Dart-profile16868 HSPLcom/android/server/wm/TaskLaunchParamsModifier;->onCalculate(Lcom/android/server/wm/TaskRecord;…