Lines Matching defs:ContentType
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");
879 public void setContentType(ContentType type) {
881 if (mContentType != type || type == ContentType.Widgets) {
888 public ContentType getContentType() {
1282 if (mContentType == ContentType.Applications) {
1289 } else if (mContentType == ContentType.Widgets) {
1298 throw new RuntimeException("Invalid ContentType");
1306 if (mContentType == ContentType.Widgets) {
1485 if (mContentType != ContentType.Applications) {
1486 setContentType(ContentType.Applications);
1555 if (mContentType == ContentType.Applications) {
1558 } else if (mContentType == ContentType.Widgets) {
1562 throw new RuntimeException("Invalid ContentType");