/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivityUtils.java | 19 import static android.content.pm.ActivityInfo.LAUNCH_SINGLE_INSTANCE_PER_TASK; 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 31 import android.content.pm.ActivityInfo; 83 ActivityInfo.CONFIG_MCC | ActivityInfo.CONFIG_MNC; 132 …activity.setFlags(activity.getFlags() | (flag(ActivityInfo.FLAG_ALLOW_TASK_REPARENTING, R.styleabl… in parseActivityOrReceiver() 133 …| flag(ActivityInfo.FLAG_ALWAYS_RETAIN_TASK_STATE, R.styleable.AndroidManifestActivity_alwaysRetai… in parseActivityOrReceiver() 134 …| flag(ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH, R.styleable.AndroidManifestActivity_clearTaskOnLaun… in parseActivityOrReceiver() 135 …| flag(ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS, R.styleable.AndroidManifestActivity_excludeFromRece… in parseActivityOrReceiver() 136 …| flag(ActivityInfo.FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS, R.styleable.AndroidManifestActivity_finis… in parseActivityOrReceiver() 137 …| flag(ActivityInfo.FLAG_FINISH_ON_TASK_LAUNCH, R.styleable.AndroidManifestActivity_finishOnTaskLa… in parseActivityOrReceiver() [all …]
|
D | ParsedActivityImpl.java | 19 import static android.content.pm.ActivityInfo.RESIZE_MODE_FORCE_RESIZEABLE; 20 import static android.content.pm.ActivityInfo.RESIZE_MODE_RESIZEABLE; 21 import static android.content.pm.ActivityInfo.RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; 22 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 32 import android.content.pm.ActivityInfo; 81 private int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 82 private int resizeMode = ActivityInfo.RESIZE_MODE_RESIZEABLE; 95 private ActivityInfo.WindowLayout windowLayout; 147 activity.launchMode = ActivityInfo.LAUNCH_MULTIPLE; in makeAppDetailsActivity() 148 activity.documentLaunchMode = ActivityInfo.DOCUMENT_LAUNCH_NONE; in makeAppDetailsActivity() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedActivityTest.kt | 19 import android.content.pm.ActivityInfo in <lambda>() 65 ActivityInfo.WindowLayout(1, 1f, 2, 1f, 3, 4, 5), in <lambda>() 69 ActivityInfo.WindowLayout::width, in <lambda>() 70 ActivityInfo.WindowLayout::widthFraction, in <lambda>() 71 ActivityInfo.WindowLayout::height, in <lambda>() 72 ActivityInfo.WindowLayout::heightFraction, in <lambda>() 73 ActivityInfo.WindowLayout::gravity, in <lambda>() 74 ActivityInfo.WindowLayout::minWidth, in <lambda>() 75 ActivityInfo.WindowLayout::minHeight in <lambda>()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/ |
D | ColorModeControls.kt | 20 import android.content.pm.ActivityInfo in <lambda>() 50 setColorMode(ActivityInfo.COLOR_MODE_DEFAULT) in <lambda>() 53 setColorMode(ActivityInfo.COLOR_MODE_WIDE_COLOR_GAMUT) in <lambda>() 56 setColorMode(ActivityInfo.COLOR_MODE_HDR) in <lambda>() 59 setColorMode(ActivityInfo.COLOR_MODE_HDR10) in <lambda>() 89 if (newMode == ActivityInfo.COLOR_MODE_HDR && in <lambda>() 90 window!!.colorMode == ActivityInfo.COLOR_MODE_HDR) { in <lambda>() 107 ActivityInfo.COLOR_MODE_DEFAULT -> "Default/SRGB" in <lambda>() 108 ActivityInfo.COLOR_MODE_WIDE_COLOR_GAMUT -> "Wide Gamut" in <lambda>() 109 ActivityInfo.COLOR_MODE_HDR -> "HDR (sdr/hdr ratio $sdrHdrRatio)" in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ActivityIntentHelper.java | 22 import android.content.pm.ActivityInfo; 55 ActivityInfo targetActivityInfo = getTargetActivityInfo(intent, currentUserId, in wouldLaunchResolverActivity() 64 ActivityInfo targetActivityInfo = getPendingTargetActivityInfo(intent, currentUserId, in wouldPendingLaunchResolverActivity() 79 public ActivityInfo getTargetActivityInfo(Intent intent, int currentUserId, in getTargetActivityInfo() 105 public ActivityInfo getPendingTargetActivityInfo(PendingIntent intent, int currentUserId, in getPendingTargetActivityInfo() 135 ActivityInfo targetActivityInfo = getTargetActivityInfo(intent, in wouldShowOverLockscreen() 138 && (targetActivityInfo.flags & (ActivityInfo.FLAG_SHOW_WHEN_LOCKED in wouldShowOverLockscreen() 139 | ActivityInfo.FLAG_SHOW_FOR_ALL_USERS)) > 0; in wouldShowOverLockscreen() 146 ActivityInfo targetActivityInfo = getPendingTargetActivityInfo(intent, in wouldPendingShowOverLockscreen() 149 && (targetActivityInfo.flags & (ActivityInfo.FLAG_SHOW_WHEN_LOCKED in wouldPendingShowOverLockscreen() [all …]
|
D | AutoReinflateContainer.java | 19 import android.content.pm.ActivityInfo; 40 ActivityInfo.CONFIG_LOCALE, 41 ActivityInfo.CONFIG_UI_MODE, 42 ActivityInfo.CONFIG_ASSETS_PATHS, 43 ActivityInfo.CONFIG_DENSITY, 44 ActivityInfo.CONFIG_FONT_SCALE
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 51 import android.content.pm.ActivityInfo; 170 ActivityInfo[] activities = new ActivityInfo[1]; in hasMedataData_notDisplayCompat_returnsTrue() 171 activities[0] = new ActivityInfo(); in hasMedataData_notDisplayCompat_returnsTrue() 188 ActivityInfo[] activities = new ActivityInfo[1]; in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 189 activities[0] = new ActivityInfo(); in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 240 ActivityInfo[] activities = new ActivityInfo[1]; in hasDistractionOptimizedActivity_returnsFalse() 241 activities[0] = new ActivityInfo(); in hasDistractionOptimizedActivity_returnsFalse() 253 ActivityInfo[] activities = new ActivityInfo[1]; in isPrivileged_returnsFalse() 254 activities[0] = new ActivityInfo(); in isPrivileged_returnsFalse() 268 ActivityInfo[] activities = new ActivityInfo[1]; in isSystem_returnsFalse() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | InterestingConfigChanges.java | 20 import android.content.pm.ActivityInfo; 35 this(ActivityInfo.CONFIG_LOCALE | ActivityInfo.CONFIG_LAYOUT_DIRECTION in InterestingConfigChanges() 36 | ActivityInfo.CONFIG_UI_MODE | ActivityInfo.CONFIG_ASSETS_PATHS in InterestingConfigChanges() 37 | ActivityInfo.CONFIG_DENSITY); in InterestingConfigChanges()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | GenericWindowPolicyControllerTest.java | 19 import static android.content.pm.ActivityInfo.FLAG_CAN_DISPLAY_ON_REMOTE_DEVICES; 45 import android.content.pm.ActivityInfo; 162 ActivityInfo activityInfo = getActivityInfo( in userNotAllowlisted_launchIsBlocked() 176 ActivityInfo activityInfo = getActivityInfo( in userNotAllowlisted_systemUser_isNotBlocked() 189 ActivityInfo activityInfo = getActivityInfo( in userNotAllowlisted_systemUserCanLaunchBlockedAppStreamingActivity() 202 ActivityInfo activityInfo = getActivityInfo( in openNonBlockedAppOnVirtualDisplay_isNotBlocked() 215 ActivityInfo activityInfo = getActivityInfo( in activityDoesNotSupportDisplayOnRemoteDevices_isBlocked() 228 ActivityInfo activityInfo = getActivityInfo( in openBlockedComponentOnVirtualDisplay_isBlocked() 243 ActivityInfo activityInfo = getActivityInfo( in addActivityPolicyExemption_openBlockedOnVirtualDisplay_isBlocked() 256 ActivityInfo activityInfo = getActivityInfo( in openNotAllowedComponentOnBlocklistVirtualDisplay_isBlocked() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 54 import android.content.pm.ActivityInfo; 55 import android.content.pm.ActivityInfo.Config; 491 if ((diff & ActivityInfo.CONFIG_MCC) != 0) { in configurationDiffToString() 494 if ((diff & ActivityInfo.CONFIG_MNC) != 0) { in configurationDiffToString() 497 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) { in configurationDiffToString() 500 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) { in configurationDiffToString() 503 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) { in configurationDiffToString() 506 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) { in configurationDiffToString() 509 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) { in configurationDiffToString() 512 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) { in configurationDiffToString() [all …]
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | WindowLayoutWrapper.java | 21 import android.content.pm.ActivityInfo; 30 private final ActivityInfo.WindowLayout mLayout; 32 private WindowLayoutWrapper(ActivityInfo.WindowLayout layout) { in WindowLayoutWrapper() 37 public static WindowLayoutWrapper create(@Nullable ActivityInfo.WindowLayout layout) { in create()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET; 21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 55 import android.content.pm.ActivityInfo; 56 import android.content.pm.ActivityInfo.ScreenOrientation; 597 ActivityInfo.screenOrientationToString(lastOrientation), lastOrientation, in updateRotationUnchecked() 602 ActivityInfo.screenOrientationToString(lastOrientation), lastOrientation, in updateRotationUnchecked() 641 ActivityInfo.CONFIG_WINDOW_CONFIGURATION, change); in updateRotationUnchecked() 1164 if (mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR in needSensorRunning() 1165 || mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR in needSensorRunning() 1166 || mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT in needSensorRunning() [all …]
|
D | DisplayRotationCompatPolicy.java | 21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 22 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LOCKED; 23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; 24 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSET; 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 27 import static android.content.pm.ActivityInfo.screenOrientationToString; 38 import android.content.pm.ActivityInfo.ScreenOrientation;
|
D | DisplayWindowPolicyControllerHelper.java | 24 import android.content.pm.ActivityInfo; 74 public boolean canContainActivities(@NonNull List<ActivityInfo> activities, in canContainActivities() 92 public boolean canActivityBeLaunched(ActivityInfo activityInfo, in canActivityBeLaunched() 104 private boolean hasDisplayCategory(ActivityInfo aInfo) { in hasDisplayCategory() 118 boolean keepActivityOnWindowFlagsChanged(ActivityInfo aInfo, int flagChanges, in keepActivityOnWindowFlagsChanged()
|
D | LetterboxUiController.java | 21 import static android.content.pm.ActivityInfo.FORCE_NON_RESIZE_APP; 22 import static android.content.pm.ActivityInfo.FORCE_RESIZE_APP; 23 import static android.content.pm.ActivityInfo.OVERRIDE_ANY_ORIENTATION; 24 import static android.content.pm.ActivityInfo.OVERRIDE_ANY_ORIENTATION_TO_USER; 25 import static android.content.pm.ActivityInfo.OVERRIDE_CAMERA_COMPAT_DISABLE_FORCE_ROTATION; 26 import static android.content.pm.ActivityInfo.OVERRIDE_CAMERA_COMPAT_DISABLE_FREEFORM_WINDOWING_TRE… 27 import static android.content.pm.ActivityInfo.OVERRIDE_CAMERA_COMPAT_DISABLE_REFRESH; 28 import static android.content.pm.ActivityInfo.OVERRIDE_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE; 29 import static android.content.pm.ActivityInfo.OVERRIDE_ENABLE_COMPAT_FAKE_FOCUS; 30 import static android.content.pm.ActivityInfo.OVERRIDE_ENABLE_COMPAT_IGNORE_ORIENTATION_REQUEST_WHE… [all …]
|
D | ActivityInterceptorCallback.java | 26 import android.content.pm.ActivityInfo; 73 default void onActivityLaunched(@NonNull TaskInfo taskInfo, @NonNull ActivityInfo activityInfo, in onActivityLaunched() 189 private final ActivityInfo mActivityInfo; 233 private final ActivityInfo mActivityInfo; 250 @NonNull ResolveInfo rInfo, @NonNull ActivityInfo aInfo) { in Builder() 364 public ActivityInfo getActivityInfo() { in getActivityInfo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverDataProvider.java | 22 import android.content.pm.ActivityInfo; 72 static ActivityInfo createActivityInfo(int i) { in createActivityInfo() 73 ActivityInfo ai = new ActivityInfo(); in createActivityInfo() 94 public ActivityInfo activityInfo; 140 ActivityInfo activityInfo = new ActivityInfo() { in createPackageManagerMockedInfo()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 23 import static android.content.pm.ActivityInfo.OVERRIDE_MIN_ASPECT_RATIO_LARGE_VALUE; 24 import static android.content.pm.ActivityInfo.RESIZE_MODE_RESIZEABLE; 25 import static android.content.pm.ActivityInfo.RESIZE_MODE_UNRESIZEABLE; 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 27 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 28 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 96 import android.content.pm.ActivityInfo; 97 import android.content.pm.ActivityInfo.ScreenOrientation; 343 @DisableCompatChanges({ActivityInfo.INSETS_DECOUPLED_CONFIGURATION_ENFORCED}) 421 @DisableCompatChanges({ActivityInfo.INSETS_DECOUPLED_CONFIGURATION_ENFORCED}) [all …]
|
D | DesktopModeLaunchParamsModifierTests.java | 36 import android.content.pm.ActivityInfo; 201 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_CenterToDisplay() 216 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_LeftGravity() 231 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_TopGravity() 246 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_TopLeftGravity() 261 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setWidth(120) in testNonEmptyLayoutBounds_RightGravity() 276 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBounds_BottomGravity() 291 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBounds_RightBottomGravity() 306 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutFractionBounds() 321 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity() [all …]
|
/frameworks/base/core/java/android/window/ |
D | DisplayWindowPolicyController.java | 29 import android.content.pm.ActivityInfo; 127 public boolean canContainActivities(@NonNull List<ActivityInfo> activities, in canContainActivities() 143 public abstract boolean canActivityBeLaunched(@NonNull ActivityInfo activityInfo, in canActivityBeLaunched() 151 protected abstract boolean canContainActivity(@NonNull ActivityInfo activityInfo, in canContainActivity() 162 ActivityInfo activityInfo, int windowFlags, int systemWindowFlags); in keepActivityOnWindowFlagsChanged()
|
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/ |
D | WindowLayoutWrapperTest.java | 21 import android.content.pm.ActivityInfo; 32 ActivityInfo.WindowLayout layout = new ActivityInfo.WindowLayout( in create_returnsActivityOptionWrapper()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfoInternal.java | 31 @NonNull private ActivityInfo mActivityInfo; 41 public LauncherActivityInfoInternal(@NonNull ActivityInfo info, in LauncherActivityInfoInternal() 51 mActivityInfo = source.readTypedObject(ActivityInfo.CREATOR); in LauncherActivityInfoInternal() 61 public ActivityInfo getActivityInfo() { in getActivityInfo()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | OrientationUtil.java | 21 import android.content.pm.ActivityInfo; 37 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); 44 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesToolItemParser.java | 22 import android.content.pm.ActivityInfo; 73 final List<ActivityInfo> activityInfoList = parseValidActivityInfo(context, nameArrayCpy); in parseStringArray() 92 private static List<ActivityInfo> parseValidActivityInfo(Context context, in parseValidActivityInfo() 95 final List<ActivityInfo> activityInfoList = new ArrayList<>(); in parseValidActivityInfo() 101 ActivityInfo activityInfo = packageManager.getActivityInfo( in parseValidActivityInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | BlockedAppStreamingActivity.java | 20 import android.content.pm.ActivityInfo; 48 …ActivityInfo activityInfo = intent.getParcelableExtra(EXTRA_BLOCKED_ACTIVITY_INFO, android.content… in onCreate() 95 public static Intent createIntent(ActivityInfo activityInfo, CharSequence streamedDeviceName) { in createIntent()
|