Searched refs:baseOrder (Results 1 – 4 of 4) sorted by relevance
60 final int baseOrder = 15; in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder() local61 when(mScreen.findPreference(anyString()).getOrder()).thenReturn(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()65 assertThat(mController.getOrder()).isEqualTo(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()
522 final int baseOrder = 100; in bindPreference_withBaseOrder_shouldOffsetOrder() local528 preference, tile, "123", baseOrder); in bindPreference_withBaseOrder_shouldOffsetOrder()530 assertThat(preference.getOrder()).isEqualTo(tile.getOrder() + baseOrder); in bindPreference_withBaseOrder_shouldOffsetOrder()
62 String key, int baseOrder); in bindPreferenceToTileAndGetObservers() argument
134 String key, int baseOrder) { in bindPreferenceToTileAndGetObservers() argument214 if (shouldSkipBaseOrderOffset || baseOrder == Preference.DEFAULT_ORDER) { in bindPreferenceToTileAndGetObservers()217 pref.setOrder(order + baseOrder); in bindPreferenceToTileAndGetObservers()