Home
last modified time | relevance | path

Searched refs:ActivityInfo (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/core/java/android/content/pm/
DActivityInfo.java34 public class ActivityInfo extends ComponentInfo class
595 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE in getRealConfigChanged()
596 | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE) in getRealConfigChanged()
644 public ActivityInfo() { in ActivityInfo() method in ActivityInfo
647 public ActivityInfo(ActivityInfo orig) { in ActivityInfo() method in ActivityInfo
735 public static final Parcelable.Creator<ActivityInfo> CREATOR
736 = new Parcelable.Creator<ActivityInfo>() {
737 public ActivityInfo createFromParcel(Parcel source) {
738 return new ActivityInfo(source);
740 public ActivityInfo[] newArray(int size) {
[all …]
DPackageInfo.java112 public ActivityInfo[] activities;
120 public ActivityInfo[] receivers;
356 activities = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
357 receivers = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
DActivityInfo.aidl20 parcelable ActivityInfo;
/frameworks/base/core/java/android/content/res/
DConfiguration.java25 import android.content.pm.ActivityInfo;
827 changed |= ActivityInfo.CONFIG_FONT_SCALE; in updateFrom()
831 changed |= ActivityInfo.CONFIG_MCC; in updateFrom()
835 changed |= ActivityInfo.CONFIG_MNC; in updateFrom()
840 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
844 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
853 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
855 … if (delta.userSetLocale && (!userSetLocale || ((changed & ActivityInfo.CONFIG_LOCALE) != 0))) in updateFrom()
857 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
862 changed |= ActivityInfo.CONFIG_TOUCHSCREEN; in updateFrom()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java19 import android.content.pm.ActivityInfo;
48 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in testAttached()
50 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testAttached()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java21 import android.content.pm.ActivityInfo;
87 if ((changes & ~(ActivityInfo.CONFIG_FONT_SCALE | in updateConfiguration()
88 ActivityInfo.CONFIG_KEYBOARD_HIDDEN | in updateConfiguration()
89 ActivityInfo.CONFIG_ORIENTATION)) != 0) { in updateConfiguration()
/frameworks/support/v4/jellybean/android/support/v4/app/
DNavUtilsJB.java21 import android.content.pm.ActivityInfo;
36 public static String getParentActivityName(ActivityInfo info) { in getParentActivityName()
/frameworks/support/v4/java/android/support/v4/app/
DNavUtils.java23 import android.content.pm.ActivityInfo;
46 String getParentActivityName(Context context, ActivityInfo info); in getParentActivityName()
85 public String getParentActivityName(Context context, ActivityInfo info) { in getParentActivityName()
124 public String getParentActivityName(Context context, ActivityInfo info) { in getParentActivityName()
301 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA); in getParentActivityName()
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java24 import android.content.pm.ActivityInfo;
142 ActivityInfo info = new ActivityInfo(); in startActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java20 import android.content.pm.ActivityInfo;
106 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER; in adjustScreenOrientation()
108 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; in adjustScreenOrientation()
111 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in adjustScreenOrientation()
/frameworks/base/core/java/android/net/
DNetworkScorerAppManager.java25 import android.content.pm.ActivityInfo;
96 final ActivityInfo receiverInfo = receiver.activityInfo; in getAllValidScorers()
119 ActivityInfo activityInfo = configActivities.get(0).activityInfo; in getAllValidScorers()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java25 import android.content.pm.ActivityInfo;
130 ActivityInfo ai = null; in getSearchableInfo()
234 ActivityInfo ai = info.activityInfo; in buildSearchableList()
369 ActivityInfo ai = providerList.get(0).activityInfo; in getDefaultGlobalSearchProvider()
397 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java21 import android.content.pm.ActivityInfo;
1074 public int rotationForOrientationLw(@ActivityInfo.ScreenOrientation int orientation, in rotationForOrientationLw()
1090 public boolean rotationHasCompatibleMetricsLw(@ActivityInfo.ScreenOrientation int orientation, in rotationHasCompatibleMetricsLw()
1140 public void setCurrentOrientationLw(@ActivityInfo.ScreenOrientation int newOrientation); in setCurrentOrientationLw()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java22 import android.content.pm.ActivityInfo;
133 resolveInfo.activityInfo = new ActivityInfo(); in buildResolveInfo()
143 configActivityInfo.activityInfo = new ActivityInfo(); in buildResolveInfo()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java20 import android.content.pm.ActivityInfo;
100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( in testActivityWithData()
113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( in testReceiverWithData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java33 import android.content.pm.ActivityInfo;
344 public ActivityInfo getActivityInfo(ComponentName cn, int userId) { in getActivityInfo()
346 if (Constants.DebugFlags.App.EnableSystemServicesProxy) return new ActivityInfo(); in getActivityInfo()
361 public ActivityInfo getActivityInfo(ComponentName cn) { in getActivityInfo()
363 if (Constants.DebugFlags.App.EnableSystemServicesProxy) return new ActivityInfo(); in getActivityInfo()
374 public String getActivityLabel(ActivityInfo info) { in getActivityLabel()
389 public Drawable getActivityIcon(ActivityInfo info, int userId) { in getActivityIcon()
/frameworks/base/core/java/android/app/
DAliasActivity.java23 import android.content.pm.ActivityInfo;
58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate()
DResourcesManager.java21 import android.content.pm.ActivityInfo;
269 changes |= ActivityInfo.CONFIG_SCREEN_LAYOUT in applyConfigurationToResourcesLocked()
270 | ActivityInfo.CONFIG_SCREEN_SIZE in applyConfigurationToResourcesLocked()
271 | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE; in applyConfigurationToResourcesLocked()
DTaskStackBuilder.java23 import android.content.pm.ActivityInfo;
168 ActivityInfo info = pm.getActivityInfo(sourceActivityName, 0); in addParentStack()
DLocalActivityManager.java20 import android.content.pm.ActivityInfo;
56 ActivityInfo activityInfo; // Package manager info about activity.
270 ActivityInfo aInfo = null; in startActivity()
311 if (aInfo.launchMode != ActivityInfo.LAUNCH_MULTIPLE || in startActivity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java38 import android.content.pm.ActivityInfo;
91 final ActivityInfo info; // all about me
382 ActivityInfo aInfo, Configuration _configuration, in ActivityRecord()
428 || aInfo.launchMode == ActivityInfo.LAUNCH_MULTIPLE in ActivityRecord()
429 || aInfo.launchMode == ActivityInfo.LAUNCH_SINGLE_TOP) { in ActivityRecord()
437 ActivityInfo.FLAG_STATE_NOT_NEEDED) != 0; in ActivityRecord()
456 if ((aInfo.flags&ActivityInfo.FLAG_HARDWARE_ACCELERATED) != 0) { in ActivityRecord()
459 if ((aInfo.flags&ActivityInfo.FLAG_MULTIPROCESS) != 0 in ActivityRecord()
468 if (intent != null && (aInfo.flags & ActivityInfo.FLAG_EXCLUDE_FROM_RECENTS) != 0) { in ActivityRecord()
501 immersive = (aInfo.flags & ActivityInfo.FLAG_IMMERSIVE) != 0; in ActivityRecord()
[all …]
DTaskRecord.java35 import android.content.pm.ActivityInfo;
168 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord()
183 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord()
277 private void setIntent(Intent _intent, ActivityInfo info) { in setIntent()
280 (info.flags & ActivityInfo.FLAG_RELINQUISH_TASK_IDENTITY) == 0; in setIntent()
339 if ((info.flags & ActivityInfo.FLAG_AUTO_REMOVE_FROM_RECENTS) != 0) { in setIntent()
347 if (info.documentLaunchMode != ActivityInfo.DOCUMENT_LAUNCH_NONE) { in setIntent()
671 if (ret.launchMode == ActivityInfo.LAUNCH_MULTIPLE in performClearTaskLocked()
742 (mActivities.get(0).info.flags & ActivityInfo.FLAG_RELINQUISH_TASK_IDENTITY) != 0; in updateTaskDescription()
746 if (relinquish && (r.info.flags & ActivityInfo.FLAG_RELINQUISH_TASK_IDENTITY) == 0) { in updateTaskDescription()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java23 import android.content.pm.ActivityInfo;
79 public Intent getReplacementIntent(ActivityInfo aInfo, Intent defIntent) { in getReplacementIntent()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java207 final ActivityInfo activityInfo = in testGetDisabledActivityInfo()
220 ActivityInfo activityInfo = in testGetEnabledActivityInfo()
464 final ActivityInfo activityInfo = in testGetDisabledReceiverInfo()
477 ActivityInfo activityInfo = in testGetEnabledReceiverInfo()
499 ActivityInfo activityInfo = in testEnableReceiver()
511 ActivityInfo activityInfo = in testDisableReceiver()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java23 import android.content.pm.ActivityInfo;
256 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in isActivityEnabled()
280 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in startActivityAsUser()
293 ActivityInfo activityInfo = apps.get(i).activityInfo; in startActivityAsUser()

1234