Searched refs:type (Results 101 - 125 of 527) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactEditorView.java174 public void setState(RawContactDelta state, AccountType type, ViewIdGenerator vig, argument
182 // Bail if invalid state or account type
183 if (state == null || type == null) return;
188 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE);
194 isProfile, state.getAccountName(), type);
220 RawContactModifier.ensureKindExists(state, type, Photo.CONTENT_ITEM_TYPE);
221 setHasPhotoEditor((type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null));
232 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE);
241 for (DataKind kind : type.getSortedDataKinds()) {
250 type
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DVCardResourceEntry.java193 String type;
195 type = resources.
199 type = resources.getStringArray(android.R.array.postalAddressTypes)[2];
202 type = resources.getStringArray(android.R.array.postalAddressTypes)[2];
212 retList.add(new VCardResourceEntryDestinationItem(address, type, intent));
218 String type = null;
220 type = resources.
225 retList.add(new VCardResourceEntryDestinationItem(imData.getAddress(), type, null));
231 String type = null;
233 type
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java139 final int type = getNotificationTagType(tag);
157 if (type == TYPE_ACTIVE) {
159 } else if (type == TYPE_WAITING) {
161 } else if (type == TYPE_COMPLETE) {
166 if (type == TYPE_ACTIVE || type == TYPE_WAITING) {
177 } else if (type == TYPE_COMPLETE) {
208 if (type == TYPE_ACTIVE) {
246 if (type == TYPE_ACTIVE) {
254 } else if (type
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaDocumentsProvider.java121 * When inserting the first item of each type, we need to trigger a roots
124 static void onMediaStoreInsert(Context context, String volumeName, int type, long id) { argument
127 if (type == FileColumns.MEDIA_TYPE_IMAGE && sReturnedImagesEmpty) {
130 } else if (type == FileColumns.MEDIA_TYPE_VIDEO && sReturnedVideosEmpty) {
133 } else if (type == FileColumns.MEDIA_TYPE_AUDIO && sReturnedAudioEmpty) {
142 static void onMediaStoreDelete(Context context, String volumeName, int type, long id) { argument
145 if (type == FileColumns.MEDIA_TYPE_IMAGE) {
149 } else if (type == FileColumns.MEDIA_TYPE_VIDEO) {
153 } else if (type == FileColumns.MEDIA_TYPE_AUDIO) {
161 public String type; field in class:MediaDocumentsProvider.Ident
178 getDocIdForIdent(String type, long id) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DEntrySchema.java108 switch (column.type) {
159 switch (column.type) {
197 switch (column.type) {
309 sql.append(SQLITE_TYPES[column.type]);
481 // Determine the field type.
482 int type;
485 type = TYPE_STRING;
487 type = TYPE_BOOLEAN;
489 type = TYPE_SHORT;
491 type
516 public final int type; field in class:EntrySchema.ColumnInfo
524 ColumnInfo(String name, int type, boolean indexed, boolean unique, boolean fullText, String defaultValue, Field field, int projectionIndex) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsIntentResolver.java103 String type = intent.getType();
104 if (Contacts.CONTENT_ITEM_TYPE.equals(type)) {
106 } else if (Phone.CONTENT_ITEM_TYPE.equals(type)) {
108 } else if (Phones.CONTENT_ITEM_TYPE.equals(type)) {
111 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(type)) {
113 } else if (ContactMethods.CONTENT_POSTAL_ITEM_TYPE.equals(type)) {
116 } else if (People.CONTENT_ITEM_TYPE.equals(type)) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFilterDeleteSet.java39 int type; // one of the REQUEST_* constants field in class:FilterDeleteSet.Request
42 public Request(int type, Path path, int indexHint) { argument
43 this.type = type;
154 switch (r.type) {
226 private void sendRequest(int type, Path path, int indexHint) { argument
227 Request r = new Request(type, path, indexHint);
/packages/apps/Settings/src/com/android/settings/accounts/
H A DChooseAccountActivity.java76 private final String type; field in class:ChooseAccountActivity.ProviderEntry
79 type = accountType;
129 mTypeToAuthDescription.put(mAuthDescs[i].type, mAuthDescs[i]);
137 String accountType = mAuthDescs[i].type;
168 finishWithAccountType(mProviderList.get(0).type);
173 Drawable drawable = getDrawableForType(pref.type);
175 new ProviderPreference(this, pref.type, drawable, pref.name);
192 public ArrayList<String> getAuthoritiesForAccountType(String type) { argument
211 return mAccountTypeToAuthorities.get(type);
215 * Gets an icon associated with a particular account type
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppHandoverReceiver.java47 String type = intent.getType();
49 if (stream != null && type != null) {
50 // Save type/stream, will be used when adding transfer
52 BluetoothOppManager.getInstance(context).saveSendingFileInfo(type,
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterGradRepresentation.java348 public int getParameter(int type) { argument
349 switch (type){
357 throw new IllegalArgumentException("no such type " + type);
360 public int getParameterMax(int type) { argument
361 switch (type) {
369 throw new IllegalArgumentException("no such type " + type);
372 public int getParameterMin(int type) { argument
373 switch (type) {
384 setParameter(int type, int value) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizeTabHost.java71 * Convenience methods to select specific tabs. We want to set the content type immediately
76 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) { argument
79 onTabChangedEnd(type);
80 setCurrentTabByTag(getTabTagForContentType(type));
197 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) { argument
198 mAppsCustomizePane.setContentType(type);
203 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
262 onTabChangedEnd(type);
298 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) { argument
300 setCurrentTabByTag(getTabTagForContentType(type));
319 getTabTagForContentType(AppsCustomizePagedView.ContentType type) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattDebugUtils.java48 private static final String EXTRA_TYPE = "type";
90 int type = intent.getIntExtra(EXTRA_TYPE, 2 /* LE device */);
92 svc.gattTestCommand( 0x02, null, address, type, addr_type, 0,0,0);
99 int type = intent.getIntExtra(EXTRA_TYPE, 1 /* All services */);
102 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0);
166 b.append("\n [--ei addr_type <type>] Possible values:");
169 b.append("\n [--ei type <type>] Default is 2 (LE Only)\n");
172 b.append("\n [--ei type <type>] Possibl
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DFrameServer.java48 public void submitRequest(List<Request> burstRequests, RequestType type) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DFilterEnvironment.java70 public Bitmap getBitmap(int w, int h, int type) { argument
71 return mBitmapCache.getBitmap(w, h, type);
74 public Bitmap getBitmapCopy(Bitmap source, int type) { argument
75 return mBitmapCache.getBitmapCopy(source, type);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetService.java38 public static final String EXTRA_WIDGET_TYPE = "widget-type";
45 int type = intent.getIntExtra(EXTRA_WIDGET_TYPE, 0);
49 id, type, albumPath);
62 public PhotoRVFactory(GalleryApp app, int id, int type, String albumPath) { argument
65 mType = type;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMergedAdapter.java156 int type = result.mAdapter.getItemViewType(result.mLocalPosition);
159 if (type >= 0) {
160 type += otherViewTypeCount;
162 return type;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
H A Dsuggestion_results.h43 const int score, const int type, const int indexToPartialCommit,
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnjx_lib.h37 NJ_UINT8 type; member in struct:word_que
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DTestUtil.java50 .appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type)
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id));
55 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
91 CREATE TRIGGER contact_methods_INSERT_typeAndLabel AFTER INSERT ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END;
92 CREATE TRIGGER contact_methods_UPDATE_typeAndLabel AFTER UPDATE ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type o
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapConvoListingElement.java108 public void setType(TYPE type) { argument
109 this.mType = type;
185 * @param type 0 if the thread ID is valid across all message types in the instance - else
189 public void setConvoId(long type, long threadId) { argument
190 this.mId = new SignedLongLong(threadId,type);
191 if(D) Log.d(TAG, "setConvoId: " + threadId + " type:" + type);
292 int type;
314 while((type=parser.next()) != XmlPullParser.END_TAG
315 && type !
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
81 * @param mimetype The mimetype of the data with which the type is associated.
82 * @param type The integer type as defined in {@Link ContactsContract#CommonDataKinds}.
86 public static int getTypePrecedence(String mimetype, int type) { argument
93 if (typePrecedence[i] == type) {
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMockFolder.java40 public boolean canCreate(FolderType type) { argument
45 public boolean create(FolderType type) { argument
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProviderTests.java49 private static final String PONY_COLUMN_TYPE = "type";
77 private ContentValues ponyValues(String name, String type, int legs, boolean canRide) { argument
80 cv.put(PONY_COLUMN_TYPE, type);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java50 public static final String KEY_TYPE_BITS = "type-bits";
85 // the GET_CONTENT. However, we need to translate the type
88 String type = Utils.ensureNotNull(intent.getType());
89 if (type.startsWith("vnd.android.cursor.dir/")) {
90 if (type.endsWith("/image")) intent.setType("image/*");
91 if (type.endsWith("/video")) intent.setType("video/*");
127 String type = intent.getType();
128 if (type != null) {
129 return GalleryUtils.MIME_TYPE_PANORAMA360.equals(type)
130 ? MediaItem.MIME_TYPE_JPEG : type;
[all...]

Completed in 1567 milliseconds

1234567891011>>