Home
last modified time | relevance | path

Searched refs:windowLayout (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DActivityInfo.java980 public WindowLayout windowLayout; field in ActivityInfo
1002 windowLayout = orig.windowLayout; in ActivityInfo()
1169 if (windowLayout != null) { in dump()
1170 pw.println(prefix + "windowLayout=" + windowLayout.width + "|" in dump()
1171 + windowLayout.widthFraction + ", " + windowLayout.height + "|" in dump()
1172 + windowLayout.heightFraction + ", " + windowLayout.gravity); in dump()
1216 if (windowLayout != null) { in writeToParcel()
1218 dest.writeInt(windowLayout.width); in writeToParcel()
1219 dest.writeFloat(windowLayout.widthFraction); in writeToParcel()
1220 dest.writeInt(windowLayout.height); in writeToParcel()
[all …]
DPackageParser.java4888 a.info.windowLayout = new ActivityInfo.WindowLayout(width, widthFraction, in parseLayout()
4974 info.windowLayout = target.info.windowLayout; in parseActivityAlias()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java348 @NonNull ActivityInfo.WindowLayout windowLayout, @NonNull Rect outBounds) { in getLayoutBounds() argument
349 final int verticalGravity = windowLayout.gravity & Gravity.VERTICAL_GRAVITY_MASK; in getLayoutBounds()
350 final int horizontalGravity = windowLayout.gravity & Gravity.HORIZONTAL_GRAVITY_MASK; in getLayoutBounds()
351 if (!windowLayout.hasSpecifiedSize() && verticalGravity == 0 && horizontalGravity == 0) { in getLayoutBounds()
362 if (!windowLayout.hasSpecifiedSize()) { in getLayoutBounds()
364 getTaskBounds(root, display, windowLayout, WINDOWING_MODE_FREEFORM, in getLayoutBounds()
370 if (windowLayout.width > 0 && windowLayout.width < defaultWidth) { in getLayoutBounds()
371 width = windowLayout.width; in getLayoutBounds()
372 } else if (windowLayout.widthFraction > 0 && windowLayout.widthFraction < 1.0f) { in getLayoutBounds()
373 width = (int) (width * windowLayout.widthFraction); in getLayoutBounds()
[all …]
DTaskRecord.java962 if (info != null && info.windowLayout != null) { in setMinDimensions()
963 mMinWidth = info.windowLayout.minWidth; in setMinDimensions()
964 mMinHeight = info.windowLayout.minHeight; in setMinDimensions()
DActivityStarter.java1493 r.info.windowLayout, r, sourceRecord, options, PHASE_BOUNDS, mLaunchParams); in startActivityUnchecked()
1827 mSupervisor.getLaunchParamsController().calculate(inTask, r.info.windowLayout, r, in setInitialState()
DActivityStack.java5533 .layoutTask(task, info.windowLayout, activity, source, options) in createTaskRecord()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1345 final CCWindowLayout windowLayout = in setCaptionStyle() local
1347 windowLayout.setCaptionStyle(style); in setCaptionStyle()
1354 final CCWindowLayout windowLayout = in setFontScale() local
1356 windowLayout.setFontScale(fontScale); in setFontScale()
1481 CCWindowLayout windowLayout = mCaptionWindowLayouts[windowId]; in setCurrentWindowLayout() local
1482 if (windowLayout == null) { in setCurrentWindowLayout()
1488 mCurrentWindowLayout = windowLayout; in setCurrentWindowLayout()
1498 CCWindowLayout windowLayout = mCaptionWindowLayouts[i]; in getWindowsFromBitmap() local
1499 if (windowLayout != null) { in getWindowsFromBitmap()
1500 windows.add(windowLayout); in getWindowsFromBitmap()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java388 final WindowLayout windowLayout = in testCreateTaskLayout() local
391 info.windowLayout = windowLayout; in testCreateTaskLayout()
410 verify(modifier, times(3)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options), in testCreateTaskLayout()
/frameworks/base/non-updatable-api/
Dcurrent.txt11062 field public android.content.pm.ActivityInfo.WindowLayout windowLayout;
/frameworks/base/api/
Dcurrent.txt11062 field public android.content.pm.ActivityInfo.WindowLayout windowLayout;