/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
D | ActivityInfo.java | 35 public class ActivityInfo implements Parcelable { class 42 public ActivityInfo(String packageName, String activityName) { in ActivityInfo() method in ActivityInfo 63 } else if (other instanceof ActivityInfo) { in equals() 64 return equals((ActivityInfo) other); in equals() 69 private boolean equals(ActivityInfo other) { in equals() 81 private ActivityInfo(Parcel in) { in ActivityInfo() method in ActivityInfo 93 public static final Parcelable.Creator<ActivityInfo> CREATOR 94 = new Parcelable.Creator<ActivityInfo>() { 95 public ActivityInfo createFromParcel(Parcel in) { 96 return new ActivityInfo(in); [all …]
|
D | AppIntentEvent.java | 58 public final ActivityInfo oldActivityInfo; 59 public final ActivityInfo newActivityInfo; 63 public static AppIntentEvent createDefaultIntentChanged(ActivityInfo oldActivityInfo, in createDefaultIntentChanged() 64 ActivityInfo newActivityInfo) { in createDefaultIntentChanged() 69 private AppIntentEvent(@Type int type, ActivityInfo oldActivityInfo, in AppIntentEvent() 70 ActivityInfo newActivityInfo) { in AppIntentEvent() 116 this.oldActivityInfo = ActivityInfo.CREATOR.createFromParcel(in); in AppIntentEvent() 117 this.newActivityInfo = ActivityInfo.CREATOR.createFromParcel(in); in AppIntentEvent()
|
D | ActivityHintEvent.java | 77 public final ActivityInfo activityInfo; 79 public ActivityHintEvent(@Type int type, ActivityInfo activityInfo) { in ActivityHintEvent() 119 this.activityInfo = ActivityInfo.CREATOR.createFromParcel(in); in ActivityHintEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 30 import android.content.pm.ActivityInfo; 80 private int mCurrentAppOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 476 if (mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR in needSensorRunning() 477 || mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR in needSensorRunning() 478 || mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT in needSensorRunning() 479 || mCurrentAppOrientation == ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE) { in needSensorRunning() 597 } else if (orientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) { in rotationForOrientation() 605 && (orientation == ActivityInfo.SCREEN_ORIENTATION_USER in rotationForOrientation() 606 || orientation == ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED in rotationForOrientation() 607 || orientation == ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE in rotationForOrientation() [all …]
|
D | TaskLaunchParamsModifier.java | 23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 24 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LOCKED; 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 27 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE; 28 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT; 29 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE; 30 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT; 31 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; 32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE; [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | InterestingConfigChanges.java | 19 import android.content.pm.ActivityInfo; 29 this(ActivityInfo.CONFIG_LOCALE in InterestingConfigChanges() 30 | ActivityInfo.CONFIG_UI_MODE | ActivityInfo.CONFIG_SCREEN_LAYOUT in InterestingConfigChanges() 31 | ActivityInfo.CONFIG_ASSETS_PATHS); in InterestingConfigChanges()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 51 import android.content.pm.ActivityInfo; 52 import android.content.pm.ActivityInfo.Config; 417 if ((diff & ActivityInfo.CONFIG_MCC) != 0) { in configurationDiffToString() 420 if ((diff & ActivityInfo.CONFIG_MNC) != 0) { in configurationDiffToString() 423 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) { in configurationDiffToString() 426 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) { in configurationDiffToString() 429 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) { in configurationDiffToString() 432 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) { in configurationDiffToString() 435 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) { in configurationDiffToString() 438 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) { in configurationDiffToString() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ActivityIntentHelper.java | 21 import android.content.pm.ActivityInfo; 47 ActivityInfo targetActivityInfo = getTargetActivityInfo(intent, currentUserId, in wouldLaunchResolverActivity() 62 public ActivityInfo getTargetActivityInfo(Intent intent, int currentUserId, in getTargetActivityInfo() 92 ActivityInfo targetActivityInfo = getTargetActivityInfo(intent, in wouldShowOverLockscreen() 95 && (targetActivityInfo.flags & (ActivityInfo.FLAG_SHOW_WHEN_LOCKED in wouldShowOverLockscreen() 96 | ActivityInfo.FLAG_SHOW_FOR_ALL_USERS)) > 0; in wouldShowOverLockscreen()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootActivityContainerTests.java | 26 import static android.content.pm.ActivityInfo.FLAG_ALWAYS_FOCUSABLE; 58 import android.content.pm.ActivityInfo; 551 final ActivityInfo info = new ActivityInfo(); in testCanStartHomeWhenInstrumented() 620 final ActivityInfo info = new ActivityInfo(); in testStartResolverActivityForHome() 640 final ActivityInfo aInfoDefault = new ActivityInfo(); in testResolveSecondaryHomeActivityWhenDefaultHomeNotSet() 649 final ActivityInfo aInfoSecondary = new ActivityInfo(); in testResolveSecondaryHomeActivityWhenDefaultHomeNotSet() 655 final Pair<ActivityInfo, Intent> resolvedInfo = mRootActivityContainer in testResolveSecondaryHomeActivityWhenDefaultHomeNotSet() 681 final ActivityInfo aInfoSecondary = new ActivityInfo(); in testResolveSecondaryHomeActivityForced() 688 final ActivityInfo aInfoDefault = new ActivityInfo(); in testResolveSecondaryHomeActivityForced() 698 resolveInfo1.activityInfo = new ActivityInfo(); in testResolveSecondaryHomeActivityForced() [all …]
|
D | ActivityRecordTests.java | 61 import android.content.pm.ActivityInfo; 284 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_ORIENTATION; in testSetsRelaunchReason_NotDragResizing() 306 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_ORIENTATION; in testSetsRelaunchReason_DragResizing() 330 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_FONT_SCALE; in testSetsRelaunchReason_NonResizeConfigChanges() 352 mActivity.info.configChanges |= ActivityInfo.CONFIG_ORIENTATION; in testSetRequestedOrientationUpdatesConfiguration() 367 requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testSetRequestedOrientationUpdatesConfiguration() 370 requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration() 425 mActivity.info.configChanges |= ActivityInfo.CONFIG_ORIENTATION; in testPushConfigurationWhenLaunchTaskBehind() 471 doReturn(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) in testSizeCompatMode_FixedAspectRatioBoundsWithDecor() 473 mActivity.info.resizeMode = ActivityInfo.RESIZE_MODE_UNRESIZEABLE; in testSizeCompatMode_FixedAspectRatioBoundsWithDecor() [all …]
|
D | TaskLaunchParamsModifierTests.java | 24 import static android.content.pm.ActivityInfo.RESIZE_MODE_UNRESIZEABLE; 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 26 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; 27 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; 39 import android.content.pm.ActivityInfo; 307 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformOnFreeformDisplay() 324 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformWithEmptySize() 336 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutUsesFullscreenWithResizeableActivity() 567 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity() 583 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | IconLoader.java | 23 import android.content.pm.ActivityInfo; 43 protected final LruCache<ComponentName, ActivityInfo> mActivityInfoCache; 46 ActivityInfo> activityInfoCache) { in IconLoader() 58 public ActivityInfo getAndUpdateActivityInfo(Task.TaskKey taskKey) { in getAndUpdateActivityInfo() 60 ActivityInfo activityInfo = mActivityInfoCache.get(cn); in getAndUpdateActivityInfo() 132 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in createNewIconForTask() 158 protected abstract Drawable getBadgedActivityIcon(ActivityInfo info, int userId, in getBadgedActivityIcon() 167 LruCache<ComponentName, ActivityInfo> activityInfoCache) { in DefaultIconLoader() 192 protected Drawable getBadgedActivityIcon(ActivityInfo info, int userId, in getBadgedActivityIcon()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverDataProvider.java | 22 import android.content.pm.ActivityInfo; 61 static ActivityInfo createActivityInfo(int i) { in createActivityInfo() 62 ActivityInfo ai = new ActivityInfo(); in createActivityInfo() 83 public ActivityInfo activityInfo; 129 ActivityInfo activityInfo = new ActivityInfo() { in createPackageManagerMockedInfo()
|
D | AbstractResolverComparatorTest.java | 24 import android.content.pm.ActivityInfo; 58 pmInfo1.activityInfo = new ActivityInfo(); in testBothPinned() 66 pmInfo2.activityInfo = new ActivityInfo(); in testBothPinned()
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 40 public class ActivityInfo extends ComponentInfo implements Parcelable { class 884 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE in getRealConfigChanged() 885 | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE) in getRealConfigChanged() 982 public ActivityInfo() { in ActivityInfo() method in ActivityInfo 985 public ActivityInfo(ActivityInfo orig) { in ActivityInfo() method in ActivityInfo 1318 public static final @android.annotation.NonNull Parcelable.Creator<ActivityInfo> CREATOR 1319 = new Parcelable.Creator<ActivityInfo>() { 1320 public ActivityInfo createFromParcel(Parcel source) { 1321 return new ActivityInfo(source); 1323 public ActivityInfo[] newArray(int size) { [all …]
|
/frameworks/base/startop/iorap/tests/src/com/google/android/startop/iorap/ |
D | ParcelablesTest.kt | 42 ActivityInfo("some package", "some other activity")), in <lambda>() 76 private fun newActivityInfo(): ActivityInfo { in <lambda>() 77 return ActivityInfo("some package", "some activity") in <lambda>() 80 private fun newActivityInfoOther(): ActivityInfo { in <lambda>() 81 return ActivityInfo("some package 2", "some activity 2") in <lambda>()
|
/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/core/tests/coretests/src/android/view/ |
D | ViewAttachTest.java | 19 import android.content.pm.ActivityInfo; 55 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testAttached() 57 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testAttached()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 21 import android.content.pm.ActivityInfo; 61 ActivityInfo.CONFIG_FONT_SCALE | ActivityInfo.CONFIG_LOCALE 62 | ActivityInfo.CONFIG_ASSETS_PATHS | ActivityInfo.CONFIG_UI_MODE);
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 21 import android.content.pm.ActivityInfo; 108 if ((changes & ~(ActivityInfo.CONFIG_FONT_SCALE | in updateConfiguration() 109 ActivityInfo.CONFIG_KEYBOARD_HIDDEN | in updateConfiguration() 110 ActivityInfo.CONFIG_ORIENTATION)) != 0) { in updateConfiguration()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 24 import android.content.pm.ActivityInfo; 70 private final LruCache<ComponentName, ActivityInfo> mActivityInfoCache; 121 LruCache<ComponentName, ActivityInfo> activityInfoCache) { in createNewIconLoader() 256 Map<ComponentName, ActivityInfo> activityInfoCache = mActivityInfoCache.snapshot(); in onPackageChanged() 281 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateActivityTitle() 305 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateContentDescription() 391 ActivityInfo getAndUpdateActivityInfo(TaskKey taskKey) { in getAndUpdateActivityInfo()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 40 import android.content.pm.ActivityInfo; 246 ActivityInfo activityInfo = new ActivityInfo(); in makeSmsDeliverResolveInfo() 259 ActivityInfo activityInfo = new ActivityInfo(); in makeWapPushResolveInfo() 283 ActivityInfo activityInfo = new ActivityInfo(); in makeSendToResolveInfo()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | Tile.java | 32 import android.content.pm.ActivityInfo; 70 private ActivityInfo mActivityInfo; 75 public Tile(ActivityInfo activityInfo, String category) { in Tile() 186 final ActivityInfo activityInfo = getActivityInfo(context); in getTitle() 276 final ActivityInfo activityInfo = getActivityInfo(context); in getIcon() 341 private ActivityInfo getActivityInfo(Context context) { in getActivityInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
D | FragmentHostManager.java | 25 import android.content.pm.ActivityInfo; 56 ActivityInfo.CONFIG_FONT_SCALE | ActivityInfo.CONFIG_LOCALE 57 | ActivityInfo.CONFIG_SCREEN_LAYOUT | ActivityInfo.CONFIG_ASSETS_PATHS 58 | ActivityInfo.CONFIG_UI_MODE);
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 25 import android.content.pm.ActivityInfo; 264 public abstract ActivityInfo getActivityInfoForUser(ActivityInfo aInfo, int userId); in getActivityInfoForUser() 310 public abstract void setDebugFlagsForStartingActivity(ActivityInfo aInfo, int startFlags, in setDebugFlagsForStartingActivity()
|