HomeSort by relevance Sort by last modified time
    Searched refs:WindowLayout (Results 1 - 16 of 16) sorted by null

  /frameworks/base/services/core/java/com/android/server/am/
LaunchParamsController.java 21 import android.content.pm.ActivityInfo.WindowLayout;
71 * @param layout The specified {@link WindowLayout}.
77 void calculate(TaskRecord task, WindowLayout layout, ActivityRecord activity,
110 boolean layoutTask(TaskRecord task, WindowLayout layout) {
114 boolean layoutTask(TaskRecord task, WindowLayout layout, ActivityRecord activity,
241 * @param layout The specified {@link WindowLayout}.
252 int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity,
ActivityLaunchParamsModifier.java 38 public int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout,
TaskLaunchParamsModifier.java 80 public int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout,
159 private int getFinalWidth(ActivityInfo.WindowLayout windowLayout, Rect availableRect) {
161 if (windowLayout.width > 0) {
162 width = windowLayout.width;
164 if (windowLayout.widthFraction > 0) {
165 width = (int) (availableRect.width() * windowLayout.widthFraction);
170 private int getFinalHeight(ActivityInfo.WindowLayout windowLayout, Rect availableRect) {
172 if (windowLayout.height > 0)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
TaskLaunchParamsModifierTests.java 19 import android.content.pm.ActivityInfo.WindowLayout;
101 * Ensures that a task positioned with no {@link WindowLayout} receives the default launch
113 * Ensures that a task positioned with an empty {@link WindowLayout} receives the default launch
120 new WindowLayout(0, 0, 0, 0, Gravity.NO_GRAVITY, 0, 0), null /*activity*/,
126 * Ensures that a task positioned with a {@link WindowLayout} gravity specified is positioned
153 new WindowLayout(0, 0, 0, 0, gravity, 0, 0), null /*activity*/,
179 final WindowLayout layout = new WindowLayout(0, 0, 0, 0, gravity, 0, 0);
LaunchParamsControllerTests.java 20 import android.content.pm.ActivityInfo.WindowLayout;
82 final WindowLayout layout = new WindowLayout(0, 0, 0, 0, 0, 0, 0);
204 mController.layoutTask(task, null /* windowLayout */);
226 mController.layoutTask(task, null /* windowLayout */);
244 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity,
ActivityStarterTests.java 41 import android.content.pm.ActivityInfo.WindowLayout;
359 final WindowLayout windowLayout =
360 new WindowLayout(10, .5f, 20, 1.0f, Gravity.NO_GRAVITY, 1, 1);
362 info.windowLayout = windowLayout;
380 verify(modifier, times(1)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options),
  /frameworks/base/core/java/android/content/pm/
ActivityInfo.java     [all...]
PackageParser.java     [all...]
  /tools/metalava/src/test/java/com/android/tools/metalava/
StubsTest.kt     [all...]
  /frameworks/base/config/
preloaded-classes 783 android.content.pm.ActivityInfo$WindowLayout
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-stubs.jar 
  /prebuilts/sdk/26/
android.jar 
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 1665 milliseconds