/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InstallShortcutReceiver.java | 81 SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) { 86 .key(DATA_INTENT_KEY).value(info.data.toUri(0)) 87 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0)) 88 .key(NAME_KEY).value(info.name); 89 if (info.icon != null) { 90 byte[] iconByteArray = ItemInfo.flattenBitmap(info.icon); 95 if (info.iconResource != null) { 96 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName); 98 .value(info.iconResource.packageName); 141 PendingInstallShortcutInfo info 80 addToInstallQueue( SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) argument [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperChange.java | 66 WallpaperInfo info = null; 68 info = new WallpaperInfo(this, ri); 79 intent.setClassName(info.getPackageName(), info.getServiceName()); 80 LiveWallpaperPreview.showPreview(this, 0, intent, info);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
H A D | LauncherAppsCompatV16.java | 65 for (ResolveInfo info : infos) { 66 list.add(new LauncherActivityInfoCompatV16(mContext, info)); 72 ResolveInfo info = mPm.resolveActivity(intent, 0); 73 if (info != null) { 74 return new LauncherActivityInfoCompatV16(mContext, info); 116 PackageInfo info = mPm.getPackageInfo(packageName, 0); 117 return info != null && info.applicationInfo.enabled; 125 ActivityInfo info = mPm.getActivityInfo(component, 0); 126 return info ! [all...] |
H A D | PackageInstallerCompatV16.java | 145 PackageInstallInfo info = new PackageInstallInfo(packageName); 148 info.state = object.getInt(KEY_STATE); 149 info.progress = object.getInt(KEY_PROGRESS); 153 return info; 156 private static String infoToJson(PackageInstallInfo info) { argument 161 .key(KEY_STATE).value(info.state) 162 .key(KEY_PROGRESS).value(info.progress)
|
/packages/apps/Email/src/com/android/email/ |
H A D | EmailConnectivityManager.java | 145 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); 146 return (info != null); 164 NetworkInfo info = cm.getActiveNetworkInfo(); 165 if (info == null) return NO_ACTIVE_NETWORK; 166 return info.getType(); 180 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); 181 if (info != null) {
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | ThirdPartyWallpaperPickerListAdapter.java | 86 for (ResolveInfo info : apps) { 88 new ComponentName(info.activityInfo.packageName, info.activityInfo.name); 104 mThirdPartyWallpaperPickers.add(new ThirdPartyWallpaperTile(info)); 131 ResolveInfo info = mThirdPartyWallpaperPickers.get(position).mResolveInfo; 133 label.setText(info.loadLabel(mPackageManager)); 134 Drawable icon = info.loadIcon(mPackageManager);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 194 public void bindAppWidget(LauncherAppWidgetInfo info); argument 214 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn); argument 393 for (AppInfo info : restoredAppsFinal) { 394 final Intent intent = info.getIntent(); 397 info.user); 492 throw new RuntimeException("Unexpected info type"); 515 ItemInfo info = addedShortcutsFinal.get(addedShortcutsFinal.size() - 1); 516 long lastScreenId = info.screenId; 1083 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn) { 1084 return cn.getPackageName().equals(pn) && info 1211 deleteFolderContentsFromDatabase(Context context, final FolderInfo info) argument 3593 queueIconToBeChecked(HashMap<Object, byte[]> cache, ShortcutInfo info, Cursor c, int iconIndex) argument 3611 updateSavedIcon(Context context, ShortcutInfo info, byte[] data) argument 3674 getComponentNameFromResolveInfo(ResolveInfo info) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertService.java | 341 NotificationInfo info = highPriorityEvents.get(i); 342 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 343 info.allDay, info.location); 344 postNotification(info, summaryText, context, true, notificationPrefs, nm, 349 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); 358 NotificationInfo info = mediumPriorityEvents.get(i); 361 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, 362 info.allDay, info 513 getNextRefreshTime(NotificationInfo info, long currentTime) argument 862 postNotification(NotificationInfo info, String summaryText, Context context, boolean highPriority, NotificationPrefs prefs, NotificationMgr notificationMgr, int notificationId) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaByDayAdapter.java | 179 // If we have no row info, mAgendaAdapter returns the view. 261 // is the same. RowInfo has the correct info , so take it from there. 293 public void changeCursor(DayAdapterInfo info) { argument 294 calculateDays(info); 295 mAgendaAdapter.changeCursor(info.cursor); 340 MultipleDayInfo info = iter.next(); 343 if (info.mEndDay < currentDay) { 355 info.mEventStartTimeMilli, mTimeZone); 357 long infoEndTime = (info.mEndDay == currentDay) ? 358 info [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | ManagedServiceSettings.java | 234 ServiceInfo info = resolveInfo.serviceInfo; 236 if (!c.permission.equals(info.permission)) { 238 + info.packageName + "/" + info.name 244 adapter.add(info); 251 private boolean isServiceEnabled(ServiceInfo info) { argument 252 final ComponentName cn = new ComponentName(info.packageName, info.name); 258 ServiceInfo info = mListAdapter.getItem(position); 259 final ComponentName cn = new ComponentName(info [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | GalleryActivity.java | 122 TabInfo info = new TabInfo(clss, args); 123 tab.setTag(info); 125 mTabs.add(info); 137 TabInfo info = mTabs.get(position); 138 return Fragment.instantiate(mActivity, info.clss.getName(), 139 info.args);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | EventViewer.java | 44 PackedString info = new PackedString(msg.mMeetingInfo); 45 String uid = info.get(MeetingInfo.MEETING_UID); 69 time = Utility.parseEmailDateTimeToMillis(info.get(MeetingInfo.MEETING_DTSTART));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | IngestObjectInfo.java | 9 * Holds the info needed for the in-memory index of MTP objects. 51 MtpObjectInfo info = device.getObjectInfo(mHandle); 52 if (info != null) { 53 return info.getName();
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | HeaderGridView.java | 112 FixedViewInfo info = new FixedViewInfo(); 115 info.view = v; 116 info.viewContainer = fl; 117 info.data = data; 118 info.isSelectable = isSelectable; 119 mHeaderViewInfos.add(info); 169 FixedViewInfo info = where.get(i); 170 if (info.view == v) { 263 for (FixedViewInfo info : infos) { 264 if (!info [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | RealSystemFacade.java | 71 NetworkInfo info = connectivity.getActiveNetworkInfo(); 72 boolean isMobile = (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE);
|
/packages/apps/Settings/src/com/android/settings/net/ |
H A D | UidDetailProvider.java | 137 final UserInfo info = um.getUserInfo(userHandle); 138 if (info != null) { 139 if (info.isManagedProfile()) { 145 info.name); 146 detail.icon = Utils.getUserIcon(mContext, um, info); 160 final ApplicationInfo info = ipm.getApplicationInfo(packageNames[0], 162 if (info != null) { 163 detail.label = info.loadLabel(pm).toString(); 164 detail.icon = um.getBadgedIconForUser(info.loadIcon(pm),
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictDecoderUtils.java | 309 PtNodeInfo info = dictDecoder.readPtNode(groupPos); 310 groupPos = info.mEndAddress; 311 if (info.mOriginalAddress == pos) { 312 builder.append(new String(info.mCharacters, 0, info.mCharacters.length)); 313 result = new WeightedString(builder.toString(), info.mProbabilityInfo); 316 if (BinaryDictIOUtils.hasChildrenAddress(info.mChildrenAddress)) { 317 if (info.mChildrenAddress > pos) { 326 last = info;
|
/packages/apps/Settings/src/com/android/settings/users/ |
H A D | AppRestrictionsFragment.java | 364 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 366 if (info == null || info.enabled == false 367 || (info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { 373 if (info != null && (info.flags&ApplicationInfo.FLAG_HIDDEN) != 0 374 && (info.flags&ApplicationInfo.FLAG_INSTALLED) != 0) { 386 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); 387 if (info != null) { 487 SelectableAppInfo info [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
H A D | AppLoadingTask.java | 82 * @param iPackageManager used to get application info. 177 app.activityName.toString(), getAppIconUri(mContext, app.info, app.iconRes), 198 for (ResolveInfo info : receivers) { 199 if (info.activityInfo.packageName.equals(packageName)) { 249 SelectableAppInfo info = visibleApps.get(i); 251 Log.i(TAG, info.toString()); 253 String both = info.packageName + "+" + info.activityName; 254 if (!TextUtils.isEmpty(info.packageName) 255 && !TextUtils.isEmpty(info 314 private final ApplicationInfo info; field in class:AppLoadingTask.SelectableAppInfo 488 getAppIconUri(Context context, ApplicationInfo info, int iconRes) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogAdapter.java | 136 /** The size of the cache of contact info. */ 230 * Each request is made of a phone number to look up, and the contact info currently stored in 451 * It also provides the current contact info stored in the call log for this number. 481 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); 483 if (info == null) { 493 final boolean isRemoteSource = info.sourceType != 0; 495 // Don't force redraw if existing info in the cache is equal to {@link ContactInfo#EMPTY} 502 !info.equals(existingInfo); 506 mContactInfoCache.put(numberCountryIso, info); 509 updateCallLogContactInfoCache(number, countryIso, info, callLogInf 1040 bindBadge( View view, ContactInfo info, final PhoneCallDetails details, int callType) argument 1077 callLogInfoMatches(ContactInfo callLogInfo, ContactInfo info) argument [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
H A D | SearchEngines.java | 42 SearchEngineInfo info = new SearchEngineInfo(context, name); 43 searchEngineInfos.add(info);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallerInfoAsyncQuery.java | 338 public static CallerInfoAsyncQuery startQuery(int token, Context context, CallerInfo info, argument 341 Log.d(LOG_TAG, "- number: " + info.phoneNumber); 347 .appendPath(info.phoneNumber) 349 String.valueOf(PhoneNumberHelper.isUriNumber(info.phoneNumber))) 363 cw.number = info.phoneNumber; 366 if (PhoneNumberUtils.isLocalEmergencyNumber(context, info.phoneNumber)) { 368 } else if (info.isVoiceMailNumber() 369 || PhoneNumberUtils.isVoiceMailNumber(info.phoneNumber)) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | NfceeAccessControl.java | 109 public boolean check(ApplicationInfo info) { argument 111 Boolean access = mUidCache.get(info.uid); 113 access = checkPackageNfceeAccess(info.packageName); 114 mUidCache.put(info.uid, access); 133 PackageInfo info = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES); 134 if (info.signatures == null) { 138 for (Signature s : info.signatures){ 162 for (Signature s : info.signatures) {
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CreateShortcut.java | 65 ResolveInfo info = activities.get(i); 66 if (info.activityInfo.name.endsWith(TetherSettingsActivity.class.getSimpleName())) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | PowerGaugePreference.java | 41 BatteryEntry info) { 45 mInfo = info; 40 PowerGaugePreference(Context context, Drawable icon, CharSequence contentDescription, BatteryEntry info) argument
|