Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTwoTargetPreference.java100 final boolean shouldHideSecondTarget = shouldHideSecondTarget(); in onBindViewHolder()
102 divider.setVisibility(shouldHideSecondTarget ? View.GONE : View.VISIBLE); in onBindViewHolder()
105 widgetFrame.setVisibility(shouldHideSecondTarget ? View.GONE : View.VISIBLE); in onBindViewHolder()
109 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in TwoTargetPreference
DRestrictedPreference.java62 protected boolean shouldHideSecondTarget() { in shouldHideSecondTarget() method in RestrictedPreference
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTwoTargetPreferenceTest.java66 assertThat(mPreference.shouldHideSecondTarget()).isTrue(); in bind_noSecondTarget_shouldNotDrawDivider()
76 doReturn(false).when(mPreference).shouldHideSecondTarget(); in bind_hasSecondTarget_shouldNotDrawDivider()