Home
last modified time | relevance | path

Searched refs:shouldHideSecondTarget (Results 1 – 11 of 11) 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/bluetooth/
DBluetoothDevicePreferenceTest.java172 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_noDevice_shouldReturnTrue()
179 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_notBond_shouldReturnTrue()
188 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_hasUserRestriction_shouldReturnTrue()
198 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in shouldHideSecondTarget_hasBoundDeviceAndNoRestriction_shouldReturnFalse()
DConnectedBluetoothDeviceUpdaterTest.java254 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.java61 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in GearPreference
DPrimarySwitchPreference.java159 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in PrimarySwitchPreference
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserPreferenceTest.java53 assertThat(mUserPreference.shouldHideSecondTarget()).isTrue(); in testShouldHideSecondTarget_shouldHide()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java79 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in UserPreference
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnInfoPreference.java54 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in VpnInfoPreference
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DSettingsButtonPreference.java81 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in SettingsButtonPreference
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java122 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in BluetoothDevicePreference