Home
last modified time | relevance | path

Searched refs:ContentType (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsWapPushReceiver.java25 import com.example.android.mmslib.ContentType;
40 && ContentType.MMS_MESSAGE.equals(intent.getType())) { in onReceive()
DMmsMessagingDemo.java19 import com.example.android.mmslib.ContentType;
382 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
402 smilPart.setContentType(ContentType.APP_SMIL.getBytes()); in addSmilPart()
445 && ContentType.isTextType(new String(part.getContentType()))) { in getMessageText()
/development/samples/ApiDemos/src/com/example/android/mmslib/
DContentType.java22 public class ContentType { class
166 private ContentType() { in ContentType() method in ContentType
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduParser.java22 import com.example.android.mmslib.ContentType;
180 if (ctTypeStr.equals(ContentType.MULTIPART_MIXED) in parse()
181 || ctTypeStr.equals(ContentType.MULTIPART_RELATED) in parse()
182 || ctTypeStr.equals(ContentType.MULTIPART_ALTERNATIVE)) { in parse()
187 } else if (ctTypeStr.equals(ContentType.MULTIPART_ALTERNATIVE)) { in parse()
903 if (partContentType.equalsIgnoreCase(ContentType.MULTIPART_ALTERNATIVE)) { in parseParts()