Searched refs:type (Results 201 - 225 of 527) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaSource.java37 public Path findPathByUri(Uri uri, String type) { argument
H A DSnailItem.java39 public Job<Bitmap> requestImage(int type) { argument
H A DUriImage.java70 public Job<Bitmap> requestImage(int type) { argument
71 return new BitmapJob(type);
186 protected BitmapJob(int type) { argument
187 mType = type;
H A DLocalSource.java114 private static int getMediaType(String type, int defaultType) { argument
115 if (type == null) return defaultType;
117 int value = Integer.parseInt(type);
121 Log.w(TAG, "invalid type: " + type, e);
126 // The media type bit passed by the intent
154 public Path findPathByUri(Uri uri, String type) { argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAutoInstallsLayout.java208 int type;
212 while (((type = parser.next()) != XmlPullParser.END_TAG ||
213 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) {
214 if (type != XmlPullParser.START_TAG) {
284 protected long addShortcut(String title, Intent intent, int type) { argument
288 mValues.put(Favorites.ITEM_TYPE, type);
490 int type;
491 while ((type = parser.next()) != XmlPullParser.END_TAG ||
493 if (type != XmlPullParser.START_TAG) {
581 int type;
[all...]
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/
H A DphNxpExtns_Custom.h31 * For simple TLV, type[0] == 0x00
32 * For extended TLV, type[0] == 0xA0
35 uint8_t type[2]; member in struct:__anon40
80 ** function. Input is type and len. Response is provied in *val.
96 ** function. Input is type, len, *val.
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DVCardRecord.java120 final int type = VCardConfig.VCARD_TYPE_UNKNOWN;
121 final VCardEntryConstructor constructor = new VCardEntryConstructor(type);
132 VCardParser parser = new VCardParser_V21(type);
137 parser = new VCardParser_V30(type);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_utils.h125 static AK_FORCE_INLINE bool isMatchOrProximityChar(const ProximityType type) { argument
126 return type == MATCH_CHAR || type == PROXIMITY_CHAR || type == ADDITIONAL_PROXIMITY_CHAR;
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndapi.c77 loctset->loct.type = dicinfo->type;
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
386 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
415 NJ_UINT32 type; local
423 type = NJ_GET_DIC_TYPE_EX(NJ_GET_DIC_INFO(dicinfo), dicinfo->handle);
426 switch (type) {
490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, resul
584 NJ_UINT32 type; local
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DBaseInputView.java74 dialogLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
H A DWnnDictionary.java282 * Retrieve the part of speech information specified POS type.
284 * @param type The type of a part of speech
285 * @return The part of speech information; null if invalid type is specified or an error occurs.
298 public WnnPOS getPOS( int type );
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DExternalAccountType.java47 * A general contacts account type descriptor.
83 // for the account type and resource IDs to be specified without an associated authenticator.
112 * @param injectedMetadata If non-null, it'll be used to initialize the type. Only set by
175 // If we reach this point, the account type has been successfully initialized.
188 * the account type *will* be initialized with minimal configuration.
250 * Whether this account type has the android.provider.CONTACTS_STRUCTURE metadata xml.
304 int type;
305 while ((type = parser.next()) != XmlPullParser.START_TAG
306 && type != XmlPullParser.END_DOCUMENT) {
310 if (type !
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverDataParser.java313 byte[] type = r.getType();
327 Arrays.equals(type, NdefRecord.RTD_HANDOVER_SELECT)) {
332 if (tnf == NdefRecord.TNF_EXTERNAL_TYPE && Arrays.equals(type, TYPE_NOKIA)) {
376 int type = payload.get();
377 switch (type) {
413 int type = payload.get();
414 switch (type) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpSinkStateMachine.java206 switch (event.type) {
214 loge("Unexpected stack event: " + event.type);
323 switch (event.type) {
332 loge("Unexpected stack event: " + event.type);
531 switch (event.type) {
542 loge("Unexpected stack event: " + event.type);
749 int type = EVENT_TYPE_NONE; field in class:A2dpSinkStateMachine.StackEvent
754 private StackEvent(int type) { argument
755 this.type = type;
[all...]
H A DA2dpStateMachine.java200 switch (event.type) {
205 loge("Unexpected stack event: " + event.type);
314 switch (event.type) {
320 loge("Unexpected stack event: " + event.type);
543 switch (event.type) {
551 loge("Unexpected stack event: " + event.type);
760 int type = EVENT_TYPE_NONE; field in class:A2dpStateMachine.StackEvent
764 private StackEvent(int type) { argument
765 this.type = type;
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java85 // Determine type for subtitle
90 // get type string
91 for (EditType type : kind.typeList) {
92 if (type.rawValue == typeValue) {
93 if (type.customColumn == null) {
94 // Non-custom type. Get its description from the resource
95 mSubtitle = context.getString(type.labelRes);
97 // Custom type. Read it from the database
98 mSubtitle = item.getContentValues().getAsString(type.customColumn);
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java180 public void onCancelRequest(CancelRequest request, int type) { argument
181 final String description = type == VCardService.TYPE_IMPORT ?
193 * @param type import/export
204 Context context, int type, String description, String tickerText,
220 .appendQueryParameter(CancelActivity.TYPE, String.valueOf(type)).build();
229 .setSmallIcon(type == VCardService.TYPE_IMPORT
203 constructProgressNotification( Context context, int type, String description, String tickerText, int jobId, String displayName, int totalCount, int currentCount) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterDraw.java90 public void setType(byte type); argument
104 public void setType(byte type) { argument
105 mType = type;
213 public void setType(byte type) { argument
214 mType = type;
/packages/apps/Settings/src/com/android/settings/
H A DMasterClear.java236 if (account.type.equals(descs[j].type)) {
243 + " type=" + account.type);
255 Log.w(TAG, "Bad package name for account type " + desc.type);
257 Log.w(TAG, "Invalid icon id for account type " + desc.type, e);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiConfigurationActivity.java313 final ActionType type = actionKey.getType();
316 switch (type) {
320 setState(type, true);
327 setState(type, true);
360 setState(type, true);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DResourceUtils.java288 return v.type == TypedValue.TYPE_FRACTION;
292 return v.type == TypedValue.TYPE_DIMENSION;
296 return v.type >= TypedValue.TYPE_FIRST_INT && v.type <= TypedValue.TYPE_LAST_INT;
300 return v.type == TypedValue.TYPE_STRING;
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h144 NJ_UINT8 type; member in struct:__anon100
220 NJ_UINT8 type; member in struct:__anon105
276 NJ_UINT8 type; member in struct:__anon111::NJ_STEM
348 NJ_EXTERN NJ_INT16 njx_add_word(NJ_CLASS *iwnn, NJ_WORD_INFO *word, NJ_UINT8 type, NJ_UINT8 connect);
350 NJ_EXTERN NJ_INT16 njx_create_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_INT8 type, NJ_UINT32 size);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DSmsProvider.java79 "type", // Always MESSAGE_TYPE_ALL.
347 private void constructQueryForBox(SQLiteQueryBuilder qb, int type, String smsTable) { argument
350 if (type != Sms.MESSAGE_TYPE_ALL) {
351 qb.appendWhere("type=" + type);
358 qb.appendWhere("(type=" + Sms.MESSAGE_TYPE_OUTBOX +
359 " OR type=" + Sms.MESSAGE_TYPE_FAILED +
360 " OR type=" + Sms.MESSAGE_TYPE_QUEUED + ")");
401 int type = Sms.MESSAGE_TYPE_ALL;
410 type
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java406 String type, name;
413 type = (String)request.getHeader(HeaderSet.TYPE);
418 if(D) Log.d(TAG,"type = " + type + ", name = " + name);
419 if (type.equals(TYPE_MESSAGE_UPDATE)) {
424 }else if(type.equals(TYPE_SET_NOTIFICATION_REGISTRATION)) {
430 }else if(type.equals(TYPE_SET_NOTIFICATION_FILTER)) {
437 } else if(type.equals(TYPE_SET_MESSAGE_STATUS)) {
445 } else if (type.equals(TYPE_MESSAGE)) {
452 } else if (type
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java478 String type = getIntent().resolveType(this);
479 if (type != null) {
480 if (isImageType(type)) {
482 } else if (isVideoType(type)) {
547 private boolean isImageType(String type) { argument
548 return type.equals("vnd.android.cursor.dir/image")
549 || type.equals("image/*");
552 private boolean isVideoType(String type) { argument
553 return type.equals("vnd.android.cursor.dir/video")
554 || type
[all...]

Completed in 958 milliseconds

1234567891011>>