Searched refs:getOrder (Results 1 – 25 of 40) sorted by relevance
12
81 assertThat(mPreferenceScreen.getPreference(0).getOrder()) in injectPreferencesToParent_whenOrderingAsAdded()83 assertThat(mPreferenceScreen.getPreference(1).getOrder()) in injectPreferencesToParent_whenOrderingAsAdded()86 assertThat(mPreferenceScreen.getPreference(2).getOrder()) in injectPreferencesToParent_whenOrderingAsAdded()92 assertThat(mPreferenceScreen.getPreference(3).getOrder()) in injectPreferencesToParent_whenOrderingAsAdded()
88 int preferenceOrder = getOrder(); in updateOrder()93 && preference.getOrder() > preferenceOrder + mInsertedPreferences) { in updateOrder()94 preference.setOrder(preference.getOrder() + 1); in updateOrder()
120 final int topOfList = mFragment.findPreference(KEY_HEADER_BUTTONS).getOrder(); in testOrderOfOptionsFollowsConfig()122 assertTrue(topOfList < mFragment.findPreference(KEY_PREF_3_2).getOrder()); in testOrderOfOptionsFollowsConfig()123 assertTrue(mFragment.findPreference(KEY_PREF_3_2).getOrder() in testOrderOfOptionsFollowsConfig()124 < mFragment.findPreference(KEY_PREF_FULLSCREEN).getOrder()); in testOrderOfOptionsFollowsConfig()125 assertTrue(mFragment.findPreference(KEY_PREF_FULLSCREEN).getOrder() in testOrderOfOptionsFollowsConfig()126 < mFragment.findPreference(KEY_PREF_DEFAULT).getOrder()); in testOrderOfOptionsFollowsConfig()
61 when(mScreen.findPreference(anyString()).getOrder()).thenReturn(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()65 assertThat(mController.getOrder()).isEqualTo(baseOrder); in display_hasPlaceholderPref_shouldUseOrderFromPlaceholder()74 assertThat(mController.getOrder()).isEqualTo(Preference.DEFAULT_ORDER); in display_noPlaceholderPref_shouldUseDefaultOrder()
186 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_shouldBindAllData()206 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_shouldBindAllSwitchData()228 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_providerTileWithPendingIntent_shouldBindIntent()242 assertThat(preference.getOrder()).isEqualTo(tile.getOrder()); in bindPreference_noFragmentMetadata_shouldBindIntent()317 assertThat(preference.getOrder()).isEqualTo(Preference.DEFAULT_ORDER); in bindPreference_withNullKeyNullPriority_shouldGenerateKeyAndPriority()530 assertThat(preference.getOrder()).isEqualTo(tile.getOrder() + baseOrder); in bindPreference_withBaseOrder_shouldOffsetOrder()543 assertThat(preference.getOrder()).isEqualTo(testOrder); in bindPreference_withOrderMetadata_shouldUseOrderInMetadata()555 assertThat(preference.getOrder()).isEqualTo(Preference.DEFAULT_ORDER); in bindPreference_invalidOrderMetadata_shouldIgnore()
48 mOrder = pref.getOrder(); in displayPreference()63 public int getOrder() { in getOrder() method in DashboardTilePlaceholderPreferenceController
66 Comparator.comparingInt(AudioStreamPreference::getOrder); in addAudioStreamPreference_multiPreference_sorted()82 Comparator.comparingInt(AudioStreamPreference::getOrder); in removeAudioStreamPreferences_shouldBeEmpty()
57 assertThat(searchSpec.getOrder()).isEqualTo(SearchSpec.ORDER_ASCENDING); in testSearchSpecBuilder()109 assertThat(searchSpecCopy.getOrder()).isEqualTo(searchSpec.getOrder()); in testSearchSpecBuilderCopyConstructor()
207 assertThat(preference1.getOrder()).isEqualTo(0); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()208 assertThat(preference2.getOrder()).isEqualTo(1); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()209 assertThat(preference3.getOrder()).isEqualTo(2); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
352 assertThat(preference2.getOrder()).isEqualTo(0); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()353 assertThat(preference4.getOrder()).isEqualTo(1); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()354 assertThat(preference3.getOrder()).isEqualTo(2); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
163 final int order = mOriginalPreference.getOrder(); in replacePreference()235 mRestrictedPreference.setOrder(mOriginalPreference.getOrder()); in updateRestrictedPreference()
103 intensity.setOrder(mShortcutPreference.getOrder() - 2); in updateGeneralCategoryOrder()107 persist.setOrder(mShortcutPreference.getOrder() - 1); in updateGeneralCategoryOrder()
70 switchPref.setOrder(checkBox.getOrder()); in addSwitchPreferenceBasedOnCheckBoxPreference()
431 if (ecParameterSpec != null && ecParameterSpec.getOrder() != null) { in getSuiteBCipherFromCert()432 bitLength = ecParameterSpec.getOrder().bitLength(); in getSuiteBCipherFromCert()
75 assertThat(apps.getValue().getOrder()).isGreaterThan(0); in addsPreferenceToScreenWithHighOrder_onNoThreshold()
77 assertThat(pref.getOrder()).isEqualTo(ORDER); in testCreateBluetoothPairingPreference()
89 assertThat(preference.getOrder()).isEqualTo(ORDER); in testCreateBluetoothDeviceNamePreference()
97 int keySizeBytes = (privateKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) in getBytesFromP256PrivateKey()115 (publicKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) / Byte.SIZE; in getBytesFromP256PublicKey()
68 final int phonePreferenceOrder = preference.getOrder(); in displayPreference()
136 assertThat(mController.mSeekBarPreference.getOrder()).isEqualTo(100); in addToScreen_addsToEnd()
74 PREF_KEY_DEBUG_MISC_CATEGORY).getOrder(); in addPreferencesFromResource()
93 assertThat(preference.getOrder()).isEqualTo(DEFAULT_ORDER); in displayPreference_addsPreferenceToPreferenceScreen()
94 int imeiPreferenceOrder = preference.getOrder(); in displayPreference()
100 mSlotSimStatus.setBasePreferenceOrdering(preference.getOrder()); in displayPreference()
117 assertWithMessage("order at index %s", i).that(pref.getOrder()).isEqualTo(i);