Home
last modified time | relevance | path

Searched refs:shouldHideSecondTarget (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAddPreferenceTest.java65 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in onBindViewHolder_noListener_addButtonNotVisible()
73 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in onBindViewHolder_hasListener_addButtonVisible()
80 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
84 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
93 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
97 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
104 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
108 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
112 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserPreferenceTest.java58 assertThat(mUserPreference.shouldHideSecondTarget()).isTrue(); in testShouldHideSecondTarget_noListener_shouldHide()
65 assertThat(mUserPreference.shouldHideSecondTarget()).isTrue(); in testShouldHideSecondTarget_disabledByAdmin_shouldHide()
73 assertThat(mUserPreference.shouldHideSecondTarget()).isFalse(); in testShouldHideSecondTarget_hasSettingListener_shouldNotHide()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java139 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_noDevice_shouldReturnTrue()
146 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_notBond_shouldReturnTrue()
155 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_hasUserRestriction_shouldReturnTrue()
165 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in shouldHideSecondTarget_hasBoundDeviceAndNoRestriction_shouldReturnFalse()
DConnectedBluetoothDeviceUpdaterTest.java247 assertThat(btPreference.shouldHideSecondTarget()).isTrue(); in addPreference_addPreference_shouldHideSecondTarget()
/packages/apps/Settings/src/com/android/settings/widget/
DAddPreference.java53 mWidgetFrame.setVisibility(shouldHideSecondTarget() ? View.GONE : View.VISIBLE); in setOnAddClickListener()
69 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in AddPreference
DGearPreference.java50 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in GearPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DAddPreference.java53 mWidgetFrame.setVisibility(shouldHideSecondTarget() ? View.GONE : View.VISIBLE); in setOnAddClickListener()
69 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in AddPreference
DGearPreference.java50 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in GearPreference
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java94 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in UserPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java94 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in UserPreference
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDevicePreference.java92 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in BluetoothDevicePreference
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java93 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in BluetoothDevicePreference