Home
last modified time | relevance | path

Searched refs:shouldHideSecondTarget (Results 1 – 15 of 15) 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/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.java66 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in GearPreference
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreferenceTest.java151 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_connected()
160 assertThat(p.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_notEncrypted()
169 assertThat(p.shouldHideSecondTarget()).isFalse(); in shouldShowSecondTarget_encrypted()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java188 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_noDevice_shouldReturnTrue()
195 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_notBond_shouldReturnTrue()
204 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in shouldHideSecondTarget_hasUserRestriction_shouldReturnTrue()
214 assertThat(mPreference.shouldHideSecondTarget()).isFalse(); in shouldHideSecondTarget_hasBoundDeviceAndNoRestriction_shouldReturnFalse()
DConnectedBluetoothDeviceUpdaterTest.java337 assertThat(btPreference.shouldHideSecondTarget()).isTrue(); in addPreference_addPreference_shouldHideSecondTarget()
/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/
DHandheldRolePreference.java86 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in HandheldRolePreference
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DPrimaryProviderPreference.java185 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in PrimaryProviderPreference
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetySubpageEntryPreference.kt141 override fun shouldHideSecondTarget(): Boolean = entry.iconAction == null in shouldHideSecondTarget() method
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreference.java117 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in AudioStreamPreference
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java147 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in BluetoothDevicePreference
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt2227 PLcom/android/settingslib/widget/TwoTargetPreference;->shouldHideSecondTarget()Z