Searched refs:info (Results 26 - 50 of 304) sorted by relevance

1234567891011>>

/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java108 ItemInfo(ItemInfo info) { argument
109 id = info.id;
110 cellX = info.cellX;
111 cellY = info.cellY;
112 spanX = info.spanX;
113 spanY = info.spanY;
114 screen = info.screen;
115 itemType = info.itemType;
116 container = info.container;
H A DPagedViewIcon.java55 public void applyFromApplicationInfo(ApplicationInfo info, boolean scaleUp, argument
57 mIcon = info.iconBitmap;
60 setText(info.title);
61 setTag(info);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DItemInfo.java108 ItemInfo(ItemInfo info) { argument
109 id = info.id;
110 cellX = info.cellX;
111 cellY = info.cellY;
112 spanX = info.spanX;
113 spanY = info.spanY;
114 screenId = info.screenId;
115 itemType = info.itemType;
116 container = info.container;
H A DMemoryTracker.java133 Log.e(TAG, "update: unknown process info received: " + dinfo);
137 final ProcessMemInfo info = mData.get(pid);
138 info.head = (info.head+1) % info.pss.length;
139 info.pss[info.head] = info.currentPss = dinfo.getTotalPss();
140 info.uss[info
[all...]
H A DShortcutInfo.java103 public ShortcutInfo(Context context, ShortcutInfo info) { argument
104 super(info);
105 title = info.title.toString();
106 intent = new Intent(info.intent);
107 if (info.iconResource != null) {
109 iconResource.packageName = info.iconResource.packageName;
110 iconResource.resourceName = info.iconResource.resourceName;
112 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
113 customIcon = info.customIcon;
119 public ShortcutInfo(AppInfo info) { argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DWallpaperTypeSettings.java49 for (ResolveInfo info : rList) {
53 info.activityInfo.packageName, info.activityInfo.name));
55 CharSequence label = info.loadLabel(pm);
56 if (label == null) label = info.activityInfo.packageName;
H A DAppWidgetPickActivity.java96 public PickAdapter.Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras) { argument
97 CharSequence label = info.label;
100 if (info.icon != 0) {
122 getResourcesForApplication(info.provider.getPackageName());
123 icon = packageResources.getDrawableForDensity(info.icon, iconDensity);
125 Log.w(TAG, "Can't load icon drawable 0x" + Integer.toHexString(info.icon)
126 + " for provider: " + info.provider);
129 Log.w(TAG, "Can't load icon drawable 0x" + Integer.toHexString(info.icon)
130 + " for provider: " + info.provider);
135 item.packageName = info
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java166 RawContactInfo info = rawContactInfos.get(rawContactId);
167 if (info == null) {
168 info = new RawContactInfo(rawContactId);
169 rawContactInfos.put(rawContactId, info);
170 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE);
171 info.dataSet = cursor.getString(SplitQuery.DATA_SET);
176 loadStructuredName(cursor, info);
178 loadPhoneNumber(cursor, info);
180 loadEmail(cursor, info);
182 loadNickname(cursor, info);
194 loadStructuredName(Cursor cursor, RawContactInfo info) argument
198 loadNickname(Cursor cursor, RawContactInfo info) argument
204 loadEmail(Cursor cursor, RawContactInfo info) argument
210 loadPhoneNumber(Cursor cursor, RawContactInfo info) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java387 DayAdapterInfo info = getAdapterInfoByPosition(position);
388 if (info != null) {
389 return info.dayAdapter.getItemViewType(position - info.offset);
398 DayAdapterInfo info = getAdapterInfoByPosition(position);
399 if (info != null) {
400 return info.dayAdapter.isEnabled(position - info.offset);
413 DayAdapterInfo info = getAdapterInfoByPosition(position);
414 if (info !
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DContactInfoCache.java84 // TODO: get rid of caller info.
85 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, identification);
86 ContactInfoCache.populateCacheEntry(context, info, entry,
167 // Add the contact info to the cache.
208 final PhoneNumberService.PhoneNumberInfo info) {
211 if (info == null) {
218 entry.name = info.getDisplayName();
219 entry.number = info.getNumber();
220 final int type = info.getPhoneType();
221 final String label = info
207 onPhoneNumberInfoComplete( final PhoneNumberService.PhoneNumberInfo info) argument
306 buildEntry(Context context, int callId, CallerInfo info, int presentation, boolean isIncoming) argument
345 populateCacheEntry(Context context, CallerInfo info, ContactCacheEntry cce, int presentation, boolean isIncoming) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DNetworkStateHandler.java49 NetworkInfo info = cm.getActiveNetworkInfo();
50 if (info != null) {
51 mIsNetworkUp = info.isAvailable();
66 NetworkInfo info = intent.getParcelableExtra(
68 String typeName = info.getTypeName();
69 String subtypeName = info.getSubtypeName();
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java129 for (DownloadInfo info : downloads) {
130 final String tag = buildNotificationTag(info);
132 clustered.put(tag, info);
175 final DownloadInfo info = cluster.iterator().next();
177 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, info.mId);
181 if (Downloads.Impl.isStatusError(info.mStatus)) {
184 if (info.mDestination != Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION) {
210 for (DownloadInfo info : cluster) {
211 if (info.mTotalBytes != -1) {
212 current += info
305 getDownloadTitle(Resources res, DownloadInfo info) argument
337 buildNotificationTag(DownloadInfo info) argument
[all...]
H A DDownloadService.java90 * The Service's view of the list of downloads, mapping download IDs to the corresponding info
311 DownloadInfo info = mDownloads.get(id);
312 if (info != null) {
313 updateDownload(reader, info, now);
315 info = insertDownloadLocked(reader, now);
318 if (info.mDeleted) {
320 if (!TextUtils.isEmpty(info.mMediaProviderUri)) {
321 resolver.delete(Uri.parse(info.mMediaProviderUri), null, null);
324 deleteFileIfExists(info.mFileName);
325 resolver.delete(info
393 updateDownload(DownloadInfo.Reader reader, DownloadInfo info, long now) argument
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DEmailServiceUtils.java82 EmailServiceInfo info = getServiceInfo(context, protocol);
83 if (info != null && info.intentAction != null) {
84 final Intent serviceIntent = getServiceIntent(info);
94 EmailServiceInfo info = getServiceInfo(context, protocol);
95 if (info != null && info.intentAction != null) {
96 final Intent serviceIntent = getServiceIntent(info);
105 for (EmailServiceInfo info: getServiceInfoList(context)) {
106 if (info
155 getServiceIntent(EmailServiceInfo info) argument
233 getServiceFromInfo(Context context, EmailServiceInfo info) argument
[all...]
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java77 LiveWallpaperInfo info = new LiveWallpaperInfo();
78 list.add(info);
116 if (holder.title != null && wallpaperInfo.info != null) {
117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager));
129 public WallpaperInfo info; field in class:LiveWallpaperListAdapter.LiveWallpaperInfo
176 WallpaperInfo info = null;
178 info = new WallpaperInfo(mContext, resolveInfo);
189 wallpaper.intent.setClassName(info.getPackageName(), info.getServiceName());
190 wallpaper.info
[all...]
H A DLiveWallpaperChange.java66 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/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpBitmapFetch.java39 public static Bitmap getThumbnail(MtpDevice device, MtpObjectInfo info) { argument
40 byte[] imageBytes = device.getThumbnail(info.getObjectHandle());
65 public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info) { argument
66 return getFullsize(device, info, sMaxSize);
69 public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info, int maxSide) { argument
70 byte[] imageBytes = device.getObject(info.getObjectHandle(), info.getCompressedSize());
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactDirectoryManager.java280 for (DirectoryInfo info : directories) {
281 if (DEBUG) Log.d(TAG, " directory=" + info);
284 deleteWhereArgs.add(info.packageName);
285 deleteWhereArgs.add(info.authority);
286 deleteWhereArgs.add(info.accountName);
287 deleteWhereArgs.add(info.accountType);
388 for (DirectoryInfo info: directories) {
389 sb.append(info.id).append(",");
424 DirectoryInfo info = new DirectoryInfo();
425 info
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DApplicationsState.java56 public boolean filterApp(ApplicationInfo info); argument
108 ApplicationInfo info; field in class:ApplicationsState.AppEntry
118 AppEntry(Context context, ApplicationInfo info, long id) { argument
119 apkFile = new File(info.sourceDir);
121 this.info = info;
131 this.label = info.packageName;
134 CharSequence label = info.loadLabel(context.getPackageManager());
135 this.label = label != null ? label.toString() : info.packageName;
143 this.icon = this.info
827 getEntryLocked(ApplicationInfo info) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupType.java66 for (EmailServiceInfo info: EmailServiceUtils.getServiceInfoList(this)) {
67 if (info.accountType.equals(accountType)) {
68 protocol = info.protocol;
84 for (EmailServiceInfo info: EmailServiceUtils.getServiceInfoList(this)) {
85 if (EmailServiceUtils.isServiceAvailable(this, info.protocol)) {
88 if (info.hide || (accountType != null && !accountType.equals(info.accountType))) {
98 button.setTag(info.protocol);
99 button.setText(info.name);
118 final EmailServiceInfo info
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DLiveWallpaperListAdapter.java116 public LiveWallpaperTile(Drawable thumbnail, WallpaperInfo info, Intent intent) { argument
118 mInfo = info;
161 WallpaperInfo info = null;
163 info = new WallpaperInfo(mContext, resolveInfo);
173 Drawable thumb = info.loadThumbnail(packageManager);
175 launchIntent.setClassName(info.getPackageName(), info.getServiceName());
176 LiveWallpaperTile wallpaper = new LiveWallpaperTile(thumb, info, launchIntent);
187 for (LiveWallpaperTile info : infos) {
188 if (info
[all...]
/packages/apps/Settings/src/com/android/settings/quicklaunch/
H A DBookmarkPicker.java218 ResolveInfo info = resolveList.get(i);
226 map.put(KEY_TITLE, getResolveInfoTitle(info));
227 map.put(KEY_RESOLVE_INFO, info);
232 /** Get the title for a resolve info. */
233 private String getResolveInfoTitle(ResolveInfo info) { argument
234 CharSequence label = info.loadLabel(getPackageManager());
235 if (label == null) label = info.activityInfo.name;
243 ResolveInfo info = mResolveList.get(position);
248 // We can go ahead and return the clicked info's intent
249 Intent intent = getIntentForResolveInfo(info, Inten
263 getIntentForResolveInfo(ResolveInfo info, String action) argument
276 startShortcutActivity(ResolveInfo info) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityEntityProvider.java138 * The implementer is responsible for obtaining an accessibility node info
140 * the node info before returning it.
186 final AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain();
187 info.setPackageName(mKeyboardView.getContext().getPackageName());
188 info.setClassName(key.getClass().getName());
189 info.setContentDescription(keyDescription);
190 info.setBoundsInParent(boundsInParent);
191 info.setBoundsInScreen(boundsInScreen);
192 info.setParent(mKeyboardView);
193 info
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsMockPackageManager.java70 ApplicationInfo info = new ApplicationInfo();
72 info.uid = (uid != null) ? uid : -1;
73 return info;
87 for (PackageInfo info : mPackages) {
88 if (info.packageName.equals(packageName)) {
89 return info;
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogAdapterTest.java59 ContactInfo info = new ContactInfo();
60 info.number = number;
61 info.formattedNumber = number;
62 return info;
147 // Contact info contains a different name.
148 ContactInfo info = createContactInfo();
149 info.name = "new name";
150 mAdapter.injectContactInfoForTest(TEST_NUMBER, TEST_COUNTRY_ISO, info);
163 /** Returns a contact info with default values. */
165 ContactInfo info
[all...]

Completed in 516 milliseconds

1234567891011>>