Home
last modified time | relevance | path

Searched refs:mMetadataRepo (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DMetadataRepoTest.java34 MetadataRepo mMetadataRepo; field in MetadataRepoTest
38 mMetadataRepo = new MetadataRepo(); in clearResourceIndex()
43 mMetadataRepo.put(null); in testPut_withNullMetadata()
48 mMetadataRepo.put(new TestEmojiMetadata(new int[0])); in testPut_withEmptyKeys()
55 mMetadataRepo.put(metadata); in testPut_withSingleCodePointMapping()
63 mMetadataRepo.put(metadata); in testPut_withMultiCodePointsMapping()
83 mMetadataRepo.put(metadata1); in testPut_sequentialCodePoints()
84 mMetadataRepo.put(metadata2); in testPut_sequentialCodePoints()
85 mMetadataRepo.put(metadata3); in testPut_sequentialCodePoints()
96 return getNode(mMetadataRepo.getRootNode(), codepoints, 0); in getNode()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
DEmojiMetadata.java81 private final MetadataRepo mMetadataRepo; field in EmojiMetadata
90 mMetadataRepo = metadataRepo; in EmojiMetadata()
105 final Typeface typeface = mMetadataRepo.getTypeface(); in draw()
113 canvas.drawText(mMetadataRepo.getEmojiCharArray(), charArrayStartIndex, 2, x, y, paint); in draw()
121 return mMetadataRepo.getTypeface(); in getTypeface()
140 mMetadataRepo.getMetadataList().list(result, mIndex); in getMetadataItem()
DEmojiCompat.java1140 private volatile MetadataRepo mMetadataRepo;
1175 mMetadataRepo = metadataRepo;
1176 mProcessor = new EmojiProcessor(mMetadataRepo, new SpanFactory(),
1202 outAttrs.extras.putInt(EDITOR_INFO_METAVERSION_KEY, mMetadataRepo.getMetadataVersion());
1213 final String sha = mMetadataRepo.getMetadataList().sourceSha();
DEmojiProcessor.java90 private final MetadataRepo mMetadataRepo; field in EmojiProcessor
112 mMetadataRepo = metadataRepo; in EmojiProcessor()
118 final ProcessorSm sm = new ProcessorSm(mMetadataRepo.getRootNode(), in getEmojiMetadata()
220 final ProcessorSm sm = new ProcessorSm(mMetadataRepo.getRootNode(), in process()