Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java158 PackageItemInfo pInfo = tmpPackageItemInfos.get(packageName); in setWidgetsAndShortcuts() local
159 if (pInfo == null) { in setWidgetsAndShortcuts()
160 pInfo = new PackageItemInfo(packageName); in setWidgetsAndShortcuts()
161 pInfo.user = item.user; in setWidgetsAndShortcuts()
162 tmpPackageItemInfos.put(packageName, pInfo); in setWidgetsAndShortcuts()
163 } else if (!myUser.equals(pInfo.user)) { in setWidgetsAndShortcuts()
165 pInfo.user = item.user; in setWidgetsAndShortcuts()
167 mWidgetsList.addToList(pInfo, item); in setWidgetsAndShortcuts()
DGridSizeMigrationTask.java725 LauncherAppWidgetProviderInfo pInfo = AppWidgetManagerCompat.getInstance(
728 if (pInfo != null) {
729 spans = pInfo.getMinSpans(mIdp, mContext);
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DWidgetsListAdapterTest.java138 PackageItemInfo pInfo = new PackageItemInfo(wi.componentName.getPackageName()); in generateSampleMap() local
139 pInfo.title = pInfo.packageName; in generateSampleMap()
140 pInfo.user = wi.user; in generateSampleMap()
141 pInfo.iconBitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8); in generateSampleMap()
142 newMap.addToList(pInfo, wi); in generateSampleMap()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java86 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget() local
88 if (pInfo.isCustomWidget) { in preloadWidget()
107 mWidgetLoadingId, pInfo, options)) { in preloadWidget()
125 (Context) mLauncher, mWidgetLoadingId, pInfo); in preloadWidget()
/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/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java409 PermissionInfo pInfo = getPackageManager().getPermissionInfo(permission, 0); in computePermissionGrantState() local
410 if ((pInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in computePermissionGrantState()
414 if ((pInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in computePermissionGrantState()
418 if ((pInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) != 0 in computePermissionGrantState()
/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/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java66 PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate() local
67 String version = pInfo.versionName; in onCreate()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest.cpp48 void Suggest::getSuggestions(ProximityInfo *pInfo, void *traverseSession, in getSuggestions() argument
56 tSession->setupForGetSuggestions(pInfo, inputCodePoints, inputSize, inputXs, inputYs, times, in getSuggestions()
Dsuggest_interface.h29 virtual void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
Dsuggest.h50 void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
/packages/apps/TV/src/com/android/tv/
DTvApplication.java154 PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate() local
155 mVersionName = pInfo.versionName; in onCreate()
/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/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java587 final AppWidgetProviderInfo pInfo = info.info; in preloadWidget() local
590 if (pInfo.configure != null) { in preloadWidget()
615 getAppWidgetHost().createView(getContext(), mWidgetLoadingId, pInfo); in preloadWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2552 AppWidgetProviderInfo pInfo = hostView.getAppWidgetInfo(); in onDrop() local
2553 if (pInfo != null && pInfo.resizeMode != AppWidgetProviderInfo.RESIZE_NONE in onDrop()