Home
last modified time | relevance | path

Searched refs:resizeMode (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DComponentMutateUtils.java30 public static void setMaxAspectRatio(@NonNull ParsedActivity activity, int resizeMode, in setMaxAspectRatio() argument
32 ((ParsedActivityImpl) activity).setMaxAspectRatio(resizeMode, maxAspectRatio); in setMaxAspectRatio()
35 public static void setMinAspectRatio(@NonNull ParsedActivity activity, int resizeMode, in setMinAspectRatio() argument
37 ((ParsedActivityImpl) activity).setMinAspectRatio(resizeMode, minAspectRatio); in setMinAspectRatio()
45 public static void setResizeMode(@NonNull ParsedActivity activity, int resizeMode) { in setResizeMode() argument
46 ((ParsedActivityImpl) activity).setResizeMode(resizeMode); in setResizeMode()
DParsedActivityImpl.java82 private int resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE; field in ParsedActivityImpl
119 this.resizeMode = other.resizeMode; in ParsedActivityImpl()
154 activity.resizeMode = RESIZE_MODE_FORCE_RESIZEABLE; in makeAppDetailsActivity()
190 alias.resizeMode = target.getResizeMode(); in makeAlias()
216 public ParsedActivityImpl setMaxAspectRatio(int resizeMode, float maxAspectRatio) { in setMaxAspectRatio() argument
217 if (resizeMode == ActivityInfo.RESIZE_MODE_RESIZEABLE in setMaxAspectRatio()
218 || resizeMode == ActivityInfo.RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION) { in setMaxAspectRatio()
232 public ParsedActivityImpl setMinAspectRatio(int resizeMode, float minAspectRatio) { in setMinAspectRatio() argument
233 if (resizeMode == RESIZE_MODE_RESIZEABLE in setMinAspectRatio()
234 || resizeMode == RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION) { in setMinAspectRatio()
[all …]
DParsedActivityUtils.java179 int resizeMode = getActivityResizeMode(pkg, sa, screenOrientation); in parseActivityOrReceiver() local
181 .setResizeMode(resizeMode); in parseActivityOrReceiver()
186 activity.setMaxAspectRatio(resizeMode, in parseActivityOrReceiver()
194 activity.setMinAspectRatio(resizeMode, in parseActivityOrReceiver()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java323 public int resizeMode; field in AppWidgetProviderInfo
406 this.resizeMode = in.readInt(); in AppWidgetProviderInfo()
533 out.writeInt(this.resizeMode); in writeToParcel()
566 that.resizeMode = this.resizeMode; in clone()
/frameworks/base/core/java/android/app/
DTaskInfo.java157 public int resizeMode; field in TaskInfo
477 resizeMode = source.readInt(); in readFromParcel()
524 dest.writeInt(resizeMode); in writeToParcel()
562 + " resizeMode=" + resizeMode in toString()
DIActivityTaskManager.aidl196 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
DActivityManager.java1966 boolean ensureNavigationBarContrastWhenTransparent, int resizeMode, int minWidth, in TaskDescription() argument
1979 mResizeMode = resizeMode; in TaskDescription()
2149 public void setResizeMode(int resizeMode) { in setResizeMode() argument
2150 mResizeMode = resizeMode; in setResizeMode()
DIActivityManager.aidl576 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java402 public int resizeMode = RESIZE_MODE_RESIZEABLE;
1749 resizeMode = orig.resizeMode;
2094 pw.println(prefix + "resizeMode=" + resizeModeToString(resizeMode));
2157 dest.writeInt(resizeMode);
2281 resizeMode = source.readInt();
DPackageParser.java2563 a.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in adjustPackageToBeUnresizeableAndUnpipable()
4283 a.info.resizeMode = RESIZE_MODE_FORCE_RESIZEABLE; in generateAppDetailsHiddenActivity()
4689 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE; in setActivityResizeMode()
4691 aInfo.resizeMode = RESIZE_MODE_UNRESIZEABLE; in setActivityResizeMode()
4700 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; in setActivityResizeMode()
4707 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY; in setActivityResizeMode()
4709 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY; in setActivityResizeMode()
4711 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_PRESERVE_ORIENTATION; in setActivityResizeMode()
4713 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZEABLE; in setActivityResizeMode()
4947 info.resizeMode = target.info.resizeMode;
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java97 || ActivityInfo.isResizeableMode(activityInfo.resizeMode); in update()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransparentPolicyTest.java545 activity.info.resizeMode = isUnresizable in prepareLimitedBounds()
551 task.mResizeMode = activity.info.resizeMode; in prepareLimitedBounds()
552 task.getRootActivity().info.resizeMode = activity.info.resizeMode; in prepareLimitedBounds()
DSizeCompatTests.java892 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testHandleActivitySizeCompatModeChanged()
949 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsOnResizeableTask()
981 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenUnresizeableAndSupportsSizeChangesTrue()
994 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenUnresizeableAndSupportsSizeChangesFalse()
1007 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenResizeableAndSupportsSizeChangesFalse()
1021 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenUnfixedOrientationSupportsSizeChangesFalse()
1035 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenForceResizeAppOverrideSet()
1049 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenForceNonResizeOverrideSet()
1063 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayInsetsWhenForceNonResizeSetAndUnfixedOrientation()
1076 mActivity.info.resizeMode = RESIZE_MODE_RESIZEABLE; in testShouldCreateCompatDisplayUserAspectRatioFullscreenOverride()
[all …]
DActivityTaskSupervisorTests.java176 unresizableActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testHandleNonResizableTaskOnSecondaryDisplay()
177 task.setResizeMode(unresizableActivity.info.resizeMode); in testHandleNonResizableTaskOnSecondaryDisplay()
194 resizableActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE; in testHandleNonResizableTaskOnSecondaryDisplay()
DTaskLaunchParamsModifierTests.java579 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp()
876 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testForceMaximizesUnresizeableApp()
901 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testLaunchesPortraitSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
920 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testLaunchesLandscapeSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
936 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testLaunchesPortraitUnresizableOnFreeformDisplayWithFreeformSizeCompat()
955 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testSkipsForceMaximizingAppsOnNonFreeformDisplay()
DWindowTestsBase.java1327 ActivityBuilder setResizeMode(int resizeMode) { in setResizeMode() argument
1328 mResizeMode = resizeMode; in setResizeMode()
1451 aInfo.resizeMode = mResizeMode; in buildInner()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetXmlUtil.java98 out.attributeInt(null, ATTR_RESIZE_MODE, info.resizeMode); in writeAppWidgetProviderInfoLocked()
139 info.resizeMode = parser.getAttributeInt(null, ATTR_RESIZE_MODE, 0); in readAppWidgetProviderInfoLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java616 String callingPackage, @Nullable String callingFeatureId, int resizeMode, in Task() argument
626 mResizeMode = resizeMode; in Task()
657 mResizeMode = resizeMode; in Task()
748 void setResizeMode(int resizeMode) { in setResizeMode() argument
749 if (mResizeMode == resizeMode) { in setResizeMode()
752 mResizeMode = resizeMode; in setResizeMode()
758 boolean resize(Rect bounds, int resizeMode, boolean preserveWindow) { in resize() argument
762 final boolean forced = (resizeMode & RESIZE_MODE_FORCED) != 0; in resize()
1032 if (mResizeMode != info.resizeMode) { in setIntent()
1033 mResizeMode = info.resizeMode; in setIntent()
[all …]
DActivityRecord.java1332 pw.println(prefix + "resizeMode=" + ActivityInfo.resizeModeToString(info.resizeMode)); in dump()
3108 if (info.resizeMode == RESIZE_MODE_FORCE_RESIZEABLE in setActivityType()
3109 || info.resizeMode == RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION) { in setActivityType()
3111 info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in setActivityType()
3320 || ActivityInfo.isResizeableMode(info.resizeMode) in isResizeable()
3340 return info.resizeMode != RESIZE_MODE_RESIZEABLE in canForceResizeNonResizable()
3341 && info.resizeMode != RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; in canForceResizeNonResizable()
DActivityTaskManagerService.java1520 a.resizeMode = RESIZE_MODE_UNRESIZEABLE; in startDreamActivityInternal()
2908 public void resizeTask(int taskId, Rect bounds, int resizeMode) { in resizeTask() argument
2925 boolean preserveWindow = (resizeMode & RESIZE_MODE_PRESERVE_WINDOW) != 0; in resizeTask()
2930 task.resize(bounds, resizeMode, preserveWindow); in resizeTask()
2946 task.resize(bounds, resizeMode, preserveWindow); in resizeTask()
/frameworks/base/services/core/java/com/android/server/notification/
DBubbleExtractor.java211 if (!ActivityInfo.isResizeableMode(info.resizeMode)) { in canLaunchInTaskView()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java242 data.getItemAt(0).getActivityInfo().resizeMode = resizeable in setClipDataResizeable()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java143 info.resizeMode = isValid in setUpIntentBubble()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java370 ai.resizeMode = a.getResizeMode(); in generateActivityInfo()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java748 (task.topActivityInfo.resizeMode != RESIZE_MODE_UNRESIZEABLE);

12