Home
last modified time | relevance | path

Searched refs:newType (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java775 int newType; in updateVisualsOnDraftChanged() local
777 newType = ContentType.TYPE_IMAGE; in updateVisualsOnDraftChanged()
779 newType = ContentType.TYPE_AUDIO; in updateVisualsOnDraftChanged()
781 newType = ContentType.TYPE_VIDEO; in updateVisualsOnDraftChanged()
783 newType = ContentType.TYPE_VCARD; in updateVisualsOnDraftChanged()
785 newType = ContentType.TYPE_OTHER; in updateVisualsOnDraftChanged()
789 type = newType; in updateVisualsOnDraftChanged()
790 } else if (type != newType || type == ContentType.TYPE_OTHER) { in updateVisualsOnDraftChanged()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java2263 String newType = newRow.getAsString(TYPE); in mergeFieldsAndUpdateDb() local
2265 if (!oldType.equalsIgnoreCase(newType)) { in mergeFieldsAndUpdateDb()
2266 if (oldType.equals("") || newType.equals("")) { in mergeFieldsAndUpdateDb()
2270 String[] newTypes = newType.toLowerCase().split(","); in mergeFieldsAndUpdateDb()