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

1234567891011>>

/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.java555 BluetoothOppShareInfo info = new BluetoothOppShareInfo(
573 Log.v(TAG, "ID : " + info.mId);
574 // Log.v(TAG, "URI : " + ((info.mUri != null) ? "yes" : "no"));
575 Log.v(TAG, "URI : " + info.mUri);
576 Log.v(TAG, "HINT : " + info.mHint);
577 Log.v(TAG, "FILENAME: " + info.mFilename);
578 Log.v(TAG, "MIMETYPE: " + info.mMimetype);
579 Log.v(TAG, "DIRECTION: " + info.mDirection);
580 Log.v(TAG, "DESTINAT: " + info.mDestination);
581 Log.v(TAG, "VISIBILI: " + info
960 MediaScannerNotifier(Context context, BluetoothOppShareInfo info, Handler handler) argument
[all...]
H A DBluetoothOppUtility.java70 BluetoothOppTransferInfo info = new BluetoothOppTransferInfo();
74 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID));
75 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS));
76 info.mDirection = cursor.getInt(cursor
78 info.mTotalBytes = cursor.getInt(cursor
80 info.mCurrentBytes = cursor.getInt(cursor
82 info.mTimeStamp = cursor.getLong(cursor
84 info.mDestAddr = cursor.getString(cursor
87 info.mFileName = cursor.getString(cursor
89 if (info
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DActionMultiMap.java27 public void put(String mimeType, Action info) { argument
28 put(mimeType, info, false);
35 public void put(String mimeType, Action info, boolean front) { argument
36 // Put the info first
45 collectList.add(0, info);
47 collectList.add(info);
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DEasOutboxServiceTests.java35 OriginalMessageInfo info = new OriginalMessageInfo(0, "1339085683659694034", "Mail:^f");
36 String cmd = svc.generateSmartSendCmd(true, info);
39 info = new OriginalMessageInfo(0, "14:&3", "6");
40 cmd = svc.generateSmartSendCmd(false, info);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DAppWorkaroundsHelper.java26 public static boolean evaluateIsBrokenByRecorrection(final PackageInfo info) { argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java65 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, argument
67 final String packageName = info.activityInfo.applicationInfo.packageName;
69 this.componentName = new ComponentName(packageName, info.activityInfo.name);
88 iconCache.getTitleAndIcon(this, info, labelCache);
91 public ApplicationInfo(ApplicationInfo info) { argument
92 super(info);
93 componentName = info.componentName;
94 title = info.title.toString();
95 intent = new Intent(info.intent);
96 flags = info
[all...]
H A DShortcutInfo.java64 public ShortcutInfo(ShortcutInfo info) { argument
65 super(info);
66 title = info.title.toString();
67 intent = new Intent(info.intent);
68 if (info.iconResource != null) {
70 iconResource.packageName = info.iconResource.packageName;
71 iconResource.resourceName = info.iconResource.resourceName;
73 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
74 customIcon = info.customIcon;
78 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...]
/packages/apps/Settings/src/com/android/settings/
H A DAppPicker.java72 if (app.info != null) intent.setAction(app.info.packageName);
78 ApplicationInfo info; field in class:AppPicker.MyApplicationInfo
102 MyApplicationInfo info = new MyApplicationInfo();
103 info.info = ai;
104 info.label = info.info.loadLabel(getPackageManager()).toString();
105 mPackageInfoList.add(info);
[all...]
H A DNotificationStation.java208 final HistoricalNotificationInfo info = new HistoricalNotificationInfo();
209 info.pkg = sbn.getPackageName();
210 info.user = sbn.getUserId();
211 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
212 info.pkgicon = loadPackageIconDrawable(info.pkg, info.user);
213 info
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetDataLoader.java266 UpdateInfo info = new UpdateInfo();
267 info.version = mSourceVersion;
268 info.index = index;
269 info.size = mSize;
270 return info;
277 public UpdateContent(UpdateInfo info) { argument
278 mUpdateInfo = info;
286 UpdateInfo info = mUpdateInfo;
287 mSourceVersion = info.version;
288 if (mSize != info
[all...]
H A DAlbumDataLoader.java257 UpdateInfo info = new UpdateInfo();
259 info.version = mSourceVersion;
260 info.size = mSize;
265 info.reloadStart = i;
266 info.reloadCount = Math.min(MAX_LOAD_COUNT, n - i);
267 return info;
270 return mSourceVersion == mVersion ? null : info;
278 public UpdateContent(UpdateInfo info) { argument
279 mUpdateInfo = info;
284 UpdateInfo info
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfoHelper.java57 * If the number does not match any contact, returns a contact info containing only the number
66 final ContactInfo info;
68 // Determine the contact info.
80 info = sipInfo;
89 info = phoneInfo;
93 if (info == null) {
97 // If we did not find a matching contact, generate an empty contact info for the number.
98 if (info == ContactInfo.EMPTY) {
105 updatedInfo = info;
149 final ContactInfo info;
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallerInfoUtils.java14 * Utility methods for contact and caller info related functionality
35 * This is called to get caller info for a call. This will return a CallerInfo
42 CallerInfo info = buildCallerInfo(context, call);
43 String number = info.phoneNumber;
47 if (info.numberPresentation == Call.PRESENTATION_ALLOWED) {
52 return info;
56 CallerInfo info = new CallerInfo();
60 info.cnapName = identification.getCnapName();
61 info.name = info
[all...]
H A DCallerInfo.java154 CallerInfo info = new CallerInfo();
155 info.photoResource = 0;
156 info.phoneLabel = null;
157 info.numberType = 0;
158 info.numberLabel = null;
159 info.cachedPhoto = null;
160 info.isCachedPhotoCurrent = false;
161 info.contactExists = false;
176 info.name = cursor.getString(columnIndex);
182 info
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppInfo.java74 public AppInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, argument
76 final String packageName = info.activityInfo.applicationInfo.packageName;
78 this.componentName = new ComponentName(packageName, info.activityInfo.name);
91 iconCache.getTitleAndIcon(this, info, labelCache);
111 public AppInfo(AppInfo info) { argument
112 super(info);
113 componentName = info.componentName;
114 title = info.title.toString();
115 intent = new Intent(info.intent);
116 flags = info
[all...]
H A DAllAppsList.java65 public void add(AppInfo info) { argument
66 if (mAppFilter != null && !mAppFilter.shouldShowApp(info.componentName)) {
69 if (findActivity(data, info.componentName)) {
72 data.add(info);
73 added.add(info);
99 for (ResolveInfo info : matches) {
100 add(new AppInfo(context.getPackageManager(), info, mIconCache, null));
111 AppInfo info = data.get(i);
112 final ComponentName component = info.intent.getComponent();
114 removed.add(info);
[all...]
H A DPagedViewIconCache.java43 public Key(AppInfo 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 (AppInfo info : keys) {
101 keysSet.add(new Key(info));
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadInfo.java65 final DownloadInfo info = new DownloadInfo(
67 updateFromDatabase(info);
68 readRequestHeaders(info);
69 return info;
72 public void updateFromDatabase(DownloadInfo info) { argument
73 info.mId = getLong(Downloads.Impl._ID);
74 info.mUri = getString(Downloads.Impl.COLUMN_URI);
75 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1;
76 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT);
77 info
113 readRequestHeaders(DownloadInfo info) argument
138 addHeader(DownloadInfo info, String header, String value) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/list/
H A DRegularSearchListAdapter.java41 ContactInfo info = new ContactInfo();
42 CachedContactInfo cacheInfo = lookupService.buildCachedContactInfo(info);
45 info.name = item.getString(PhoneQuery.DISPLAY_NAME);
46 info.type = item.getInt(PhoneQuery.PHONE_TYPE);
47 info.label = item.getString(PhoneQuery.PHONE_LABEL);
48 info.number = item.getString(PhoneQuery.PHONE_NUMBER);
50 info.photoUri = photoUriStr == null ? null : Uri.parse(photoUriStr);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtils.java97 PtNodeInfo info = dictDecoder.readPtNode(p.mAddress, formatOptions);
98 for (int i = 0; i < info.mCharacters.length; ++i) {
99 pushedChars[index++] = info.mCharacters[i];
103 final boolean isMovedPtNode = isMovedPtNode(info.mFlags,
105 final boolean isDeletedPtNode = isDeletedPtNode(info.mFlags,
108 && info.mFrequency != FusionDictionary.PtNode.NOT_A_TERMINAL) {// found word
109 words.put(info.mOriginalAddress, new String(pushedChars, 0, index));
110 frequencies.put(info.mOriginalAddress, info.mFrequency);
111 if (info
342 writePtNode(final OutputStream destination, final PtNodeInfo info) argument
428 computePtNodeSize(final PtNodeInfo info, final FormatOptions formatOptions) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java120 EventInfo info = new EventInfo();
141 info.endTime = new Time();
143 info.endTime.timezone = Time.TIMEZONE_UTC;
145 info.endTime.set(end);
148 info.startTime = new Time();
150 info.startTime.timezone = Time.TIMEZONE_UTC;
152 info.startTime.set(begin);
154 info.id = eventId;
155 info.eventTitle = intent.getStringExtra(Events.TITLE);
156 info
[all...]

Completed in 611 milliseconds

1234567891011>>