Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardTilePlaceholderPreferenceControllerTest.java60 final int baseOrder = 15; in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder() local
61 when(mScreen.findPreference(anyString()).getOrder()).thenReturn(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()
65 assertThat(mController.getOrder()).isEqualTo(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()
DDashboardFeatureProviderImplTest.java522 final int baseOrder = 100; in bindPreference_withBaseOrder_shouldOffsetOrder() local
528 preference, tile, "123", baseOrder); in bindPreference_withBaseOrder_shouldOffsetOrder()
530 assertThat(preference.getOrder()).isEqualTo(tile.getOrder() + baseOrder); in bindPreference_withBaseOrder_shouldOffsetOrder()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProvider.java62 String key, int baseOrder); in bindPreferenceToTileAndGetObservers() argument
DDashboardFeatureProviderImpl.java134 String key, int baseOrder) { in bindPreferenceToTileAndGetObservers() argument
214 if (shouldSkipBaseOrderOffset || baseOrder == Preference.DEFAULT_ORDER) { in bindPreferenceToTileAndGetObservers()
217 pref.setOrder(order + baseOrder); in bindPreferenceToTileAndGetObservers()