Home
last modified time | relevance | path

Searched refs:pInfo (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/
DSimpleWidgetsSearchAlgorithmTest.java173 PackageItemInfo pInfo = createPackageItemInfo(packageName, appName, in createWidgetsHeaderEntry() local
176 return new WidgetsListHeaderEntry(pInfo, /* titleSectionName= */ "", widgetItems); in createWidgetsHeaderEntry()
182 PackageItemInfo pInfo = createPackageItemInfo(packageName, appName, in createWidgetsContentEntry() local
185 return new WidgetsListContentEntry(pInfo, /* titleSectionName= */ "", widgetItems); in createWidgetsContentEntry()
190 PackageItemInfo pInfo = new PackageItemInfo(packageName); in createPackageItemInfo() local
191 pInfo.title = appName; in createPackageItemInfo()
192 pInfo.user = userHandle; in createPackageItemInfo()
193 pInfo.bitmap = BitmapInfo.of(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8), 0); in createPackageItemInfo()
194 return pInfo; in createPackageItemInfo()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsDiffReporterTest.java272 PackageItemInfo pInfo = createPackageItemInfo(packageName, appName, in createWidgetsHeaderEntry() local
275 return new WidgetsListHeaderEntry(pInfo, /* titleSectionName= */ "", widgetItems); in createWidgetsHeaderEntry()
281 PackageItemInfo pInfo = createPackageItemInfo(packageName, appName, in createWidgetsContentEntry() local
284 return new WidgetsListContentEntry(pInfo, /* titleSectionName= */ "", widgetItems); in createWidgetsContentEntry()
289 PackageItemInfo pInfo = new PackageItemInfo(packageName); in createPackageItemInfo() local
290 pInfo.title = appName; in createPackageItemInfo()
291 pInfo.user = userHandle; in createPackageItemInfo()
292 pInfo.bitmap = BitmapInfo.of(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8), 0); in createPackageItemInfo()
293 return pInfo; in createPackageItemInfo()
DWidgetsListAdapterTest.java255 PackageItemInfo pInfo = new PackageItemInfo(packageName); in generateSampleMap() local
256 pInfo.title = pInfo.packageName; in generateSampleMap()
257 pInfo.user = widgetItems.get(0).user; in generateSampleMap()
258 pInfo.bitmap = BitmapInfo.of(Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8), 0); in generateSampleMap()
260 result.add(new WidgetsListHeaderEntry(pInfo, /* titleSectionName= */ "", widgetItems)); in generateSampleMap()
261 result.add(new WidgetsListContentEntry(pInfo, /* titleSectionName= */ "", widgetItems)); in generateSampleMap()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java81 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget() local
83 if (pInfo.isCustomWidget()) { in preloadWidget()
102 mWidgetLoadingId, pInfo, options)) { in preloadWidget()
120 (Context) mLauncher, mWidgetLoadingId, pInfo); in preloadWidget()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java327 PackageItemInfo pInfo = mMap.get(key); in getOrCreate() local
328 if (pInfo == null) { in getOrCreate()
329 pInfo = new PackageItemInfo(key.mPackage, key.mCategory); in getOrCreate()
330 pInfo.user = key.mUser; in getOrCreate()
331 mMap.put(key, pInfo); in getOrCreate()
333 return pInfo; in getOrCreate()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DPackageVersionFeature.java42 PackageInfo pInfo = context.getPackageManager().getPackageInfo(mPackageName, 0); in isEnabled() local
43 return pInfo != null && pInfo.versionCode >= mRequiredVersionCode; in isEnabled()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.cpp42 void DicTraverseSession::setupForGetSuggestions(const ProximityInfo *pInfo, in setupForGetSuggestions() argument
46 mProximityInfo = pInfo; in setupForGetSuggestions()
Ddic_traverse_session.h67 void setupForGetSuggestions(const ProximityInfo *pInfo, const int *inputCodePoints,
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissionsPreferenceController.java83 .filter(pInfo -> pInfo.permissions != null) in queryPermissionSummary()
/packages/apps/SecureElement/src/com/android/se/security/
DAccessControlEnforcer.java455 public synchronized boolean checkCarrierPrivilege(PackageInfo pInfo, boolean checkRefreshTag) { in checkCarrierPrivilege() argument
471 List<byte[]> appCertHashes = getAppCertHashes(pInfo.packageName); in checkCarrierPrivilege()
476 return mAccessRuleCache.checkCarrierPrivilege(pInfo.packageName, appCertHashes); in checkCarrierPrivilege()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_interface.h29 virtual void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
Dsuggest.cpp48 void Suggest::getSuggestions(ProximityInfo *pInfo, void *traverseSession, in getSuggestions() argument
56 tSession->setupForGetSuggestions(pInfo, inputCodePoints, inputSize, inputXs, inputYs, times, in getSuggestions()
Dsuggest.h50 void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
/packages/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java107 PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate() local
108 String version = pInfo.versionName; in onCreate()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java153 PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate() local
154 mVersionName = pInfo.versionName; in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java633 LauncherAppWidgetProviderInfo pInfo = in loadWorkspaceEntries() local
636 if (pInfo != null) { in loadWorkspaceEntries()
637 spans = pInfo.getMinSpans(); in loadWorkspaceEntries()
DGridSizeMigrationTask.java732 LauncherAppWidgetProviderInfo pInfo =
735 if (pInfo != null) {
736 spans = pInfo.getMinSpans();
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java854 public boolean checkCarrierPrivilegeRules(PackageInfo pInfo) { in checkCarrierPrivilegeRules() argument
868 return mAccessControlEnforcer.checkCarrierPrivilege(pInfo, checkRefreshTag); in checkCarrierPrivilegeRules()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp193 ProximityInfo *pInfo = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_BinaryDictionary_getSuggestions() local
249 dictionary->getSuggestions(pInfo, traverseSession, xCoordinates, yCoordinates, in latinime_BinaryDictionary_getSuggestions()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1901 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop() local
1902 if (pInfo != null && pInfo.resizeMode != AppWidgetProviderInfo.RESIZE_NONE in onDrop()