/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ComponentMutateUtils.java | 30 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()
|
D | ParsedActivityImpl.java | 82 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 …]
|
D | ParsedActivityUtils.java | 179 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/ |
D | AppWidgetProviderInfo.java | 323 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/ |
D | TaskInfo.java | 157 public int resizeMode; field in TaskInfo 477 resizeMode = source.readInt(); in readFromParcel() 524 dest.writeInt(resizeMode); in writeToParcel() 562 + " resizeMode=" + resizeMode in toString()
|
D | IActivityTaskManager.aidl | 196 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
|
D | ActivityManager.java | 1966 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()
|
D | IActivityManager.aidl | 576 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 402 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();
|
D | PackageParser.java | 2563 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/ |
D | DragSession.java | 97 || ActivityInfo.isResizeableMode(activityInfo.resizeMode); in update()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TransparentPolicyTest.java | 545 activity.info.resizeMode = isUnresizable in prepareLimitedBounds() 551 task.mResizeMode = activity.info.resizeMode; in prepareLimitedBounds() 552 task.getRootActivity().info.resizeMode = activity.info.resizeMode; in prepareLimitedBounds()
|
D | SizeCompatTests.java | 892 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 …]
|
D | ActivityTaskSupervisorTests.java | 176 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()
|
D | TaskLaunchParamsModifierTests.java | 579 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()
|
D | WindowTestsBase.java | 1327 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/ |
D | AppWidgetXmlUtil.java | 98 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/ |
D | Task.java | 616 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 …]
|
D | ActivityRecord.java | 1332 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()
|
D | ActivityTaskManagerService.java | 1520 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/ |
D | BubbleExtractor.java | 211 if (!ActivityInfo.isResizeableMode(info.resizeMode)) { in canLaunchInTaskView()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 242 data.getItemAt(0).getActivityInfo().resizeMode = resizeable in setClipDataResizeable()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BubbleExtractorTest.java | 143 info.resizeMode = isValid in setUpIntentBubble()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 370 ai.resizeMode = a.getResizeMode(); in generateActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 748 (task.topActivityInfo.resizeMode != RESIZE_MODE_UNRESIZEABLE);
|