Searched refs:info (Results 1 - 25 of 163) sorted by relevance

1234567

/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryService.java57 * Data class which holds into info of the queued operation
171 OperationInfo info = new OperationInfo();
172 info.op = Operation.EVENT_ARG_QUERY;
173 info.resolver = mContext.getContentResolver();
175 info.handler = mHandler;
176 info.token = token;
177 info.cookie = cookie;
178 info.uri = uri;
179 info.projection = projection;
180 info
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBatch.java103 * @param info, BluetoothOppShareInfo
105 public BluetoothOppBatch(Context context, BluetoothOppShareInfo info) { argument
109 mTimestamp = info.mTimestamp;
110 mDirection = info.mDirection;
111 mDestination = adapter.getRemoteDevice(info.mDestination);
113 mShares.add(info);
115 if (V) Log.v(TAG, "New Batch created for info " + info.mId);
125 public void addShare(BluetoothOppShareInfo info) { argument
126 mShares.add(info);
138 deleteShare(BluetoothOppShareInfo info) argument
181 hasShare(BluetoothOppShareInfo info) argument
[all...]
H A DBluetoothOppService.java520 BluetoothOppShareInfo info = new BluetoothOppShareInfo(
538 Log.v(TAG, "ID : " + info.mId);
539 // Log.v(TAG, "URI : " + ((info.mUri != null) ? "yes" : "no"));
540 Log.v(TAG, "URI : " + info.mUri);
541 Log.v(TAG, "HINT : " + info.mHint);
542 Log.v(TAG, "FILENAME: " + info.mFilename);
543 Log.v(TAG, "MIMETYPE: " + info.mMimetype);
544 Log.v(TAG, "DIRECTION: " + info.mDirection);
545 Log.v(TAG, "DESTINAT: " + info.mDestination);
546 Log.v(TAG, "VISIBILI: " + info
930 MediaScannerNotifier(Context context, BluetoothOppShareInfo info, Handler handler) argument
[all...]
H A DBluetoothOppUtility.java65 BluetoothOppTransferInfo info = new BluetoothOppTransferInfo();
69 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID));
70 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS));
71 info.mDirection = cursor.getInt(cursor
73 info.mTotalBytes = cursor.getInt(cursor
75 info.mCurrentBytes = cursor.getInt(cursor
77 info.mTimeStamp = cursor.getLong(cursor
79 info.mDestAddr = cursor.getString(cursor
82 info.mFileName = cursor.getString(cursor
84 if (info
[all...]
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DContactInfoHelper.java44 * If the number does not match any contact, returns a contact info containing only the number
53 final ContactInfo info;
55 // Determine the contact info.
67 info = sipInfo;
76 info = phoneInfo;
80 if (info == null) {
84 // If we did not find a matching contact, generate an empty contact info for the number.
85 if (info == ContactInfo.EMPTY) {
91 updatedInfo = info;
107 final ContactInfo info;
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DEasOutboxServiceTests.java35 OriginalMessageInfo info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", null);
36 String cmd = svc.generateSmartSendCmd(true, info);
39 info = new OriginalMessageInfo("14:&3", "6", null);
40 cmd = svc.generateSmartSendCmd(false, info);
43 info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", "3232323AAA");
44 cmd = svc.generateSmartSendCmd(false, info);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java70 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, argument
72 final String packageName = info.activityInfo.applicationInfo.packageName;
74 this.componentName = new ComponentName(packageName, info.activityInfo.name);
93 iconCache.getTitleAndIcon(this, info, labelCache);
96 public ApplicationInfo(ApplicationInfo info) { argument
97 super(info);
98 componentName = info.componentName;
99 title = info.title.toString();
100 intent = new Intent(info.intent);
101 flags = info
[all...]
H A DShortcutInfo.java69 public ShortcutInfo(ShortcutInfo info) { argument
70 super(info);
71 title = info.title.toString();
72 intent = new Intent(info.intent);
73 if (info.iconResource != null) {
75 iconResource.packageName = info.iconResource.packageName;
76 iconResource.resourceName = info.iconResource.resourceName;
78 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
79 customIcon = info.customIcon;
83 public ShortcutInfo(ApplicationInfo info) { argument
[all...]
H A DPagedViewIconCache.java43 public Key(ApplicationInfo info) { argument
44 mComponentName = info.componentName;
47 public Key(ResolveInfo info) { argument
48 final ComponentInfo ci = info.activityInfo != null ? info.activityInfo :
49 info.serviceInfo;
53 public Key(AppWidgetProviderInfo info) { argument
54 mComponentName = info.provider;
100 for (ApplicationInfo info : keys) {
101 keysSet.add(new Key(info));
[all...]
H A DAllAppsList.java62 public void add(ApplicationInfo info) { argument
63 if (findActivity(data, info.componentName)) {
66 data.add(info);
67 added.add(info);
93 for (ResolveInfo info : matches) {
94 add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null));
105 ApplicationInfo info = data.get(i);
106 final ComponentName component = info.intent.getComponent();
108 removed.add(info);
140 final ResolveInfo info
[all...]
H A DItemInfo.java92 ItemInfo(ItemInfo info) { argument
93 id = info.id;
94 cellX = info.cellX;
95 cellY = info.cellY;
96 spanX = info.spanX;
97 spanY = info.spanY;
98 screen = info.screen;
99 itemType = info.itemType;
100 container = info.container;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadHandler.java42 synchronized void enqueueDownload(DownloadInfo info) { argument
43 if (!mDownloadsQueue.containsKey(info.mId)) {
45 Log.i(TAG, "enqueued download. id: " + info.mId + ", uri: " + info.mUri);
47 mDownloadsQueue.put(info.mId, info);
57 DownloadInfo info = mDownloadsQueue.get(id);
58 info.startDownloadThread();
92 for (DownloadInfo info : mDownloadsInProgress.values()) {
93 Log.i(TAG, "** progress: " + info
[all...]
H A DDownloadService.java65 * The Service's view of the list of downloads, mapping download IDs to the corresponding info
312 DownloadInfo info = mDownloads.get(id);
313 if (info != null) {
314 updateDownload(reader, info, now);
316 info = insertDownload(reader, now);
319 if (info.shouldScanFile() && !scanFile(info, true, false)) {
323 if (info.hasCompletionNotification()) {
326 long next = info.nextAction(now);
344 for (DownloadInfo info
442 updateDownload(DownloadInfo.Reader reader, DownloadInfo info, long now) argument
488 scanFile(DownloadInfo info, final boolean updateDatabase, final boolean deleteFile) argument
[all...]
H A DDownloadInfo.java57 DownloadInfo info = new DownloadInfo(context, systemFacade);
58 updateFromDatabase(info);
59 readRequestHeaders(info);
60 return info;
63 public void updateFromDatabase(DownloadInfo info) { argument
64 info.mId = getLong(Downloads.Impl._ID);
65 info.mUri = getString(Downloads.Impl.COLUMN_URI);
66 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1;
67 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT);
68 info
103 readRequestHeaders(DownloadInfo info) argument
128 addHeader(DownloadInfo info, String header, String value) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetDataAdapter.java248 UpdateInfo info = new UpdateInfo();
249 info.version = mSourceVersion;
250 info.index = index;
251 info.size = mSize;
252 return info;
259 public UpdateContent(UpdateInfo info) { argument
260 mUpdateInfo = info;
267 UpdateInfo info = mUpdateInfo;
268 mSourceVersion = info.version;
269 if (mSize != info
[all...]
H A DAlbumDataAdapter.java233 UpdateInfo info = new UpdateInfo();
235 info.version = mSourceVersion;
236 info.size = mSize;
241 info.reloadStart = i;
242 info.reloadCount = Math.min(MAX_LOAD_COUNT, n - i);
243 return info;
246 return mSourceVersion == mVersion ? null : info;
254 public UpdateContent(UpdateInfo info) { argument
255 mUpdateInfo = info;
260 UpdateInfo info
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DFieldContext.java46 public FieldContext(InputConnection conn, EditorInfo info, argument
49 addEditorInfoToBundle(info, mFieldInfo);
62 private static void addEditorInfoToBundle(EditorInfo info, Bundle bundle) { argument
63 if (info == null) {
67 bundle.putString(LABEL, safeToString(info.label));
68 bundle.putString(HINT, safeToString(info.hintText));
69 bundle.putString(PACKAGE_NAME, safeToString(info.packageName));
70 bundle.putInt(FIELD_ID, info.fieldId);
71 bundle.putString(FIELD_NAME, safeToString(info.fieldName));
72 bundle.putInt(INPUT_TYPE, info
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DActionMultiMap.java27 public void put(String mimeType, Action info) { argument
34 collectList.add(info);
/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;
/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.java361 DayAdapterInfo info = getAdapterInfoByPosition(position);
362 if (info != null) {
363 return info.dayAdapter.getItemViewType(position - info.offset);
372 DayAdapterInfo info = getAdapterInfoByPosition(position);
373 if (info != null) {
374 return info.dayAdapter.isEnabled(position - info.offset);
387 DayAdapterInfo info = getAdapterInfoByPosition(position);
388 if (info !
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DNetworkStateHandler.java47 NetworkInfo info = cm.getActiveNetworkInfo();
48 if (info != null) {
49 mIsNetworkUp = info.isAvailable();
64 NetworkInfo info = intent.getParcelableExtra(
66 String typeName = info.getTypeName();
67 String subtypeName = info.getSubtypeName();
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java77 LiveWallpaperInfo info = new LiveWallpaperInfo();
78 list.add(info);
117 if (holder.title != null && wallpaperInfo.info != null) {
118 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager));
125 if (holder.description != null && wallpaperInfo.info != null) {
129 wallpaperInfo.info.loadDescription(mPackageManager).toString()));
140 public WallpaperInfo info; field in class:LiveWallpaperListAdapter.LiveWallpaperInfo
188 WallpaperInfo info = null;
190 info = new WallpaperInfo(mContext, resolveInfo);
201 wallpaper.intent.setClassName(info
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactDirectoryManager.java274 for (DirectoryInfo info : directories) {
275 if (DEBUG) Log.d(TAG, " directory=" + info);
278 deleteWhereArgs.add(info.packageName);
279 deleteWhereArgs.add(info.authority);
280 deleteWhereArgs.add(info.accountName);
281 deleteWhereArgs.add(info.accountType);
373 for (DirectoryInfo info: directories) {
374 sb.append(info.id).append(",");
405 DirectoryInfo info = new DirectoryInfo();
406 info
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java95 EventInfo info = new EventInfo();
114 info.endTime = new Time();
115 info.endTime.set(end);
118 info.startTime = new Time();
119 info.startTime.set(begin);
121 info.id = eventId;
124 info.extraLong = CalendarController.EXTRA_CREATE_ALL_DAY;
126 info.extraLong = 0;
128 return info;

Completed in 1555 milliseconds

1234567