Home
last modified time | relevance | path

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

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