Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 239) sorted by relevance

12345678910

/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java171 OperationInfo info = new OperationInfo(); in startQuery() local
172 info.op = Operation.EVENT_ARG_QUERY; in startQuery()
173 info.resolver = mContext.getContentResolver(); in startQuery()
175 info.handler = mHandler; in startQuery()
176 info.token = token; in startQuery()
177 info.cookie = cookie; in startQuery()
178 info.uri = uri; in startQuery()
179 info.projection = projection; in startQuery()
180 info.selection = selection; in startQuery()
181 info.selectionArgs = selectionArgs; in startQuery()
[all …]
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaWindowAdapter.java387 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItemViewType() local
388 if (info != null) { in getItemViewType()
389 return info.dayAdapter.getItemViewType(position - info.offset); in getItemViewType()
398 DayAdapterInfo info = getAdapterInfoByPosition(position); in isEnabled() local
399 if (info != null) { in isEnabled()
400 return info.dayAdapter.isEnabled(position - info.offset); in isEnabled()
413 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItem() local
414 if (info != null) { in getItem()
415 return info.dayAdapter.getItem(position - info.offset); in getItem()
430 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItemId() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java555 BluetoothOppShareInfo info = new BluetoothOppShareInfo( in insertShare() local
573 Log.v(TAG, "ID : " + info.mId); in insertShare()
575 Log.v(TAG, "URI : " + info.mUri); in insertShare()
576 Log.v(TAG, "HINT : " + info.mHint); in insertShare()
577 Log.v(TAG, "FILENAME: " + info.mFilename); in insertShare()
578 Log.v(TAG, "MIMETYPE: " + info.mMimetype); in insertShare()
579 Log.v(TAG, "DIRECTION: " + info.mDirection); in insertShare()
580 Log.v(TAG, "DESTINAT: " + info.mDestination); in insertShare()
581 Log.v(TAG, "VISIBILI: " + info.mVisibility); in insertShare()
582 Log.v(TAG, "CONFIRM : " + info.mConfirm); in insertShare()
[all …]
DBluetoothOppUtility.java70 BluetoothOppTransferInfo info = new BluetoothOppTransferInfo(); in queryRecord() local
74 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in queryRecord()
75 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in queryRecord()
76 info.mDirection = cursor.getInt(cursor in queryRecord()
78 info.mTotalBytes = cursor.getInt(cursor in queryRecord()
80 info.mCurrentBytes = cursor.getInt(cursor in queryRecord()
82 info.mTimeStamp = cursor.getLong(cursor in queryRecord()
84 info.mDestAddr = cursor.getString(cursor in queryRecord()
87 info.mFileName = cursor.getString(cursor in queryRecord()
89 if (info.mFileName == null) { in queryRecord()
[all …]
DBluetoothOppBatch.java105 public BluetoothOppBatch(Context context, BluetoothOppShareInfo info) { in BluetoothOppBatch() argument
109 mTimestamp = info.mTimestamp; in BluetoothOppBatch()
110 mDirection = info.mDirection; in BluetoothOppBatch()
111 mDestination = adapter.getRemoteDevice(info.mDestination); in BluetoothOppBatch()
113 mShares.add(info); in BluetoothOppBatch()
115 if (V) Log.v(TAG, "New Batch created for info " + info.mId); in BluetoothOppBatch()
125 public void addShare(BluetoothOppShareInfo info) { in addShare() argument
126 mShares.add(info); in addShare()
128 mListener.onShareAdded(info.mId); in addShare()
138 public void deleteShare(BluetoothOppShareInfo info) { in deleteShare() argument
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java65 final DownloadInfo info = new DownloadInfo( in newDownloadInfo() local
67 updateFromDatabase(info); in newDownloadInfo()
68 readRequestHeaders(info); in newDownloadInfo()
69 return info; in newDownloadInfo()
72 public void updateFromDatabase(DownloadInfo info) { in updateFromDatabase() argument
73 info.mId = getLong(Downloads.Impl._ID); in updateFromDatabase()
74 info.mUri = getString(Downloads.Impl.COLUMN_URI); in updateFromDatabase()
75 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; in updateFromDatabase()
76 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in updateFromDatabase()
77 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase()
[all …]
DDownloadNotifier.java129 for (DownloadInfo info : downloads) { in updateWithLocked()
130 final String tag = buildNotificationTag(info); in updateWithLocked()
132 clustered.put(tag, info); in updateWithLocked()
175 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked() local
177 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, info.mId); in updateWithLocked()
181 if (Downloads.Impl.isStatusError(info.mStatus)) { in updateWithLocked()
184 if (info.mDestination != Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION) { in updateWithLocked()
210 for (DownloadInfo info : cluster) { in updateWithLocked()
211 if (info.mTotalBytes != -1) { in updateWithLocked()
212 current += info.mCurrentBytes; in updateWithLocked()
[all …]
DDownloadService.java311 DownloadInfo info = mDownloads.get(id); in updateLocked() local
312 if (info != null) { in updateLocked()
313 updateDownload(reader, info, now); in updateLocked()
315 info = insertDownloadLocked(reader, now); in updateLocked()
318 if (info.mDeleted) { in updateLocked()
320 if (!TextUtils.isEmpty(info.mMediaProviderUri)) { in updateLocked()
321 resolver.delete(Uri.parse(info.mMediaProviderUri), null, null); in updateLocked()
324 deleteFileIfExists(info.mFileName); in updateLocked()
325 resolver.delete(info.getAllDownloadsUri(), null, null); in updateLocked()
329 final boolean activeDownload = info.startDownloadIfReady(mExecutor); in updateLocked()
[all …]
/packages/apps/Settings/src/com/android/settings/
DNotificationStation.java208 final HistoricalNotificationInfo info = new HistoricalNotificationInfo(); in loadNotifications() local
209 info.pkg = sbn.getPackageName(); in loadNotifications()
210 info.user = sbn.getUserId(); in loadNotifications()
211 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon); in loadNotifications()
212 info.pkgicon = loadPackageIconDrawable(info.pkg, info.user); in loadNotifications()
213 info.pkgname = loadPackageName(info.pkg); in loadNotifications()
215info.title = sbn.getNotification().extras.getString(Notification.EXTRA_TITLE); in loadNotifications()
216 if (info.title == null || "".equals(info.title)) { in loadNotifications()
217info.title = sbn.getNotification().extras.getString(Notification.EXTRA_TEXT); in loadNotifications()
220 if (info.title == null || "".equals(info.title)) { in loadNotifications()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java157 public void bindAppWidget(LauncherAppWidgetInfo info); in bindAppWidget() argument
708 for (ItemInfo info: sBgItemsIdMap.values()) { in deleteItemFromDatabase()
709 if (info.container == item.id) { in deleteItemFromDatabase()
713 "contains items (" + info + ")"; in deleteItemFromDatabase()
739 static void deleteFolderContentsFromDatabase(Context context, final FolderInfo info) { in deleteFolderContentsFromDatabase() argument
744 cr.delete(LauncherSettings.Favorites.getContentUri(info.id, false), null, null); in deleteFolderContentsFromDatabase()
747 sBgItemsIdMap.remove(info.id); in deleteFolderContentsFromDatabase()
748 sBgFolders.remove(info.id); in deleteFolderContentsFromDatabase()
749 sBgDbIconCache.remove(info); in deleteFolderContentsFromDatabase()
750 sBgWorkspaceItems.remove(info); in deleteFolderContentsFromDatabase()
[all …]
DWorkspace.java382 public void onDragStart(DragSource source, Object info, int dragAction) { in onDragStart() argument
680 LauncherAppWidgetInfo info = (LauncherAppWidgetInfo) v.getTag(); in reinflateWidgetsIfNecessary() local
681 LauncherAppWidgetHostView lahv = (LauncherAppWidgetHostView) info.hostView; in reinflateWidgetsIfNecessary()
683 mLauncher.removeAppWidget(info); in reinflateWidgetsIfNecessary()
686 mLauncher.bindAppWidget(info); in reinflateWidgetsIfNecessary()
1530 public void onDragStartedWithItem(PendingAddItemInfo info, Bitmap b, boolean clipAlpha) {
1533 int[] size = estimateItemSize(info.spanX, info.spanY, info, false);
1947 void addApplicationShortcut(ShortcutInfo info, CellLayout target, long container, int screen,
1949 View view = mLauncher.createShortcut(R.layout.application, target, (ShortcutInfo) info);
1954 LauncherModel.addOrMoveItemInDatabase(mLauncher, info, container, screen, cellXY[0],
[all …]
DAppsCustomizePagedView.java560 Bundle getDefaultOptionsForWidget(Launcher launcher, PendingAddWidgetInfo info) { in getDefaultOptionsForWidget() argument
563 AppWidgetResizeFrame.getWidgetSizeRanges(mLauncher, info.spanX, info.spanY, mTmpRect); in getDefaultOptionsForWidget()
565 info.componentName, null); in getDefaultOptionsForWidget()
584 private void preloadWidget(final PendingAddWidgetInfo info) { in preloadWidget() argument
585 final AppWidgetProviderInfo pInfo = info.info; in preloadWidget()
586 final Bundle options = getDefaultOptionsForWidget(mLauncher, info); in preloadWidget()
589 info.bindOptions = options; in preloadWidget()
602 mWidgetLoadingId, info.componentName)) { in preloadWidget()
607 mWidgetLoadingId, info.componentName, options)) { in preloadWidget()
623 info.boundWidget = hostView; in preloadWidget()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java266 UpdateInfo info = new UpdateInfo(); in call()
267 info.version = mSourceVersion; in call()
268 info.index = index; in call()
269 info.size = mSize; in call()
270 return info; in call()
277 public UpdateContent(UpdateInfo info) { in UpdateContent() argument
278 mUpdateInfo = info; in UpdateContent()
286 UpdateInfo info = mUpdateInfo; in call()
287 mSourceVersion = info.version; in call()
288 if (mSize != info.size) { in call()
[all …]
DPhotoDataAdapter.java950 UpdateInfo info = new UpdateInfo(); in call() local
951 info.version = mSourceVersion; in call()
952 info.reloadContent = needContentReload(); in call()
953 info.target = mItemPath; in call()
954 info.indexHint = mCurrentIndex; in call()
955 info.contentStart = mContentStart; in call()
956 info.contentEnd = mContentEnd; in call()
957 info.size = mSize; in call()
958 return info; in call()
971 UpdateInfo info = mUpdateInfo; in call() local
[all …]
DAlbumDataLoader.java257 UpdateInfo info = new UpdateInfo(); in call() local
259 info.version = mSourceVersion; in call()
260 info.size = mSize; in call()
265 info.reloadStart = i; in call()
266 info.reloadCount = Math.min(MAX_LOAD_COUNT, n - i); in call()
267 return info; in call()
270 return mSourceVersion == mVersion ? null : info; in call()
278 public UpdateContent(UpdateInfo info) { in UpdateContent() argument
279 mUpdateInfo = info; in UpdateContent()
284 UpdateInfo info = mUpdateInfo; in call() local
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java56 public boolean filterApp(ApplicationInfo info); in filterApp() argument
108 ApplicationInfo info; field in ApplicationsState.AppEntry
118 AppEntry(Context context, ApplicationInfo info, long id) { in AppEntry() argument
119 apkFile = new File(info.sourceDir); in AppEntry()
121 this.info = info; in AppEntry()
131 this.label = info.packageName; in ensureLabel()
134 CharSequence label = info.loadLabel(context.getPackageManager()); in ensureLabel()
135 this.label = label != null ? label.toString() : info.packageName; in ensureLabel()
143 this.icon = this.info.loadIcon(pm); in ensureIconLocked()
155 this.icon = this.info.loadIcon(pm); in ensureIconLocked()
[all …]
DInstalledAppDetails.java202 mState.requestSize(mAppEntry.info.packageName);
245 if ((mAppEntry.info.flags&(ApplicationInfo.FLAG_SYSTEM in initDataButtons()
253 if (mAppEntry.info.manageSpaceActivityName != null) { in initDataButtons()
290 } else if ((mAppEntry.info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) { in initMoveButton()
297 moveDisable = !mCanBeOnSdCardChecker.check(mAppEntry.info); in initMoveButton()
327 intent.setPackage(mAppEntry.info.packageName); in handleDisableable()
332 } else if (mAppEntry.info.enabled) { in handleDisableable()
346 mUpdatedSysApp = (mAppEntry.info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; in initUninstallButtons()
351 if ((mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in initUninstallButtons()
358 if ((mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in initUninstallButtons()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java101 CharGroupInfo info = BinaryDictInputOutput.readCharGroup(buffer, in readUnigramsAndBigramsBinaryInner() local
103 for (int i = 0; i < info.mCharacters.length; ++i) { in readUnigramsAndBigramsBinaryInner()
104 pushedChars[index++] = info.mCharacters[i]; in readUnigramsAndBigramsBinaryInner()
108 final boolean isMovedGroup = BinaryDictInputOutput.isMovedGroup(info.mFlags, in readUnigramsAndBigramsBinaryInner()
110 final boolean isDeletedGroup = BinaryDictInputOutput.isDeletedGroup(info.mFlags, in readUnigramsAndBigramsBinaryInner()
113 && info.mFrequency != FusionDictionary.CharGroup.NOT_A_TERMINAL) {// found word in readUnigramsAndBigramsBinaryInner()
114 words.put(info.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner()
115 frequencies.put(info.mOriginalAddress, info.mFrequency); in readUnigramsAndBigramsBinaryInner()
116 if (info.mBigrams != null) bigrams.put(info.mOriginalAddress, info.mBigrams); in readUnigramsAndBigramsBinaryInner()
137 if (!isMovedGroup && BinaryDictInputOutput.hasChildrenAddress(info.mChildrenAddress)) { in readUnigramsAndBigramsBinaryInner()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java280 for (DirectoryInfo info : directories) { in scanAllPackages()
281 if (DEBUG) Log.d(TAG, " directory=" + info); in scanAllPackages()
284 deleteWhereArgs.add(info.packageName); in scanAllPackages()
285 deleteWhereArgs.add(info.authority); in scanAllPackages()
286 deleteWhereArgs.add(info.accountName); in scanAllPackages()
287 deleteWhereArgs.add(info.accountType); in scanAllPackages()
388 for (DirectoryInfo info: directories) { in updateDirectoriesForPackage()
389 sb.append(info.id).append(","); in updateDirectoriesForPackage()
424 DirectoryInfo info = new DirectoryInfo(); in queryDirectoriesForAuthority() local
425 info.packageName = provider.packageName; in queryDirectoriesForAuthority()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DContactInfoHelper.java53 final ContactInfo info; in lookupNumber() local
67 info = sipInfo; in lookupNumber()
76 info = phoneInfo; in lookupNumber()
80 if (info == null) { in lookupNumber()
85 if (info == ContactInfo.EMPTY) { in lookupNumber()
91 updatedInfo = info; in lookupNumber()
107 final ContactInfo info; in lookupContactFromUri() local
115 info = new ContactInfo(); in lookupContactFromUri()
118 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey); in lookupContactFromUri()
119 info.name = phonesCursor.getString(PhoneQuery.NAME); in lookupContactFromUri()
[all …]
DCallLogAdapter.java359 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); in queryContactInfo() local
361 if (info == null) { in queryContactInfo()
370 boolean updated = (existingInfo != ContactInfo.EMPTY) && !info.equals(existingInfo); in queryContactInfo()
374 mContactInfoCache.put(numberCountryIso, info); in queryContactInfo()
377 updateCallLogContactInfoCache(number, countryIso, info, callLogInfo); in queryContactInfo()
553 ContactInfo info = cachedInfo == null ? null : cachedInfo.getValue(); in bindView() local
558 info = ContactInfo.EMPTY; in bindView()
562 info = cachedContactInfo; in bindView()
572 } else if (!callLogInfoMatches(cachedContactInfo, info)) { in bindView()
580 if (info == ContactInfo.EMPTY) { in bindView()
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java332 NotificationInfo info = highPriorityEvents.get(i); in generateAlerts() local
333 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, in generateAlerts()
334 info.allDay, info.location); in generateAlerts()
335 postNotification(info, summaryText, context, true, notificationPrefs, nm, in generateAlerts()
340 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()
349 NotificationInfo info = mediumPriorityEvents.get(i); in generateAlerts() local
352 String summaryText = AlertUtils.formatTimeLocation(context, info.startMillis, in generateAlerts()
353 info.allDay, info.location); in generateAlerts()
354 postNotification(info, summaryText, context, false, notificationPrefs, nm, in generateAlerts()
358 nextRefreshTime = Math.min(nextRefreshTime, getNextRefreshTime(info, currentTime)); in generateAlerts()
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java163 RawContactInfo info = rawContactInfos.get(rawContactId); in loadData() local
164 if (info == null) { in loadData()
165 info = new RawContactInfo(rawContactId); in loadData()
166 rawContactInfos.put(rawContactId, info); in loadData()
167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); in loadData()
168 info.dataSet = cursor.getString(SplitQuery.DATA_SET); in loadData()
173 loadStructuredName(cursor, info); in loadData()
175 loadPhoneNumber(cursor, info); in loadData()
177 loadEmail(cursor, info); in loadData()
179 loadNickname(cursor, info); in loadData()
[all …]
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java328 UserInfo info = mUserManager.getUserInfo(mUser.getIdentifier()); in onResume() local
329 ((TextView) mHeaderView.findViewById(android.R.id.title)).setText(info.name); in onResume()
367 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); in updateUserAppList() local
368 if (info == null || info.enabled == false) { in updateUserAppList()
379 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); in updateUserAppList() local
380 if (info != null) { in updateUserAppList()
454 SelectableAppInfo info = new SelectableAppInfo(); in addSystemApps() local
455 info.packageName = app.activityInfo.packageName; in addSystemApps()
456 info.appName = app.activityInfo.applicationInfo.loadLabel(pm); in addSystemApps()
457 info.icon = app.activityInfo.loadIcon(pm); in addSystemApps()
[all …]
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java398 EditBookmarkInfo info) {
400 if (info.id != -1) {
404 mTitle.setText(info.title);
405 mFolderAdapter.setOtherFolderDisplayText(info.parentTitle);
406 mMap.putLong(BrowserContract.Bookmarks._ID, info.id);
408 setAccount(info.accountName, info.accountType);
409 mCurrentFolder = info.parentId;
416 if (info.lastUsedId != -1 && info.lastUsedId != info.id
418 if (setAccount && info.lastUsedId != mRootFolder
419 && TextUtils.equals(info.lastUsedAccountName, info.accountName)
[all …]

12345678910