Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DTaskInfo.java131 public int resizeMode; field in TaskInfo
187 resizeMode = source.readInt(); in readFromParcel()
222 dest.writeInt(resizeMode); in writeToParcel()
237 + " resizeMode=" + resizeMode; in toString()
DIActivityTaskManager.aidl222 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
DIActivityManager.aidl469 void resizeTask(int taskId, in Rect bounds, int resizeMode); in resizeTask() argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowCallbacksCompat.java37 Rect systemInsets, Rect stableInsets, int resizeMode) {
39 systemInsets, stableInsets, resizeMode);
73 Rect stableInsets, int resizeMode) { } in onWindowDragResizeStart() argument
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java249 public int resizeMode; field in AppWidgetProviderInfo
299 this.resizeMode = in.readInt(); in AppWidgetProviderInfo()
384 out.writeInt(this.resizeMode); in writeToParcel()
407 that.resizeMode = this.resizeMode; in clone()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java215 public int resizeMode; field in Task
262 TaskDescription taskDescription, int resizeMode, ComponentName topActivity, in Task() argument
278 this.resizeMode = resizeMode; in Task()
301 this.resizeMode = o.resizeMode; in copyFrom()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackSupervisorTests.java122 unresizableActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testHandleNonResizableTaskOnSecondaryDisplay()
123 task.setResizeMode(unresizableActivity.info.resizeMode); in testHandleNonResizableTaskOnSecondaryDisplay()
140 resizableActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE; in testHandleNonResizableTaskOnSecondaryDisplay()
DWindowTestUtils.java137 int resizeMode, boolean supportsPictureInPicture, in TestTask() argument
139 super(taskId, stack, userId, service, resizeMode, supportsPictureInPicture, in TestTask()
DActivityDisplayTests.java351 activity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testHandleActivitySizeCompatMode()
375 activity.info.resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE; in testHandleActivitySizeCompatMode()
DActivityRecordTests.java473 mActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()
524 mActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testSizeCompatMode_FixedScreenBoundsWhenDisplaySizeChanged()
628 mActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in prepareFixedAspectRatioUnresizableActivity()
DTaskRecordTests.java525 int callingUid, String callingPackage, int resizeMode, in create() argument
DTaskLaunchParamsModifierTests.java436 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testForceMaximizesUnresizeableApp()
455 mActivity.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in testSkipsForceMaximizingAppsOnNonFreeformDisplay()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java227 public int resizeMode = RESIZE_MODE_RESIZEABLE; field in ActivityInfo
1003 resizeMode = orig.resizeMode; in ActivityInfo()
1174 pw.println(prefix + "resizeMode=" + resizeModeToString(resizeMode)); in dump()
1228 dest.writeInt(resizeMode); in writeToParcel()
1350 resizeMode = source.readInt(); in ActivityInfo()
DPackageParser.java2630 a.info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in adjustPackageToBeUnresizeableAndUnpipable()
4347 a.info.resizeMode = RESIZE_MODE_FORCE_RESIZEABLE; in generateAppDetailsHiddenActivity()
4746 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE; in setActivityResizeMode()
4748 aInfo.resizeMode = RESIZE_MODE_UNRESIZEABLE; in setActivityResizeMode()
4757 aInfo.resizeMode = RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; in setActivityResizeMode()
4764 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY; in setActivityResizeMode()
4766 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY; in setActivityResizeMode()
4768 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZABLE_PRESERVE_ORIENTATION; in setActivityResizeMode()
4770 aInfo.resizeMode = RESIZE_MODE_FORCE_RESIZEABLE; in setActivityResizeMode()
4975 info.resizeMode = target.info.resizeMode; in parseActivityAlias()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DLegacyRecentsImpl.java388 logDockAttempt(mContext, runningTask.topActivity, runningTask.resizeMode); in splitPrimaryTask()
424 public static void logDockAttempt(Context ctx, ComponentName activity, int resizeMode) { in logDockAttempt() argument
425 if (resizeMode == ActivityInfo.RESIZE_MODE_UNRESIZEABLE) { in logDockAttempt()
429 MetricsLogger.count(ctx, getMetricsCounterForResizeMode(resizeMode), 1); in logDockAttempt()
432 private static String getMetricsCounterForResizeMode(int resizeMode) { in getMetricsCounterForResizeMode() argument
433 switch (resizeMode) { in getMetricsCounterForResizeMode()
/frameworks/base/core/java/android/view/
DWindowCallbacks.java60 Rect stableInsets, int resizeMode); in onWindowDragResizeStart() argument
DViewRootImpl.java2160 int resizeMode = mSoftInputMode & in performTraversals() local
2164 if (resizeMode == WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIFIED) { in performTraversals()
2168 resizeMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; in performTraversals()
2171 if (resizeMode == 0) { in performTraversals()
2172 resizeMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN; in performTraversals()
2175 WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST) != resizeMode) { in performTraversals()
2178 resizeMode; in performTraversals()
8752 Rect stableInsets, int resizeMode) { in startDragResizing() argument
8758 initialBounds, fullscreen, systemInsets, stableInsets, resizeMode); in startDragResizing()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java406 int resizeMode, boolean supportsPictureInPicture, boolean _realActivitySuspended, in TaskRecord() argument
438 mResizeMode = resizeMode; in TaskRecord()
524 void setResizeMode(int resizeMode) { in setResizeMode() argument
525 if (mResizeMode == resizeMode) { in setResizeMode()
528 mResizeMode = resizeMode; in setResizeMode()
529 mTask.setResizeable(resizeMode); in setResizeMode()
543 public void requestResize(Rect bounds, int resizeMode) { in requestResize() argument
544 mService.resizeTask(taskId, bounds, resizeMode); in requestResize()
547 boolean resize(Rect bounds, int resizeMode, boolean preserveWindow, boolean deferResume) { in resize() argument
558 final boolean forced = (resizeMode & RESIZE_MODE_FORCED) != 0; in resize()
[all …]
DTask.java119 Task(int taskId, TaskStack stack, int userId, WindowManagerService service, int resizeMode, in Task() argument
126 mResizeMode = resizeMode; in Task()
377 void setResizeable(int resizeMode) { in setResizeable() argument
378 mResizeMode = resizeMode; in setResizeable()
DActivityRecord.java604 pw.println(prefix + "resizeMode=" + ActivityInfo.resizeModeToString(info.resizeMode)); in dump()
1290 if (info.resizeMode == RESIZE_MODE_FORCE_RESIZEABLE in setActivityType()
1291 || info.resizeMode == RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION) { in setActivityType()
1293 info.resizeMode = RESIZE_MODE_UNRESIZEABLE; in setActivityType()
1369 return ActivityInfo.isResizeableMode(info.resizeMode) || info.supportsPictureInPicture(); in isResizeable()
1376 return info.resizeMode != RESIZE_MODE_RESIZEABLE in isNonResizableOrForcedResizable()
1377 && info.resizeMode != RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; in isNonResizableOrForcedResizable()
1413 && (ActivityInfo.isResizeableMode(info.resizeMode) in supportsResizeableMultiWindow()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java154 t.taskDescription, t.resizeMode, t.topActivity, isLocked); in preloadPlan()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java143 event.task.resizeMode); in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java980 if (!ActivityInfo.isResizeableMode(info.resizeMode)) { in canLaunchInActivityView()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2273 Rect stableInsets, int resizeMode) { in onWindowDragResizeStart() argument
2298 mResizeMode = resizeMode; in onWindowDragResizeStart()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2787 final int resizeMode = pretendUserResize ? RESIZE_MODE_USER : RESIZE_MODE_SYSTEM;
2788 mTaskInterface.resizeTask(taskId, bounds, resizeMode);

12