Searched refs:info (Results 51 - 75 of 304) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/src/com/android/launcher3/
H A DInstallShortcutReceiver.java82 SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) {
87 .key(DATA_INTENT_KEY).value(info.data.toUri(0))
88 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0))
89 .key(NAME_KEY).value(info.name);
90 if (info.icon != null) {
91 byte[] iconByteArray = ItemInfo.flattenBitmap(info.icon);
96 if (info.iconResource != null) {
97 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName);
99 .value(info.iconResource.packageName);
183 PendingInstallShortcutInfo info
81 addToInstallQueue( SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) argument
[all...]
H A DPendingAddItemInfo.java57 AppWidgetProviderInfo info; field in class:PendingAddWidgetInfo
68 this.info = i;
90 info = copy.info;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoDataAdapter.java950 UpdateInfo info = new UpdateInfo();
951 info.version = mSourceVersion;
952 info.reloadContent = needContentReload();
953 info.target = mItemPath;
954 info.indexHint = mCurrentIndex;
955 info.contentStart = mContentStart;
956 info.contentEnd = mContentEnd;
957 info.size = mSize;
958 return info;
971 UpdateInfo info
1102 findCurrentMediaItem(UpdateInfo info) argument
1108 findIndexOfTarget(UpdateInfo info) argument
1122 findIndexOfPathInCache(UpdateInfo info, Path path) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/service/
H A DCachedNumberLookupService.java18 public CachedContactInfo buildCachedContactInfo(ContactInfo info); argument
32 public void addContact(Context context, CachedContactInfo info); argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtilsTests.java88 private static void printPtNode(final PtNodeInfo info) { argument
89 Log.d(TAG, " PtNode at " + info.mOriginalAddress);
90 Log.d(TAG, " flags = " + info.mFlags);
91 Log.d(TAG, " parentAddress = " + info.mParentAddress);
92 Log.d(TAG, " characters = " + new String(info.mCharacters, 0,
93 info.mCharacters.length));
94 if (info.mFrequency != -1) Log.d(TAG, " frequency = " + info.mFrequency);
95 if (info.mChildrenAddress == FormatSpec.NO_CHILDREN_ADDRESS) {
98 Log.d(TAG, " children address = " + info
[all...]
/packages/apps/InCallUI/src/com/android/incallui/service/
H A DPhoneNumberService.java41 * @param info The looked up information. Or (@literal null} if there are no results.
43 public void onPhoneNumberInfoComplete(PhoneNumberInfo info); argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPendingAddItemInfo.java57 AppWidgetProviderInfo info; field in class:PendingAddWidgetInfo
68 this.info = i;
90 info = copy.info;
H A DIconCache.java97 public Drawable getFullResIcon(ResolveInfo info) { argument
98 return getFullResIcon(info.activityInfo);
101 public Drawable getFullResIcon(ActivityInfo info) { argument
106 info.applicationInfo);
111 int iconId = info.getIconResource();
150 * Fill in "application" with the icon and label for "info."
152 public void getTitleAndIcon(ApplicationInfo application, ResolveInfo info, argument
155 CacheEntry entry = cacheLocked(application.componentName, info, labelCache);
192 private CacheEntry cacheLocked(ComponentName componentName, ResolveInfo info, argument
200 ComponentName key = LauncherModel.getComponentNameFromResolveInfo(info);
[all...]
H A DInstallShortcutReceiver.java81 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...]
H A DLauncherModel.java158 public void bindAppWidget(LauncherAppWidgetInfo info); argument
709 for (ItemInfo info: sBgItemsIdMap.values()) {
710 if (info.container == item.id) {
714 "contains items (" + info + ")";
740 static void deleteFolderContentsFromDatabase(Context context, final FolderInfo info) { argument
745 cr.delete(LauncherSettings.Favorites.getContentUri(info.id, false), null, null);
748 sBgItemsIdMap.remove(info.id);
749 sBgFolders.remove(info.id);
750 sBgDbIconCache.remove(info);
751 sBgWorkspaceItems.remove(info);
2468 queueIconToBeChecked(HashMap<Object, byte[]> cache, ShortcutInfo info, Cursor c, int iconIndex) argument
2486 updateSavedIcon(Context context, ShortcutInfo info, byte[] data) argument
2550 getComponentNameFromResolveInfo(ResolveInfo info) argument
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DDisableCameraReceiver.java63 CameraInfo info = new CameraInfo();
65 android.hardware.Camera.getCameraInfo(i, info);
66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
/packages/apps/Camera2/src/com/android/camera/
H A DDisableCameraReceiver.java63 CameraInfo info = new CameraInfo();
65 android.hardware.Camera.getCameraInfo(i, info);
66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
/packages/apps/Gallery2/src/com/android/camera/
H A DDisableCameraReceiver.java63 CameraInfo info = new CameraInfo();
65 android.hardware.Camera.getCameraInfo(i, info);
66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
/packages/apps/Settings/src/com/android/settings/print/
H A DPrintJobSettingsFragment.java168 PrintJobInfo info = mPrintJob.getInfo();
170 switch (info.getState()) {
175 R.string.print_printing_state_title_template, info.getLabel()));
178 R.string.print_cancelling_state_title_template, info.getLabel()));
184 R.string.print_failed_state_title_template, info.getLabel()));
190 R.string.print_blocked_state_title_template, info.getLabel()));
193 R.string.print_cancelling_state_title_template, info.getLabel()));
199 info.getPrinterName(), DateUtils.formatSameDayTime(
200 info.getCreationTime(), info
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestedWords.java124 for (final CompletionInfo info : infos) {
125 if (info == null) continue;
126 final CharSequence text = info.getText();
206 * Create a new suggested word info.
231 if (null == str) throw new NullPointerException("Debug info is null");
282 final SuggestedWordInfo info = mSuggestedWordInfoList.get(i);
283 if (SuggestedWordInfo.KIND_TYPED != info.mKind) {
284 newSuggestions.add(info);
302 final SuggestedWordInfo info = mSuggestedWordInfoList.get(i);
303 final int indexOfLastSpace = info
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DTargetPackageInfoGetterTask.java41 public void onTargetPackageInfoKnown(final PackageInfo info); argument
67 protected void onPostExecute(final PackageInfo info) { argument
68 mListener.onTargetPackageInfoKnown(info);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DFakeSystemFacade.java49 final NetworkInfo info = new NetworkInfo(mActiveNetworkType, 0, null, null);
50 info.setDetailedState(DetailedState.CONNECTED, null, null);
51 return info;
/packages/apps/Email/src/com/android/email/
H A DEmailConnectivityManager.java145 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 DThirdPartyWallpaperPickerListAdapter.java86 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/Settings/src/com/android/settings/net/
H A DUidDetailProvider.java121 final UserInfo info = um.getUserInfo(userHandle);
122 if (info != null) {
123 detail.label = res.getString(R.string.running_process_item_user_label, info.name);
124 detail.icon = UserUtils.getUserIcon(mContext, um, info, res);
134 final ApplicationInfo info = pm.getApplicationInfo(packageNames[0], 0);
135 detail.label = info.loadLabel(pm).toString();
136 detail.icon = info.loadIcon(pm);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertService.java341 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java401 PtNodeInfo info = dictDecoder.readPtNode(groupPos, options);
402 groupPos = info.mEndAddress;
403 if (info.mOriginalAddress == pos) {
404 builder.append(new String(info.mCharacters, 0, info.mCharacters.length));
405 result = new WeightedString(builder.toString(), info.mFrequency);
408 if (BinaryDictIOUtils.hasChildrenAddress(info.mChildrenAddress)) {
409 if (info.mChildrenAddress > pos) {
418 last = info;
459 PtNodeInfo info
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java98 /** The size of the cache of contact info. */
162 * Each request is made of a phone number to look up, and the contact info currently stored in
354 * It also provides the current contact info stored in the call log for this number.
384 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
386 if (info == null) {
396 final boolean isRemoteSource = info.sourceType != 0;
398 // Don't force redraw if existing info in the cache is equal to {@link ContactInfo#EMPTY}
405 !info.equals(existingInfo);
409 mContactInfoCache.put(numberCountryIso, info);
412 updateCallLogContactInfoCache(number, countryIso, info, callLogInf
671 bindBadge(View view, ContactInfo info, PhoneCallDetails details, int callType) argument
759 shouldShowBadge(int numMissedCalls, ContactInfo info, PhoneCallDetails details) argument
773 callLogInfoMatches(ContactInfo callLogInfo, ContactInfo info) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DHomeSettings.java159 final ActivityInfo info = candidate.activityInfo;
160 ComponentName activityName = new ComponentName(info.packageName, info.name);
163 Drawable icon = info.loadIcon(mPm);
164 CharSequence name = info.loadLabel(mPm);
166 icon, name, this, info);
218 HomeSettings parent, ActivityInfo info) {
233 determineTargets(info);
238 private void determineTargets(ActivityInfo info) { argument
239 final Bundle meta = info
216 HomeAppPreference(Context context, ComponentName activity, int i, Drawable icon, CharSequence title, HomeSettings parent, ActivityInfo info) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaByDayAdapter.java179 // 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...]

Completed in 857 milliseconds

1234567891011>>