HomeSort by relevance Sort by last modified time
    Searched refs:ContentType (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/platform/
ContentType.h 35 class PLATFORM_EXPORT ContentType {
37 explicit ContentType(const String& type);
ContentType.cpp 29 #include "platform/ContentType.h"
33 ContentType::ContentType(const String& contentType)
34 : m_type(contentType)
38 String ContentType::parameter(const String& parameterName) const
67 String ContentType::type() const
79 Vector<String> ContentType::codecs() const
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
TextResourceDecoder.h 76 enum ContentType { PlainTextContent, HTMLContent, XMLContent, CSSContent }; // PlainText only checks for BOM.
77 static ContentType determineContentType(const String& mimeType);
78 static const WTF::TextEncoding& defaultEncoding(ContentType, const WTF::TextEncoding& defaultEncoding);
87 ContentType m_contentType;
TextResourceDecoder.cpp 91 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType)
102 const WTF::TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const WTF::TextEncoding& specifiedDefaultEncoding)
106 if (contentType == XMLContent)
  /external/nist-sip/java/gov/nist/javax/sip/parser/
ContentTypeParser.java 48 public ContentTypeParser(String contentType) {
49 super(contentType);
58 ContentType contentType = new ContentType();
69 contentType.setContentType(type.getTokenValue());
76 contentType.setContentSubType(subType.getTokenValue());
77 super.parse(contentType);
83 return contentType;
  /packages/apps/Mms/src/com/android/mms/model/
CarrierContentRestriction.java 30 import com.google.android.mms.ContentType;
39 sSupportedImageTypes = ContentType.getImageTypes();
40 sSupportedAudioTypes = ContentType.getAudioTypes();
41 sSupportedVideoTypes = ContentType.getVideoTypes();
71 public void checkImageContentType(String contentType)
73 if (null == contentType) {
77 if (!sSupportedImageTypes.contains(contentType)) {
79 + contentType);
83 public void checkAudioContentType(String contentType)
85 if (null == contentType) {
    [all...]
MediaModelFactory.java 33 import com.google.android.mms.ContentType;
121 return new TextModel(context, ContentType.TEXT_PLAIN, null, regionModel);
133 String contentType = new String(bytes);
136 media = new TextModel(context, contentType, src,
139 media = new ImageModel(context, contentType, src,
142 media = new VideoModel(context, contentType, src,
145 media = new AudioModel(context, contentType, src,
148 if (ContentType.isTextType(contentType)) {
149 media = new TextModel(context, contentType, src
    [all...]
SmilHelper.java 54 import com.google.android.mms.ContentType;
106 ContentType.APP_SMIL.getBytes())) {
215 String contentType = new String(part.getContentType());
217 if (ContentType.isDrmType(contentType)) {
218 contentType = drmManagerClient.getOriginalMimeType(part.getDataUri());
221 if (contentType.equals(ContentType.TEXT_PLAIN)
222 || contentType.equalsIgnoreCase(ContentType.APP_WAP_XHTML
    [all...]
VideoModel.java 42 import com.google.android.mms.ContentType;
58 public VideoModel(Context context, String contentType, String src,
60 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
125 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) {
134 mContentType = ContentType.VIDEO_3GPP;
SlideModel.java 37 import com.google.android.mms.ContentType;
104 String contentType = media.getContentType();
105 if (TextUtils.isEmpty(contentType) || ContentType.TEXT_PLAIN.equals(contentType)
106 || ContentType.TEXT_HTML.equals(contentType)) {
  /external/nist-sip/java/gov/nist/javax/sip/header/
ContentType.java 35 * ContentType SIP Header
64 public class ContentType
78 public ContentType() {
83 *@param contentType is the content type.
86 public ContentType(String contentType, String contentSubtype) {
88 this.setContentType(contentType, contentSubtype);
170 *@param contentType Content type string.
173 public void setContentType(String contentType, String contentSubType) {
176 mediaRange.setType(contentType);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
AppsCustomizeTabHost.java 63 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
67 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
98 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
100 return AppsCustomizePagedView.ContentType.Applications;
102 return AppsCustomizePagedView.ContentType.Widgets;
104 return AppsCustomizePagedView.ContentType.Applications;
110 public String getTabTagForContentType(AppsCustomizePagedView.ContentType type) {
111 if (type == AppsCustomizePagedView.ContentType.Applications) {
113 } else if (type == AppsCustomizePagedView.ContentType.Widgets) {
AppsCustomizePagedView.java 154 public enum ContentType {
158 private ContentType mContentType = ContentType.Applications;
281 if (mContentType == ContentType.Applications) {
289 } else if (mContentType == ContentType.Widgets) {
299 throw new RuntimeException("Invalid ContentType");
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizeTabHost.java 76 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
84 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
87 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
197 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
203 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
298 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
307 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
309 return AppsCustomizePagedView.ContentType.Applications;
311 return AppsCustomizePagedView.ContentType.Widgets;
313 return AppsCustomizePagedView.ContentType.Applications
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MmsWapPushReceiver.java 19 import com.google.android.mms.ContentType;
40 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 158 public static class ContentType {
359 appParamValue.needTag = ContentType.PHONEBOOK;
361 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
363 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
365 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY;
368 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY;
385 appParamValue.needTag = ContentType.PHONEBOOK;
388 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
391 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
394 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
tlsrecordlayer.py 204 for result in self._getMsg(ContentType.application_data):
354 for result in self._getMsg((ContentType.alert, \
355 ContentType.application_data)):
358 if result.contentType == ContentType.alert:
554 contentType = msg.contentType
557 if contentType == ContentType.handshake:
566 mac.update(compatHMAC(bytearray([contentType])))
    [all...]
tlsconnection.py 641 for result in self._getMsg(ContentType.handshake,
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowEditor.java 32 import com.google.android.mms.ContentType;
78 mContext, ContentType.TEXT_PLAIN, generateTextSrc(mModel, size),
186 ContentType.TEXT_PLAIN, generateTextSrc(mModel, position),
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLMediaElement.h 53 class ContentType;
80 static blink::WebMimeRegistry::SupportsType supportsType(const ContentType&, const String& keySystem = String());
378 void loadResource(const KURL&, ContentType&, const String& keySystem);
394 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction);
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
MediaKeys.cpp 37 #include "platform/ContentType.h"
47 static bool isKeySystemSupportedWithContentType(const String& keySystem, const String& contentType)
51 ContentType type(contentType);
103 MediaKeySession* MediaKeys::createSession(ExecutionContext* context, const String& contentType, Uint8Array* initData, ExceptionState& exceptionState)
111 if (contentType.isEmpty()) {
112 exceptionState.throwDOMException(InvalidAccessError, "The contentType provided ('" + contentType + "') is empty.");
123 if (!isKeySystemSupportedWithContentType(m_keySystem, contentType)) {
124 exceptionState.throwDOMException(NotSupportedError, "The type provided ('" + contentType + "') is unsupported.")
    [all...]
  /frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
PduPersister.java 20 import com.google.android.mms.ContentType;
403 byte[] contentType = getByteArrayFromPartColumn(
405 if (contentType != null) {
406 part.setContentType(contentType);
430 String type = toIsoString(contentType);
431 if (!ContentType.isImageType(type)
432 && !ContentType.isAudioType(type)
433 && !ContentType.isVideoType(type)) {
440 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type
    [all...]
  /external/chromium_org/components/cloud_devices/common/
printer_description.h 20 typedef std::string ContentType;
340 typedef ListCapability<ContentType, ContentTypeTraits> ContentTypesCapability;
  /frameworks/opt/telephony/src/java/com/google/android/mms/
ContentType.java 22 public class ContentType {
166 private ContentType() {
169 public static boolean isSupportedType(String contentType) {
170 return (null != contentType) && sSupportedContentTypes.contains(contentType);
173 public static boolean isSupportedImageType(String contentType) {
174 return isImageType(contentType) && isSupportedType(contentType);
177 public static boolean isSupportedAudioType(String contentType) {
178 return isAudioType(contentType) && isSupportedType(contentType)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
PushReceiver.java 42 import com.google.android.mms.ContentType;
163 && ContentType.MMS_MESSAGE.equals(intent.getType())) {

Completed in 653 milliseconds

1 2 3