Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonChooserFactory.java56 Map<Integer, MappingInfo> mapping = createCommonMapping(); in newImsAndWiFiButtonChooser() local
57 mapping.put( in newImsAndWiFiButtonChooser()
61 mapping.put( in newImsAndWiFiButtonChooser()
63 mapping.put( in newImsAndWiFiButtonChooser()
65 mapping.put( in newImsAndWiFiButtonChooser()
67 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser()
69 return new ButtonChooser(new MappedButtonConfig(mapping)); in newImsAndWiFiButtonChooser()
73 Map<Integer, MappingInfo> mapping = createCommonMapping(); in newCdmaButtonChooser() local
74 mapping.put( in newCdmaButtonChooser()
77 mapping.put( in newCdmaButtonChooser()
[all …]
DMappedButtonConfig.java49 @NonNull private final Map<Integer, MappingInfo> mapping; field in MappedButtonConfig
58 public MappedButtonConfig(@NonNull Map<Integer, MappingInfo> mapping) { in MappedButtonConfig() argument
59 this.mapping = new ArrayMap<>(); in MappedButtonConfig()
60 this.mapping.putAll(Assert.isNotNull(mapping)); in MappedButtonConfig()
66 for (Entry<Integer, MappingInfo> entry : mapping.entrySet()) { in findOrderedMappedSlots()
77 if (mapping.isEmpty()) { in getOrderedMappedSlots()
90 for (Entry<Integer, MappingInfo> entry : mapping.entrySet()) { in getButtonsForSlot()
145 MappingInfo info = mapping.get(button);
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java55 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getController_hasSupportedCardType_shouldReturnCorrespondingController()
56 mPool.getController(mContext, mapping.mCardType).getClass()).isEqualTo( in getController_hasSupportedCardType_shouldReturnCorrespondingController()
57 mapping.mControllerClass)); in getController_hasSupportedCardType_shouldReturnCorrespondingController()
63 mapping -> mapping.mControllerClass).distinct().count(); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
66 mapping -> mPool.getController(mContext, mapping.mCardType)); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
82 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()
84 mapping.mViewType).getClass()).isEqualTo(mapping.mRendererClass)); in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()
90 mapping -> mapping.mRendererClass).distinct().count(); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
93 mapping -> mPool.getRendererByViewType(mContext, mLifecycleOwner, in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
94 mapping.mViewType)); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
DContextualCardLookupTableTest.java44 .forEach(mapping -> mOriginalLookupTable.add(mapping)); in setUp()
55 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
56 assertThat(ContextualCardLookupTable.getCardControllerClass(mapping.mCardType)) in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
57 .isEqualTo(mapping.mControllerClass); in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
70 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
71 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
72 .isEqualTo(mapping.mRendererClass); in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTable.java61 return Comparator.comparingInt((ControllerRendererMapping mapping) -> mapping.mCardType) in compareTo()
62 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()
106 for (ControllerRendererMapping mapping : LOOKUP_TABLE) { in getCardControllerClass()
107 if (mapping.mCardType == cardType) { in getCardControllerClass()
108 return mapping.mControllerClass; in getCardControllerClass()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardLookupTable.java61 return Comparator.comparingInt((ControllerRendererMapping mapping) -> mapping.mCardType) in compareTo()
62 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()
106 for (ControllerRendererMapping mapping : LOOKUP_TABLE) { in getCardControllerClass()
107 if (mapping.mCardType == cardType) { in getCardControllerClass()
108 return mapping.mControllerClass; in getCardControllerClass()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DAccountDisplayInfoFactoryTests.java178 final Map<AccountWithDataSet, AccountType> mapping) { in createFakeAccountTypeManager() argument
179 return new MockAccountTypeManager(mapping.values().toArray(new AccountType[mapping.size()]), in createFakeAccountTypeManager()
180 mapping.keySet().toArray(new AccountWithDataSet[mapping.size()])); in createFakeAccountTypeManager()
/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java99 Matrix mapping = new Matrix(); in doInBackground() local
100 mapping.setRectToRect(endRect, fullResRect, Matrix.ScaleToFit.CENTER); in doInBackground()
102 mapping.mapRect(visibleAfterRotation, visibleRect); in doInBackground()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java479 Character mapping = ESCAPE_STRINGS.get(entity); in stripHtmlEntity() local
481 if (mapping != null) { in stripHtmlEntity()
483 return mapping; in stripHtmlEntity()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1486 @ViewDebug.ExportedProperty(category = "layout", mapping = {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1486 @ViewDebug.ExportedProperty(category = "layout", mapping = {
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java160 mapping = {
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md122 When the `Reader` encounters a JSON number, it chooses a suitable C++ type mapping. And then it cal…
DDoxyfile.in244 # A mapping has the form "name=value". For example adding "class=itcl::class"
279 # extension. Doxygen has a built-in mapping, but you can override or extend it
1591 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile222 # Doxygen has a built-in mapping, but you can override or extend it using this tag.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile222 # Doxygen has a built-in mapping, but you can override or extend it using this tag.
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...