Searched refs:mAttributes (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItemAttributes.java39 private final EnumSet<Attributes> mAttributes; field in class:FilmstripItemAttributes
45 mAttributes = attributes;
49 return mAttributes.contains(Attributes.HAS_DETAILED_CAPTURE_INFO);
54 return mAttributes.contains(Attributes.CAN_SHARE);
59 return mAttributes.contains(Attributes.CAN_EDIT);
64 return mAttributes.contains(Attributes.CAN_DELETE);
68 return mAttributes.contains(Attributes.CAN_SWIPE_AWAY);
72 return mAttributes.contains(Attributes.CAN_ZOOM_IN_PLACE);
76 return mAttributes.contains(Attributes.IS_RENDERING);
81 return mAttributes
92 EnumSet<Attributes> mAttributes = EnumSet.noneOf(Attributes.class); field in class:FilmstripItemAttributes.Builder
[all...]
H A DPlaceholderItem.java47 private final FilmstripItemAttributes mAttributes; field in class:PlaceholderItem
76 mAttributes = PLACEHOLDER_ITEM_ATTRIBUTES;
86 return mAttributes;
H A DFilmstripItemBase.java49 protected final FilmstripItemAttributes mAttributes; field in class:FilmstripItemBase
59 mAttributes = attributes;
116 return mAttributes;
H A DSessionItem.java44 private final FilmstripItemAttributes mAttributes; field in class:SessionItem
79 mAttributes = new FilmstripItemAttributes.Builder()
169 return mAttributes;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDownloadRecord.java29 public final ContentValues mAttributes; field in class:DownloadRecord
32 mAttributes = attributes;
35 return null == mAttributes;
H A DUpdateHandler.java452 db, record.mAttributes, record.mClientId);
529 final int wordListStatus = downloadRecord.mAttributes.getAsInteger(
625 DebugLogUtils.l("Downloaded a new word list :", downloadRecord.mAttributes.getAsString(
628 + downloadRecord.mAttributes.getAsString(MetadataDbHelper.DESCRIPTION_COLUMN)
632 downloadRecord.mAttributes.getAsString(MetadataDbHelper.LOCALE_COLUMN);
634 downloadRecord.mAttributes.put(MetadataDbHelper.LOCAL_FILENAME_COLUMN, destinationFile);
663 if (!md5sum.equals(downloadRecord.mAttributes.getAsString(
667 + downloadRecord.mAttributes.getAsString(MetadataDbHelper.CHECKSUM_COLUMN)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DDictionaryHeader.java66 final String localeString = dictionaryOptions.mAttributes.get(DICTIONARY_LOCALE_KEY);
70 final String versionString = dictionaryOptions.mAttributes.get(DICTIONARY_VERSION_KEY);
75 final String idString = dictionaryOptions.mAttributes.get(DICTIONARY_ID_KEY);
89 return mDictionaryOptions.mAttributes.get(DICTIONARY_DESCRIPTION_KEY);
H A DFormatSpec.java269 public final HashMap<String, String> mAttributes; field in class:FormatSpec.DictionaryOptions
271 mAttributes = attributes;
287 for (final String optionKey : mAttributes.keySet()) {
294 1000 * Long.parseLong(mAttributes.get(optionKey))).toString());
296 s.append(mAttributes.get(optionKey));
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDiff.java79 if (null == dict0.mOptions.mAttributes.get("locale")) return false;
80 if (null == dict1.mOptions.mAttributes.get("locale")) return false;
81 final String dict0Lang = dict0.mOptions.mAttributes.get("locale").split("_", 3)[0];
82 final String dict1Lang = dict1.mOptions.mAttributes.get("locale").split("_", 3)[0];
88 final HashMap<String, String> options1 = new HashMap<>(dict1.mOptions.mAttributes);
89 for (final String optionKey : dict0.mOptions.mAttributes.keySet()) {
90 if (!dict0.mOptions.mAttributes.get(optionKey).equals(
91 dict1.mOptions.mAttributes.get(optionKey))) {
93 + dict0.mOptions.mAttributes.get(optionKey) + " <=> "
94 + dict1.mOptions.mAttributes
[all...]
H A DCombinedInputOutput.java226 destination.write(CombinedFormatUtils.formatAttributeMap(dict.mOptions.mAttributes));
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtilsTests.java84 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, VERSION);
85 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_LOCALE_KEY, LOCALE);
86 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_ID_KEY, ID);
115 assertEquals("Wrong version attribute", VERSION, resultDict.mOptions.mAttributes.get(
117 assertEquals("Wrong locale attribute", LOCALE, resultDict.mOptions.mAttributes.get(
119 assertEquals("Wrong id attribute", ID, resultDict.mOptions.mAttributes.get(
204 assertEquals(header.mDictionaryOptions.mAttributes, options);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionaryGetter.java209 final String version = header.mDictionaryOptions.mAttributes.get(VERSION_KEY);
H A DExpandableBinaryDictionary.java703 header.mDictionaryOptions.mAttributes));
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictEncoderUtils.java784 for (final String key : dict.mOptions.mAttributes.keySet()) {
785 final String value = dict.mOptions.mAttributes.get(key);
H A DFusionDictionary.java239 mOptions.mAttributes.put(key, value);

Completed in 183 milliseconds