Searched refs:WordListMetadata (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataHandler.java | 47 private static List<WordListMetadata> makeMetadataObject(final Cursor results) { in makeMetadataObject() 48 final ArrayList<WordListMetadata> buildingMetadata = new ArrayList<>(); in makeMetadataObject() 69 buildingMetadata.add(new WordListMetadata(results.getString(idIndex), in makeMetadataObject() 93 public static List<WordListMetadata> getCurrentMetadata(final Context context, in getCurrentMetadata() 117 public static WordListMetadata getCurrentMetadataForWordList(final Context context, in getCurrentMetadataForWordList() 129 return WordListMetadata.createFromContentValues(contentValues); in getCurrentMetadataForWordList() 139 public static List<WordListMetadata> readMetadata(final InputStreamReader input) in readMetadata() 158 public static WordListMetadata findWordListById(final List<WordListMetadata> metadata, in findWordListById() 160 WordListMetadata bestWordList = null; in findWordListById() 162 for (WordListMetadata wordList : metadata) { in findWordListById()
|
D | ActionBatch.java | 99 final WordListMetadata mWordList; 100 public StartDownloadAction(final String clientId, final WordListMetadata wordList) { in StartDownloadAction() 209 final WordListMetadata mWordList; 211 public EnableAction(final String clientId, final WordListMetadata wordList) { in EnableAction() 245 final WordListMetadata mWordList; 246 public DisableAction(final String clientId, final WordListMetadata wordlist) { in DisableAction() 287 final WordListMetadata mWordList; 288 public MakeAvailableAction(final String clientId, final WordListMetadata wordlist) { in MakeAvailableAction() 337 final WordListMetadata mWordList; 338 public MarkPreInstalledAction(final String clientId, final WordListMetadata wordlist) { in MarkPreInstalledAction() [all …]
|
D | UpdateHandler.java | 592 final List<WordListMetadata> newMetadata; in handleMetadata() 747 final String clientId, @Nullable final List<WordListMetadata> from, in compareMetadataForUpgrade() 748 @Nullable final List<WordListMetadata> to) { in compareMetadataForUpgrade() 754 final List<WordListMetadata> fromList = (from == null) ? new ArrayList<WordListMetadata>() in compareMetadataForUpgrade() 756 final List<WordListMetadata> toList = (to == null) ? new ArrayList<WordListMetadata>() in compareMetadataForUpgrade() 758 for (WordListMetadata wlData : fromList) wordListIds.add(wlData.mId); in compareMetadataForUpgrade() 759 for (WordListMetadata wlData : toList) wordListIds.add(wlData.mId); in compareMetadataForUpgrade() 761 final WordListMetadata currentInfo = MetadataHandler.findWordListById(fromList, id); in compareMetadataForUpgrade() 762 final WordListMetadata metadataInfo = MetadataHandler.findWordListById(toList, id); in compareMetadataForUpgrade() 765 final WordListMetadata newInfo = null == metadataInfo in compareMetadataForUpgrade() [all …]
|
D | MetadataParser.java | 53 private static WordListMetadata parseOneWordList(final JsonReader reader) in parseOneWordList() 78 return new WordListMetadata( in parseOneWordList() 101 public static List<WordListMetadata> parseMetadata(final InputStreamReader input) in parseMetadata() 104 final ArrayList<WordListMetadata> readInfo = new ArrayList<>(); in parseMetadata() 107 final WordListMetadata thisMetadata = parseOneWordList(reader); in parseMetadata()
|
D | WordListMetadata.java | 28 public class WordListMetadata { class 55 public WordListMetadata(final String id, final int type, in WordListMetadata() method in WordListMetadata 82 public static WordListMetadata createFromContentValues(@Nonnull final ContentValues values) { in createFromContentValues() 111 return new WordListMetadata(id, type, description, lastUpdate, fileSize, rawChecksum, in createFromContentValues() 118 final StringBuilder sb = new StringBuilder(WordListMetadata.class.getSimpleName()); in toString()
|
D | DictionaryProvider.java | 507 final WordListMetadata newDictionaryMetadata = in insert() 508 WordListMetadata.createFromContentValues( in insert()
|