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");
876 public void setContentType(ContentType type) {
878 if (mContentType != type || type == ContentType.Widgets) {
885 public ContentType getContentType() {
1279 if (mContentType == ContentType.Applications) {
1286 } else if (mContentType == ContentType.Widgets) {
1295 throw new RuntimeException("Invalid ContentType");
1303 if (mContentType == ContentType.Widgets) {
1482 if (mContentType != ContentType.Applications) {
1483 setContentType(ContentType.Applications);
1552 if (mContentType == ContentType.Applications) {
1555 } else if (mContentType == ContentType.Widgets) {
1559 throw new RuntimeException("Invalid ContentType");