Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/content/res/
DConfiguration.java28 import android.content.pm.ActivityInfo;
29 import android.content.pm.ActivityInfo.Config;
307 if ((diff & ActivityInfo.CONFIG_MCC) != 0) { in configurationDiffToString()
310 if ((diff & ActivityInfo.CONFIG_MNC) != 0) { in configurationDiffToString()
313 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) { in configurationDiffToString()
316 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) { in configurationDiffToString()
319 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) { in configurationDiffToString()
322 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) { in configurationDiffToString()
325 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) { in configurationDiffToString()
328 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) { in configurationDiffToString()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DInterestingConfigChanges.java19 import android.content.pm.ActivityInfo;
30 if (densityChanged || (configChanges&(ActivityInfo.CONFIG_LOCALE in applyNewConfig()
31 |ActivityInfo.CONFIG_UI_MODE|ActivityInfo.CONFIG_SCREEN_LAYOUT)) != 0) { in applyNewConfig()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java35 public class ActivityInfo extends ComponentInfo class
697 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE in getRealConfigChanged()
698 | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE) in getRealConfigChanged()
783 public ActivityInfo() { in ActivityInfo() method in ActivityInfo
786 public ActivityInfo(ActivityInfo orig) { in ActivityInfo() method in ActivityInfo
956 public static final Parcelable.Creator<ActivityInfo> CREATOR
957 = new Parcelable.Creator<ActivityInfo>() {
958 public ActivityInfo createFromParcel(Parcel source) {
959 return new ActivityInfo(source);
961 public ActivityInfo[] newArray(int size) {
[all …]
DPackageInfo.java112 public ActivityInfo[] activities;
120 public ActivityInfo[] receivers;
357 activities = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
358 receivers = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
DLauncherActivityInfo.java40 private ActivityInfo mActivityInfo;
51 LauncherActivityInfo(Context context, ActivityInfo info, UserHandle user) { in LauncherActivityInfo()
/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/core/tests/coretests/src/android/util/
DOrientationUtil.java21 import android.content.pm.ActivityInfo;
38 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
45 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java21 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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBaseLandDataBinderTest.java18 import android.content.pm.ActivityInfo;
23 super(binderClass, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in BaseLandDataBinderTest()
/frameworks/support/core-utils/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/support/core-utils/jellybean/android/support/v4/app/
DNavUtilsJB.java21 import android.content.pm.ActivityInfo;
36 public static String getParentActivityName(ActivityInfo info) { in getParentActivityName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoader.java23 import android.content.pm.ActivityInfo;
178 ActivityInfo info = ssp.getActivityInfo( in run()
261 private final LruCache<ComponentName, ActivityInfo> mActivityInfoCache;
471 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateActivityTitle()
496 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateContentDescription()
529 ActivityInfo activityInfo = getAndUpdateActivityInfo(taskKey); in getAndUpdateActivityIcon()
594 ActivityInfo getAndUpdateActivityInfo(Task.TaskKey taskKey) { in getAndUpdateActivityInfo()
597 ActivityInfo activityInfo = mActivityInfoCache.get(cn); in getAndUpdateActivityInfo()
624 Map<ComponentName, ActivityInfo> activityInfoCache = mActivityInfoCache.snapshot(); in onBusEvent()
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java24 import android.content.pm.ActivityInfo;
146 ActivityInfo info = new ActivityInfo(); in startActivity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java38 import android.content.pm.ActivityInfo;
77 ActivityInfo mAInfo;
96 void intercept(Intent intent, ResolveInfo rInfo, ActivityInfo aInfo, String resolvedType, in intercept()
209 ActivityInfo aInfo, String callingPackage, int userId) { in interceptWithConfirmCredentialsIfNeeded()
DActivityRecord.java22 import static android.content.pm.ActivityInfo.RESIZE_MODE_CROP_WINDOWS;
23 import static android.content.pm.ActivityInfo.FLAG_ALWAYS_FOCUSABLE;
24 import static android.content.pm.ActivityInfo.RESIZE_MODE_RESIZEABLE;
25 import static android.content.pm.ActivityInfo.RESIZE_MODE_RESIZEABLE_AND_PIPABLE;
42 import android.content.pm.ActivityInfo;
111 final ActivityInfo info; // all about me
397 pw.println(prefix + "resizeMode=" + ActivityInfo.resizeModeToString(info.resizeMode)); in dump()
606 ActivityInfo aInfo, Configuration _configuration, in ActivityRecord()
663 && (aInfo.launchMode == ActivityInfo.LAUNCH_MULTIPLE in ActivityRecord()
664 || aInfo.launchMode == ActivityInfo.LAUNCH_SINGLE_TOP))) { in ActivityRecord()
[all …]
DTaskRecord.java31 import android.content.pm.ActivityInfo;
69 import static android.content.pm.ActivityInfo.LOCK_TASK_LAUNCH_MODE_ALWAYS;
70 import static android.content.pm.ActivityInfo.LOCK_TASK_LAUNCH_MODE_DEFAULT;
71 import static android.content.pm.ActivityInfo.LOCK_TASK_LAUNCH_MODE_IF_WHITELISTED;
72 import static android.content.pm.ActivityInfo.LOCK_TASK_LAUNCH_MODE_NEVER;
73 import static android.content.pm.ActivityInfo.RESIZE_MODE_CROP_WINDOWS;
74 import static android.content.pm.ActivityInfo.RESIZE_MODE_FORCE_RESIZEABLE;
273 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord()
294 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord()
398 private void setIntent(Intent _intent, ActivityInfo info) { in setIntent()
[all …]
DLaunchingTaskPositioner.java23 import android.content.pm.ActivityInfo;
116 @Nullable ActivityInfo.WindowLayout windowLayout) { in updateDefaultBounds()
149 private int getFinalWidth(ActivityInfo.WindowLayout windowLayout) { in getFinalWidth()
160 private int getFinalHeight(ActivityInfo.WindowLayout windowLayout) { in getFinalHeight()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/multiconfig/
DLandscapeConfigTest.java26 import android.content.pm.ActivityInfo;
34 super(MultiResLayoutBinding.class, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in LandscapeConfigTest()
DPortraitConfigTest.java25 import android.content.pm.ActivityInfo;
33 super(MultiResLayoutBinding.class, ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); in PortraitConfigTest()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java25 import android.content.pm.ActivityInfo;
130 ActivityInfo ai = null; in getSearchableInfo()
236 ActivityInfo ai = info.activityInfo; in updateSearchableList()
371 ActivityInfo ai = providerList.get(0).activityInfo; in getDefaultGlobalSearchProvider()
399 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java20 import android.content.pm.ActivityInfo;
165 final ActivityInfo activityInfo = resolveInfo.activityInfo; in getInstalledDialerApplications()
220 final ActivityInfo info = resolveInfoList.get(i).activityInfo; in filterByIntent()
/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/core/java/android/app/admin/
DDeviceAdminInfo.java26 import android.content.pm.ActivityInfo;
243 final ActivityInfo mActivityInfo;
276 public DeviceAdminInfo(Context context, ActivityInfo activityInfo) in DeviceAdminInfo()
347 mActivityInfo = ActivityInfo.CREATOR.createFromParcel(source); in DeviceAdminInfo()
370 public ActivityInfo getActivityInfo() { in getActivityInfo()
/frameworks/base/core/java/android/net/
DNetworkScorerAppManager.java24 import android.content.pm.ActivityInfo;
126 final ActivityInfo receiverInfo = receiver.activityInfo; in getAllValidScorers()
150 ActivityInfo activityInfo = configActivities.get(0).activityInfo; in getAllValidScorers()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DPartnerTest.java22 import android.content.pm.ActivityInfo;
114 ActivityInfo activityInfo = new ActivityInfo(); in createResolveInfo()

1234567