Home
last modified time | relevance | path

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

/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectableClassModel.java178 private @Nullable List<IntEnumEntry> mIntEnumEntries;
230 public List<IntEnumEntry> getIntEnumEntries() { in getIntEnumEntries()
238 public void setIntEnumEntries(@NonNull List<IntEnumEntry> intEnumEntries) { in setIntEnumEntries()
330 public static final class IntEnumEntry { class in InspectableClassModel
334 public IntEnumEntry(int value, @NonNull String name) { in IntEnumEntry() method in InspectableClassModel.IntEnumEntry
DInspectionCompanionGenerator.java19 import android.processor.view.inspector.InspectableClassModel.IntEnumEntry;
305 final List<IntEnumEntry> enumEntries = property.getIntEnumEntries(); in generateIntEnumPropertyMapperInvocation()
306 enumEntries.sort(Comparator.comparing(IntEnumEntry::getValue)); in generateIntEnumPropertyMapperInvocation()
314 for (IntEnumEntry enumEntry : enumEntries) { in generateIntEnumPropertyMapperInvocation()
DInspectablePropertyProcessor.java20 import android.processor.view.inspector.InspectableClassModel.IntEnumEntry;
621 private List<IntEnumEntry> processEnumMapping( in processEnumMapping()
626 List<IntEnumEntry> enumEntries = new ArrayList<>(enumAnnotations.size()); in processEnumMapping()
648 enumEntries.add(new IntEnumEntry(value, name)); in processEnumMapping()
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java25 import android.processor.view.inspector.InspectableClassModel.IntEnumEntry;
114 new IntEnumEntry(3, "THREE"), in testIntEnum()
115 new IntEnumEntry(2, "TWO"), in testIntEnum()
116 new IntEnumEntry(1, "ONE"))); in testIntEnum()