Searched refs:type (Results 426 - 450 of 571) sorted by relevance

<<11121314151617181920>>

/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsConfig.java306 public void update(final String type, final String key, final String value) { argument
307 BugleCarrierConfigValuesLoader.update(mValues, type, key, value);
H A DMmsUtils.java197 * @return The SQL selection for importing mms messages. This selects the message type,
338 // content type is image/*. Fix the content type here for gifs so that we only
651 * that the content type of the resulting PduPart may not be the same as the content type of
652 * this UriImage; always call {@link PduPart#getContentType()} to get the new content type.
856 final int status, final int type, final long threadId) {
873 if (type != Telephony.Sms.MESSAGE_TYPE_ALL) {
874 values.put(Telephony.Sms.TYPE, type);
885 final int type, fina
853 addMessageToUri(final ContentResolver resolver, final Uri uri, final int subId, final String address, final String body, final String subject, final Long date, final boolean read, final boolean seen, final int status, final int type, final long threadId) argument
883 insertSmsMessage(final Context context, final Uri uri, final int subId, final String dest, final String text, final long timestamp, final int status, final int type, final long threadId) argument
904 updateSmsMessageSendingStatus(final Context context, final Uri uri, final int type, final long date) argument
[all...]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DTunerSession.java118 public boolean onSelectTrack(int type, String trackId) { argument
120 TunerSessionWorker.MSG_SELECT_TRACK, type, 0, trackId);
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java261 private static int buildShader(String source, int type) { argument
262 int shader = glCreateShader(type);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfp.cpp174 static void volume_control_callback(bthf_volume_type_t type, int volume, bt_bdaddr_t* bd_addr) { argument
186 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVolumeChanged, (jint) type,
786 jint type, jbyteArray address) {
804 number, (bthf_call_addrtype_t) type, (bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
814 jint call_state, jstring number_str, jint type) {
823 (bthf_call_addrtype_t) type)) != BT_STATUS_SUCCESS) {
784 clccResponseNative(JNIEnv *env, jobject object, jint index, jint dir, jint callStatus, jint mode, jboolean mpty, jstring number_str, jint type, jbyteArray address) argument
813 phoneStateChangeNative(JNIEnv *env, jobject object, jint num_active, jint num_held, jint call_state, jstring number_str, jint type) argument
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapContentTest.java715 Integer type = c.getInt(c.getColumnIndex("type"));
716 if (type == MMS_TO) {
717 if (D) Log.d(TAG, " recipient: " + add + " (type: " + type + ")");
718 } else if (type == MMS_FROM) {
719 if (D) Log.d(TAG, " originator: " + add + " (type: " + type + ")");
721 if (D) Log.d(TAG, " address other: " + add + " (type: " + type
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMailbox.java66 * Sync extras key to specify that only a specific mailbox type should be synced.
297 /** Selection for mailboxes that are configured for sync of a certain type for an account. */
306 /** No type specified */
344 * If a mailbox type is in this array, then it can be synced.
345 * If the mailbox type is mapped to true in this array, then new mailboxes of that type should
371 * type per account.
373 * 1) On initial sync: For each type that was not found from the server, create a local folder.
374 * 2) On folder delete: If it's of a required type, convert it to local rather than delete.
375 * 3) On folder add: If it's of a required type, conver
665 findMailboxOfType(Context context, long accountId, int type) argument
675 restoreMailboxOfType(Context context, long accountId, int type) argument
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountSyncSettings.java210 mProviderId.setText(mAccount.type);
290 getPrefContext(), mAccount.type, mUserHandle.getIdentifier());
579 account.type, mUserHandle);
598 if (!sa.accountType.equals(mAccount.type)) continue;
640 * Updates the titlebar with an icon for the provider type.
646 mProviderIcon.setImageDrawable(getDrawableForType(mAccount.type));
647 mProviderId.setText(getLabelForType(mAccount.type));
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java393 if (entry.type == CommonDataKinds.Phone.TYPE_MOBILE
562 entry.type = values.getAsInteger(kind.typeColumn);
595 // Choose the label associated with the highest type precedence.
596 if (TypePrecedence.getTypePrecedence(mimetype, type)
597 > TypePrecedence.getTypePrecedence(entry.mimetype, entry.type)) {
598 type = entry.type;
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java762 switch (el.type)
768 currSrvc = new BluetoothGattService(el.uuid, el.id, el.type);
788 currSrvc.addIncludedService(new BluetoothGattService(el.uuid, el.id, el.type));
792 Log.e(TAG, "got unknown element with type=" + el.type + " and UUID=" + el.uuid);
1037 // Skip address type.
1769 switch(entry.type) {
1793 Log.e(TAG, "onAttributeRead() - Requested unknown attribute type.");
1816 switch(entry.type) {
1842 Log.e(TAG, "onAttributeWrite() - Requested unknown attribute type
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterView.java200 void recycleView(View child, int type) { argument
204 if (mViews != null && type >=0 && type < mViews.length
205 && mViews[type].size() < mMaxRecycledViews) {
206 mViews[type].add(child);
210 View getView(int type) { argument
211 if (mViews != null && type >= 0 && type < mViews.length) {
212 List<View> array = mViews[type];
1104 int type
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java174 builder.appendQueryParameter(ContactsContract.RawContacts.ACCOUNT_TYPE, account.type);
216 createSettings(new AccountWithDataSet(account.name, account.type, null),
271 int type) {
272 return insertPhoneNumber(rawContactId, phoneNumber, primary, false, type);
276 boolean superPrimary, int type) {
281 values.put(Phone.TYPE, type);
306 protected Uri insertEmail(long rawContactId, String email, boolean primary, int type, argument
308 return insertEmail(rawContactId, email, primary, false, type, label);
312 boolean superPrimary, int type, String label) {
317 values.put(Email.TYPE, type);
270 insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, int type) argument
275 insertPhoneNumber(long rawContactId, String phoneNumber, boolean primary, boolean superPrimary, int type) argument
311 insertEmail(long rawContactId, String email, boolean primary, boolean superPrimary, int type, String label) argument
500 insertEvent(long rawContactId, int type, String date) argument
539 setAggregationException(int type, long rawContactId1, long rawContactId2) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationCursor.java1736 public ConversationOperation(int type, Conversation conv, UndoCallback undoCallback) { argument
1737 this(type, conv, null, undoCallback);
1740 public ConversationOperation(int type, Conversation conv, ContentValues values, argument
1742 mType = type;
1865 "No such ConversationOperation type: " + mType);
2109 Collection<Conversation> conversations, int type, ContentValues values,
2113 ops.add(getOperationForConversation(conv, type, values, undoCallback));
2118 public ConversationOperation getOperationForConversation(Conversation conv, int type, argument
2120 return getOperationForConversation(conv, type, values, null);
2123 public ConversationOperation getOperationForConversation(Conversation conv, int type, argument
2108 getOperationsForConversations( Collection<Conversation> conversations, int type, ContentValues values, UndoCallback undoCallback) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java490 TYPE type = TYPE.SMS_GSM; // Just used for handle encoding
495 type = TYPE.MMS;// Just used for handle encoding
499 type = TYPE.EMAIL;// Just used for handle encoding
501 e.setThreadId(threadId,type);
734 TYPE type = null;
739 type = TYPE.SMS_CDMA;
741 type = TYPE.SMS_GSM;
744 type = TYPE.MMS;
746 type = TYPE.EMAIL;
748 type
1399 getAddressMms(ContentResolver r, long id, int type) argument
3286 getFolderName(int type, int threadId) argument
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidatesViewManager.java118 /** View type (VIEW_TYPE_NORMAL or VIEW_TYPE_FULL or VIEW_TYPE_CLOSE) */
596 public void setViewType(int type) { argument
597 boolean readMore = setViewLayout(type);
602 if (type == CandidatesViewManager.VIEW_TYPE_NORMAL) {
621 * @param type View type
624 private boolean setViewLayout(int type) { argument
630 && (type == CandidatesViewManager.VIEW_TYPE_NORMAL)) {
634 mViewType = type;
636 switch (type) {
[all...]
/packages/apps/Settings/src/com/android/settings/search/
H A DIndex.java850 int type;
851 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
852 && type != XmlPullParser.START_TAG) {
887 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
888 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
889 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) {
1136 if (tv != null && tv.type == TypedValue.TYPE_STRING) {
1151 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) {
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapServer.java150 Log.v(TAG, " - Received SAP_DISCONNECT_ACTION type: " + disconnectType);
213 void setNotification(int type, int flags) argument
217 if(VERBOSE) Log.i(TAG, "setNotification type: " + type);
227 if(type == SapMessage.DISC_GRACEFULL){
240 sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, type);
241 PendingIntent pIntentDisconnect = PendingIntent.getBroadcast(mContext, type,
689 " ms to activate disconnect type " + discType);
842 if(DEBUG) Log.w(TAG_HANDLER,"Unhandled message - type: "
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java261 Log.v(TAG, effect.name.toString() + ", type: " + effect.type.toString());
263 if (effect.type.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) {
266 } else if (effect.type.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)) {
268 } else if (effect.type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) {
270 } else if (effect.type.equals(AudioEffect.EFFECT_TYPE_PRESET_REVERB)) {
/packages/services/Mms/src/com/android/mms/service/
H A DMmsService.java223 public Uri importTextMessage(String callingPkg, String address, int type, String text,
227 return importSms(address, type, text, timestampMillis, seen, read, callingPkg);
483 private Uri importSms(String address, int type, String text, long timestampMillis, argument
486 switch (type) {
496 LogUtil.e("importTextMessage: invalid message type for importing: " + type);
549 LogUtil.e("importMessage; invalid MMS type: " + pdu.getClass().getCanonicalName());
713 LogUtil.e("addMmsDraft; invalid MMS type: " + pdu.getClass().getCanonicalName());
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DTestActivity.java109 String type = intent.getType();
112 if (stream != null && type != null) {
114 * if (MimeUtility.mimeTypeMatches(type,
119 + type);
505 + op.getReceivedHeader().getHeader(HeaderSet.NAME) + " type " + op.getType());
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java445 * @return a map from Calendar to a pair (account type, account name)
464 String type = calendarCursor.getString(account_type_idx);
465 if (name != null && type != null) {
466 calendarsToAccounts.put(id, new Pair<String, String>(type, name));
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java91 * A marker in the spinner adapter of the currently selected custom type.
212 * Configures the visibility of the type label button and enables or disables it properly.
520 // User picked type, and we're sure it's ok to actually write the entry.
631 EditType type = getItem(position);
633 if (type == CUSTOM_SELECTION) {
636 text = getContext().getString(type.labelRes);
/packages/apps/Email/provider_src/com/android/email/
H A DLegacyConversions.java67 /** Used for mapping folder names to type codes (e.g. inbox, drafts, trash) */
227 // Run the mime type through inferMimeType in case we have something generic and can do
467 * Helper method to add a body part for a given type of text, if found
470 * @param contentType The content-type of the text being added
488 * @param contentType Mime type
511 * Infer mailbox type from mailbox name. Used by MessagingController (for live folder sync).
541 Integer type = sServerMailboxNames.get(mailboxName);
542 if (type != null) {
543 return type;
/packages/apps/Settings/src/com/android/settings/
H A DApnSettings.java247 "\" AND NOT (type='ia' AND (apn=\"\" OR apn IS NULL)) AND user_visible!=0");
250 where.append(" AND NOT (type='ims')");
254 "_id", "name", "apn", "type", "mvno_type", "mvno_match_data"}, where.toString(),
277 String type = cursor.getString(TYPES_INDEX);
289 boolean selectable = ((type == null) || !type.equals("mms"));
387 + ", newValue - " + newValue + ", newValue type - "
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerUsageSummary.java405 for (DrainType type : DrainType.values()) {
406 if (type == DrainType.APP) {
409 stats.add(new BatterySipper(type, null, use));

Completed in 1227 milliseconds

<<11121314151617181920>>