Searched defs:resizeMode (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskWindowContainerListener.java32 void requestResize(Rect bounds, int resizeMode); argument
H A DTaskWindowContainerController.java52 StackWindowController stackController, int userId, Rect bounds, int resizeMode,
55 this(taskId, listener, stackController, userId, bounds, resizeMode,
61 StackWindowController stackController, int userId, Rect bounds, int resizeMode,
78 final Task task = createTask(taskId, stack, userId, resizeMode,
88 Task createTask(int taskId, TaskStack stack, int userId, int resizeMode, argument
90 return new Task(taskId, stack, userId, mService, resizeMode, supportsPictureInPicture,
146 public void setResizeable(int resizeMode) { argument
149 mContainer.setResizeable(resizeMode);
216 void requestResize(Rect bounds, int resizeMode) { argument
217 mHandler.obtainMessage(H.REQUEST_RESIZE, resizeMode,
51 TaskWindowContainerController(int taskId, TaskWindowContainerListener listener, StackWindowController stackController, int userId, Rect bounds, int resizeMode, boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers, TaskDescription taskDescription) argument
60 TaskWindowContainerController(int taskId, TaskWindowContainerListener listener, StackWindowController stackController, int userId, Rect bounds, int resizeMode, boolean supportsPictureInPicture, boolean toTop, boolean showForAllUsers, TaskDescription taskDescription, WindowManagerService service) argument
[all...]
H A DTask.java78 // Resize mode of the task. See {@link ActivityInfo#resizeMode}
103 Task(int taskId, TaskStack stack, int userId, WindowManagerService service, int resizeMode, argument
110 mResizeMode = resizeMode;
319 void setResizeable(int resizeMode) { argument
320 mResizeMode = resizeMode;
/frameworks/base/core/java/android/view/
H A DWindowCallbacks.java59 Rect stableInsets, int resizeMode);
58 onWindowDragResizeStart(Rect initialBounds, boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) argument
H A DViewRootImpl.java1870 int resizeMode = mSoftInputMode &
1874 if (resizeMode == WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIFIED) {
1878 resizeMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE;
1881 if (resizeMode == 0) {
1882 resizeMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN;
1885 WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST) != resizeMode) {
1888 resizeMode;
8106 Rect stableInsets, int resizeMode) {
8112 initialBounds, fullscreen, systemInsets, stableInsets, resizeMode);
8105 startDragResizing(Rect initialBounds, boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DWindowCallbacksCompat.java37 Rect systemInsets, Rect stableInsets, int resizeMode) {
39 systemInsets, stableInsets, resizeMode);
73 Rect stableInsets, int resizeMode) { }
72 onWindowDragResizeStart(Rect initialBounds, boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) argument
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java149 * is greater than minWidth or if horizontal resizing isn't enabled (see {@link #resizeMode}).
158 * is greater than minHeight or if vertical resizing isn't enabled (see {@link #resizeMode}).
244 * <p>This field corresponds to the <code>android:resizeMode</code> attribute in
248 public int resizeMode; field in class:AppWidgetProviderInfo
297 this.resizeMode = in.readInt();
382 out.writeInt(this.resizeMode);
405 that.resizeMode = this.resizeMode;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java165 * Resize mode. See {@link ActivityInfo#resizeMode}.
168 public int resizeMode; field in class:Task
185 TaskDescription taskDescription, int resizeMode, ComponentName topActivity,
201 this.resizeMode = resizeMode;
223 this.resizeMode = o.resizeMode;
182 Task(TaskKey key, Drawable icon, ThumbnailData thumbnail, String title, String titleDescription, int colorPrimary, int colorBackground, boolean isLaunchTarget, boolean isStackTask, boolean isSystemApp, boolean isDockable, TaskDescription taskDescription, int resizeMode, ComponentName topActivity, boolean isLocked) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DTaskRecordTests.java192 int callingUid, String callingPackage, int resizeMode,
183 create(ActivityManagerService service, int taskId, Intent intent, Intent affinityIntent, String affinity, String rootAffinity, ComponentName realActivity, ComponentName origActivity, boolean rootWasReset, boolean autoRemoveRecents, boolean askedCompatMode, int userId, int effectiveUid, String lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, ActivityManager.TaskDescription lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java82 boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) {
103 mResizeMode = resizeMode;
79 BackdropFrameRenderer(DecorView decorView, ThreadedRenderer renderer, Rect initialBounds, Drawable resizingBackgroundDrawable, Drawable captionBackgroundDrawable, Drawable userCaptionBackgroundDrawable, int statusBarColor, int navigationBarColor, boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) argument
H A DDecorView.java2078 Rect stableInsets, int resizeMode) {
2094 stableInsets, resizeMode);
2103 mResizeMode = resizeMode;
2077 onWindowDragResizeStart(Rect initialBounds, boolean fullscreen, Rect systemInsets, Rect stableInsets, int resizeMode) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecents.java491 logDockAttempt(mContext, runningTask.topActivity, runningTask.resizeMode);
535 public static void logDockAttempt(Context ctx, ComponentName activity, int resizeMode) { argument
536 if (resizeMode == ActivityInfo.RESIZE_MODE_UNRESIZEABLE) {
540 MetricsLogger.count(ctx, getMetricsCounterForResizeMode(resizeMode), 1);
543 private static String getMetricsCounterForResizeMode(int resizeMode) { argument
544 switch (resizeMode) {
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowTestUtils.java198 int resizeMode, boolean supportsPictureInPicture,
200 super(taskId, stack, userId, service, resizeMode, supportsPictureInPicture,
258 public void requestResize(Rect bounds, int resizeMode) {
268 TestTask createTask(int taskId, TaskStack stack, int userId, int resizeMode, argument
270 return new TestTask(taskId, stack, userId, mService, resizeMode,
197 TestTask(int taskId, TaskStack stack, int userId, WindowManagerService service, int resizeMode, boolean supportsPictureInPicture, TaskWindowContainerController controller) argument
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java224 public int resizeMode = RESIZE_MODE_RESIZEABLE; field in class:ActivityInfo
971 resizeMode = orig.resizeMode;
1130 pw.println(prefix + "resizeMode=" + resizeModeToString(resizeMode));
1180 dest.writeInt(resizeMode);
1299 resizeMode = source.readInt();
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java234 // Based on the {@link ActivityInfo#resizeMode} of the root activity.
385 int resizeMode, boolean supportsPictureInPicture, boolean _realActivitySuspended,
417 mResizeMode = resizeMode;
471 void setResizeMode(int resizeMode) { argument
472 if (mResizeMode == resizeMode) {
475 mResizeMode = resizeMode;
476 mWindowContainerController.setResizeable(resizeMode);
487 public void requestResize(Rect bounds, int resizeMode) { argument
488 mService.resizeTask(taskId, bounds, resizeMode);
491 boolean resize(Rect bounds, int resizeMode, boolea argument
377 TaskRecord(ActivityManagerService service, int _taskId, Intent _intent, Intent _affinityIntent, String _affinity, String _rootAffinity, ComponentName _realActivity, ComponentName _origActivity, boolean _rootWasReset, boolean _autoRemoveRecents, boolean _askedCompatMode, int _userId, int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription _lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean _realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
2246 create(ActivityManagerService service, int taskId, Intent intent, Intent affinityIntent, String affinity, String rootAffinity, ComponentName realActivity, ComponentName origActivity, boolean rootWasReset, boolean autoRemoveRecents, boolean askedCompatMode, int userId, int effectiveUid, String lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
[all...]
H A DActivityManagerService.java10848 public void resizeTask(int taskId, Rect bounds, int resizeMode) { argument
10878 boolean preserveWindow = (resizeMode & RESIZE_MODE_PRESERVE_WINDOW) != 0;
10888 task.resize(bounds, resizeMode, preserveWindow, !DEFER_RESUME);
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java1560 * The resize mode of the task. See {@link ActivityInfo#resizeMode}.
1563 public int resizeMode; field in class:ActivityManager.RecentTaskInfo
1614 dest.writeInt(resizeMode);
1638 resizeMode = source.readInt();
1781 * The resize mode of the task. See {@link ActivityInfo#resizeMode}.
1784 public int resizeMode; field in class:ActivityManager.RunningTaskInfo
1815 dest.writeInt(resizeMode);
1833 resizeMode = source.readInt();

Completed in 654 milliseconds