Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/docs/html/distribute/googleplay/promote/
Dbadge-files.jd11 <p>The following links provide the Adobe&reg; Illustrator&reg; (.ai) file for the
21 <a href="{@docRoot}downloads/brand/en_generic_rgb_wo.ai">English (English)</a><br/>
23 <a href="{@docRoot}downloads/brand/af_generic_rgb_wo.ai">Afrikaans (Afrikaans)</a><br/>
25 <a href="{@docRoot}downloads/brand/ar_generic_rgb_wo.ai">العربية (Arabic)</a><br/>
27 <a href="{@docRoot}downloads/brand/be_generic_rgb_wo.ai">Беларуская (Belarusian)</a><br/>
29 <a href="{@docRoot}downloads/brand/bg_generic_rgb_wo.ai">български (Bulgarian)</a><br/>
31 <a href="{@docRoot}downloads/brand/ca_generic_rgb_wo.ai">Català (Catalan)</a><br/>
33 <a href="{@docRoot}downloads/brand/zh-cn_generic_rgb_wo.ai">中文 (中国) (Chinese)</a><br/>
35 … <a href="{@docRoot}downloads/brand/zh-hk_generic_rgb_wo.ai">中文(香港) (Chinese Hong Kong)</a><br/>
37 <a href="{@docRoot}downloads/brand/zh-tw_generic_rgb_wo.ai">中文 (台灣) (Chinese Taiwan)</a><br/>
[all …]
Dbrand.jd54 <a href="{@docRoot}downloads/brand/Android_Robot_outlined.ai">Illustrator (.ai)</a></p>
112 <a href="{@docRoot}downloads/brand/Google_Play_Store.ai">Illustrator (.ai)</a>
167 <p>To create your own size, download an Adobe&reg; Illustrator&reg; (.ai) file for the
/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java121 ApplicationInfo ai = null; in handlePackageAddedLocked() local
123 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
126 if (ai == null) { in handlePackageAddedLocked()
129 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
145 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() argument
146 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
148 (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0); in compatibilityInfoForPackageLocked()
153 public int computeCompatModeLocked(ApplicationInfo ai) { in computeCompatModeLocked() argument
154 boolean enabled = (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0; in computeCompatModeLocked()
155 CompatibilityInfo info = new CompatibilityInfo(ai, in computeCompatModeLocked()
[all …]
DContentProviderRecord.java59 ApplicationInfo ai, ComponentName _name, boolean _singleton) { in ContentProviderRecord() argument
62 uid = ai.uid; in ContentProviderRecord()
63 appInfo = ai; in ContentProviderRecord()
/frameworks/base/core/java/android/content/pm/
DComponentInfo.java82 ApplicationInfo ai = applicationInfo; in loadLabel() local
85 label = pm.getText(packageName, labelRes, ai); in loadLabel()
90 if (ai.nonLocalizedLabel != null) { in loadLabel()
91 return ai.nonLocalizedLabel; in loadLabel()
93 if (ai.labelRes != 0) { in loadLabel()
94 label = pm.getText(packageName, ai.labelRes, ai); in loadLabel()
DPackageParser.java1689 final ApplicationInfo ai = owner.applicationInfo; in parseApplication() local
1698 ai.className = buildClassName(pkgName, name, outError); in parseApplication()
1699 if (ai.className == null) { in parseApplication()
1709 ai.manageSpaceActivityName = buildClassName(pkgName, manageSpaceActivity, in parseApplication()
1716 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseApplication()
1723 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseApplication()
1725 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseApplication()
1732 ai.flags |= ApplicationInfo.FLAG_KILL_AFTER_RESTORE; in parseApplication()
1737 ai.flags |= ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in parseApplication()
1744 if (v != null && (ai.labelRes=v.resourceId) == 0) { in parseApplication()
[all …]
DResolveInfo.java145 ApplicationInfo ai = ci.applicationInfo; in loadLabel() local
147 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
179 ApplicationInfo ai = ci.applicationInfo; in loadIcon() local
181 dr = pm.getDrawable(ci.packageName, icon, ai); in loadIcon()
/frameworks/base/core/java/android/server/search/
DSearchables.java130 ActivityInfo ai = null; in getSearchableInfo() local
132 ai = mPm.getActivityInfo(activity, PackageManager.GET_META_DATA, mUserId); in getSearchableInfo()
140 Bundle md = ai.metaData; in getSearchableInfo()
146 md = ai.applicationInfo.metaData; in getSearchableInfo()
234 ActivityInfo ai = info.activityInfo; in buildSearchableList() local
236 if (newSearchablesMap.get(new ComponentName(ai.packageName, ai.name)) == null) { in buildSearchableList()
237 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai, in buildSearchableList()
369 ActivityInfo ai = providerList.get(0).activityInfo; in getDefaultGlobalSearchProvider() local
370 return new ComponentName(ai.packageName, ai.name); in getDefaultGlobalSearchProvider()
397 ActivityInfo ai = activities.get(0).activityInfo; in findWebSearchActivity() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( in testActivityWithData() local
103 checkMetaData(cn, ai); in testActivityWithData()
105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); in testActivityWithData()
107 assertNull("Meta data returned when not requested", ai.metaData); in testActivityWithData()
113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( in testReceiverWithData() local
116 checkMetaData(cn, ai); in testReceiverWithData()
118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); in testReceiverWithData()
120 assertNull("Meta data returned when not requested", ai.metaData); in testReceiverWithData()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java167 ActionKeyInfo ai = si.findActionKey(KeyEvent.KEYCODE_CALL); in checkSearchable() local
168 if (ai != null) { in checkSearchable()
169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); in checkSearchable()
171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); in checkSearchable()
172 … boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); in checkSearchable()
173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) && in checkSearchable()
174 (ai.getSuggestActionMsgColumn().length() > 0); in checkSearchable()
/frameworks/base/core/java/android/app/
DNativeActivity.java141 ActivityInfo ai; in onCreate() local
160 ai = getPackageManager().getActivityInfo( in onCreate()
162 if (ai.metaData != null) { in onCreate()
163 String ln = ai.metaData.getString(META_DATA_LIB_NAME); in onCreate()
165 ln = ai.metaData.getString(META_DATA_FUNC_NAME); in onCreate()
174 File libraryFile = new File(ai.applicationInfo.nativeLibraryDir, in onCreate()
189 Environment.getExternalStorageAppFilesDirectory(ai.packageName).toString(), in onCreate()
DAliasActivity.java58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate() local
60 parser = ai.loadXmlMetaData(getPackageManager(), in onCreate()
DApplicationPackageManager.java202 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo() local
203 if (ai != null) { in getApplicationInfo()
204 return ai; in getApplicationInfo()
217 ActivityInfo ai = mPM.getActivityInfo(className, flags, mContext.getUserId()); in getActivityInfo() local
218 if (ai != null) { in getActivityInfo()
219 return ai; in getActivityInfo()
232 ActivityInfo ai = mPM.getReceiverInfo(className, flags, mContext.getUserId()); in getReceiverInfo() local
233 if (ai != null) { in getReceiverInfo()
234 return ai; in getReceiverInfo()
773 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, 0, userId); in getResourcesForApplicationAsUser() local
[all …]
DInstrumentation.java369 ActivityInfo ai = intent.resolveActivityInfo( in startActivitySync() local
371 if (ai == null) { in startActivitySync()
375 if (!ai.processName.equals(myProc)) { in startActivitySync()
380 + ai.processName + ": " + intent); in startActivitySync()
384 ai.applicationInfo.packageName, ai.name)); in startActivitySync()
DLoadedApk.java197 ApplicationInfo ai = null; in getLibrariesFor() local
199 ai = ActivityThread.getPackageManager().getApplicationInfo(packageName, in getLibrariesFor()
205 if (ai == null) { in getLibrariesFor()
209 return ai.sharedLibraryFiles; in getLibrariesFor()
DActivityThread.java1774 ApplicationInfo ai = null; in getPackageInfo() local
1776 ai = getPackageManager().getApplicationInfo(packageName, in getPackageInfo()
1782 if (ai != null) { in getPackageInfo()
1783 return getPackageInfo(ai, compatInfo, flags); in getPackageInfo()
1789 public final LoadedApk getPackageInfo(ApplicationInfo ai, CompatibilityInfo compatInfo, in getPackageInfo() argument
1792 boolean securityViolation = includeCode && ai.uid != 0 in getPackageInfo()
1793 && ai.uid != Process.SYSTEM_UID && (mBoundApplication != null in getPackageInfo()
1794 ? !UserHandle.isSameApp(ai.uid, mBoundApplication.appInfo.uid) in getPackageInfo()
1800 String msg = "Requesting code from " + ai.packageName in getPackageInfo()
1801 + " (with uid " + ai.uid + ")"; in getPackageInfo()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java448 ActivityInfo ai = mCurrentResolveList.get(i).activityInfo; in rebuildList() local
450 ai.permission, mLaunchedFromUid, in rebuildList()
451 ai.applicationInfo.uid, ai.exported); in rebuildList()
495 ActivityInfo ai = ii.resolveActivityInfo( in rebuildList() local
497 if (ai == null) { in rebuildList()
503 ri.activityInfo = ai; in rebuildList()
610 ActivityInfo ai = dri.ri.activityInfo; in intentForPosition() local
612 ai.applicationInfo.packageName, ai.name)); in intentForPosition()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java227 ApplicationInfo ai = new ApplicationInfo(); in InputMethodInfo() local
228 ai.packageName = packageName; in InputMethodInfo()
229 ai.enabled = true; in InputMethodInfo()
230 si.applicationInfo = ai; in InputMethodInfo()
/frameworks/base/services/java/com/android/server/
DPreferredComponent.java189 ActivityInfo ai = ri.activityInfo; in sameSet() local
192 if (mSetPackages[j].equals(ai.packageName) in sameSet()
193 && mSetClasses[j].equals(ai.name)) { in sameSet()
DAppWidgetServiceImpl.java1862 ActivityInfo ai = ri.activityInfo; in addProvidersForPackageLocked() local
1863 if ((ai.applicationInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { in addProvidersForPackageLocked()
1866 if (pkgName.equals(ai.packageName)) { in addProvidersForPackageLocked()
1900 ActivityInfo ai = ri.activityInfo; in updateProvidersForPackageLocked() local
1901 if ((ai.applicationInfo.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { in updateProvidersForPackageLocked()
1904 if (pkgName.equals(ai.packageName)) { in updateProvidersForPackageLocked()
1905 ComponentName component = new ComponentName(ai.packageName, ai.name); in updateProvidersForPackageLocked()
1909 keep.add(ai.name); in updateProvidersForPackageLocked()
1915 keep.add(ai.name); in updateProvidersForPackageLocked()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java233 ActivityInfo ai = receiver.activityInfo; in DeviceAdminInfo() local
239 parser = ai.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA); in DeviceAdminInfo()
245 Resources res = pm.getResourcesForApplication(ai.applicationInfo); in DeviceAdminInfo()
295 "Unable to create context for: " + ai.packageName); in DeviceAdminInfo()
DDevicePolicyManager.java1440 ActivityInfo ai; in getAdminInfo() local
1442 ai = mContext.getPackageManager().getReceiverInfo(cn, in getAdminInfo()
1450 ri.activityInfo = ai; in getAdminInfo()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java56 ApplicationInfo ai = app.getPackageManager().getApplicationInfo( in init() local
59 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS in init()
65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, in init()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java593 ApplicationInfo ai = AppGlobals.getPackageManager().getApplicationInfo( in checkCallerIsSystemOrSameApp() local
595 if (!UserHandle.isSameApp(ai.uid, uid)) { in checkCallerIsSystemOrSameApp()
597 + pkg + " which is owned by uid " + ai.uid); in checkCallerIsSystemOrSameApp()
/frameworks/base/core/java/android/view/
DView.java7660 final AttachInfo ai = mAttachInfo;
7661 if (ai != null && !ai.mRecomputeGlobalAttributes) {
7662 if (force || ai.mKeepScreenOn || (ai.mSystemUiVisibility != 0)
7663 || ai.mHasSystemUiListeners) {
7664 ai.mRecomputeGlobalAttributes = true;
8566 final AttachInfo ai = mAttachInfo;
8567 if (ai != null) {
8568 ai.mViewScrollChanged = true;
10271 final AttachInfo ai = mAttachInfo;
10274 if (p != null && ai != null && ai.mHardwareAccelerated) {
[all …]

12