Java Code Examples for android.content.pm.activityinfo#isResizeableMode()
The following examples show how to use
android.content.pm.activityinfo#isResizeableMode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Task.java From android_9.0.0_r45 with Apache License 2.0 | 4 votes |
boolean isResizeable() { return ActivityInfo.isResizeableMode(mResizeMode) || mSupportsPictureInPicture || mService.mForceResizableTasks; }
Example 2
Source File: ActivityRecord.java From android_9.0.0_r45 with Apache License 2.0 | 4 votes |
boolean isResizeable() { return ActivityInfo.isResizeableMode(info.resizeMode) || info.supportsPictureInPicture(); }
Example 3
Source File: ActivityRecord.java From android_9.0.0_r45 with Apache License 2.0 | 4 votes |
/** * @return whether this activity supports non-PiP multi-window. */ private boolean supportsResizeableMultiWindow() { return service.mSupportsMultiWindow && !isActivityTypeHome() && (ActivityInfo.isResizeableMode(info.resizeMode) || service.mForceResizableActivities); }
Example 4
Source File: TaskRecord.java From android_9.0.0_r45 with Apache License 2.0 | 4 votes |
private boolean isResizeable(boolean checkSupportsPip) { return (mService.mForceResizableActivities || ActivityInfo.isResizeableMode(mResizeMode) || (checkSupportsPip && mSupportsPictureInPicture)); }