Home
last modified time | relevance | path

Searched refs:SlicePreference (Results 1 – 23 of 23) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPrivacyFragment.kt37 import com.android.tv.twopanelsettings.slices.SlicePreference
87 deviceLockPreference?.isVisible = deviceLockPreference is SlicePreference in onCreateView()
91 assistantSlicePreference?.isVisible = assistantSlicePreference is SlicePreference in onCreateView()
93 purchasesSlicePreference?.isVisible = purchasesSlicePreference is SlicePreference in onCreateView()
115 return (overlaySecuritySlicePreference is SlicePreference in isOverlaySecuritySlicePreferenceEnabled()
138 return (updateSlicePreference is SlicePreference in isUpdateSlicePreferenceEnabled()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreference.java34 public class SlicePreference extends Preference implements HasSliceAction, HasSliceUri, class
46 public SlicePreference(Context context) { in SlicePreference() method in SlicePreference
51 public SlicePreference(Context context, AttributeSet attrs) { in SlicePreference() method in SlicePreference
73 attrs, R.styleable.SlicePreference); in initStyleAttributes()
DSlicePreferencesUtil.java93 preference = new SlicePreference(contextThemeWrapper); in getPreference()
94 ((SlicePreference) preference).setSliceAction(action); in getPreference()
95 ((SlicePreference) preference).setActionId(getActionId(item)); in getPreference()
99 ((SlicePreference) preference).setFollowupSliceAction(followUpAction); in getPreference()
153 preference = new SlicePreference(contextThemeWrapper); in getPreference()
265 if ((preference instanceof SlicePreference) in getPreference()
DEmbeddedSlicePreference.java27 public class EmbeddedSlicePreference extends SlicePreference
DEmbeddedSliceSwitchPreference.java75 attrs, R.styleable.SlicePreference); in initStyleAttributes()
DSliceFragment.java157 return preference1.getClass() == SlicePreference.class in onCreate()
569 } else if (preference instanceof SlicePreference) { in onPreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DBaseSettingsFragment.java35 import com.android.tv.twopanelsettings.slices.SlicePreference;
49 if (pref instanceof SlicePreference) { in onPreferenceStartFragment()
50 SlicePreference slicePref = (SlicePreference) pref; in onPreferenceStartFragment()
DMainFragment.java78 import com.android.tv.twopanelsettings.slices.SlicePreference;
440 SlicePreference connectedDevicesSlicePreference = in updateAccessoryPref()
441 (SlicePreference) findPreference(KEY_CONNECTED_DEVICES_SLICE); in updateAccessoryPref()
485 SlicePreference accountsSlicePref = in updateAccountPref()
486 (SlicePreference) findPreference(KEY_ACCOUNTS_AND_SIGN_IN_SLICE); in updateAccountPref()
605 SlicePreference channelsAndInputsSlicePreference = in updateChannelsAndInputs()
606 (SlicePreference) findPreference(KEY_CHANNELS_AND_INPUTS_SLICE); in updateChannelsAndInputs()
620 SlicePreference displayAndSoundSlicePreference = in updateDisplayAndSound()
621 (SlicePreference) findPreference(KEY_DISPLAY_AND_SOUND_SLICE); in updateDisplayAndSound()
741 (pref instanceof SlicePreference) in updateConnectedDevicePref()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicePreference.java32 public class SlicePreference extends LayoutPreference { class
35 public SlicePreference(Context context, AttributeSet attrs) { in SlicePreference() method in SlicePreference
40 public SlicePreference(Context context, AttributeSet attrs, int defStyleAttr) { in SlicePreference() method in SlicePreference
DSlicePreferenceController.java46 SlicePreference mSlicePreference;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.kt61 import com.android.tv.twopanelsettings.slices.SlicePreference
239 findPreference<SlicePreference>(KEY_CAST_SETTINGS_SLICE)?.apply { in updateCastSettings()
247 findPreference<SlicePreference>(KEY_OVERLAY_INTERNAL_SETTINGS_SLICE)?.apply { in updateInternalSettings()
257 (this as SlicePreference).uri, in updateAssistantBroadcastSlice()
264 findPreference<SlicePreference>(KEY_FASTPAIR_SETTINGS_SLICE)?.apply { in updateFastpairSettings()
305 findPreference<SlicePreference>(KEY_AMBIENT_SETTINGS)?.apply { in updateAmbientSettings()
322 findPreference<SlicePreference>(KEY_SYSTEM_TV_SLICE)?.apply { in updateSystemTvSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/customization/
DPartnerResourcesParser.java26 import com.android.tv.twopanelsettings.slices.SlicePreference;
81 private SlicePreference buildSlicePreference(String name, String uri) { in buildSlicePreference()
82 SlicePreference slicePreference = new SlicePreference(mContext); in buildSlicePreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DDisplaySoundFragment.java50 import com.android.tv.twopanelsettings.slices.SlicePreference;
190 if (cecPreference instanceof SlicePreference in updateCecPreference()
192 getContext(), ((SlicePreference) cecPreference).getUri())) { in updateCecPreference()
204 final SlicePreference defaultAudioOutputSlicePref = findPreference( in updateDefaultAudioOutputSettings()
DDisplaySoundFragment.kt47 import com.android.tv.twopanelsettings.slices.SlicePreference
148 if (this is SlicePreference && SliceUtils.isSliceProviderValid( in updateCecPreference()
161 findPreference<SlicePreference>(KEY_DEFAULT_AUDIO_OUTPUT_SETTINGS_SLICE)?.apply { in updateDefaultAudioOutputSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.kt39 import com.android.tv.twopanelsettings.slices.SlicePreference
87 return (overlaySecuritySlicePreference is SlicePreference in isOverlaySecuritySlicePreferenceEnabled()
110 return (updateSlicePreference is SlicePreference in isUpdateSlicePreferenceEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicePreferenceTest.java43 private SlicePreference mSlicePreference;
51 mSlicePreference = new SlicePreference(mContext, Robolectric.buildAttributeSet() in setUp()
DSlicePreferenceControllerTest.java47 private SlicePreference mSlicePreference;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DPowerAndEnergyFragment.java38 import com.android.tv.twopanelsettings.slices.SlicePreference;
88 getContext(), ((SlicePreference) powerOnBehaviorPreference).getUri())) { in updatePowerOnBehaviourPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java48 import com.android.tv.twopanelsettings.slices.SlicePreference;
195 preference = new SlicePreference(preferenceContext); in updateKeyboardsSettings()
206 ((SlicePreference) preference).setUri(uri); in updateKeyboardsSettings()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java75 import com.android.tv.twopanelsettings.slices.SlicePreference;
275 if (pref instanceof SlicePreference) { in onPreferenceStartFragment()
819 return preference instanceof SlicePreference in shouldPerformClick()
820 && ((SlicePreference) preference).getSliceAction() != null in shouldPerformClick()
821 && ((SlicePreference) preference).getUri() != null; in shouldPerformClick()
1234 if (preference instanceof SlicePreference) { in appendErrorToContentDescription()
1235 ((SlicePreference) preference).setContentDescription(errorMessageContentDescription); in appendErrorToContentDescription()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamFragment.java50 import com.android.tv.twopanelsettings.slices.SlicePreference;
291 final SlicePreference ambientSlicePref = findPreference(KEY_AMBIENT_SETTINGS); in updateAmbientSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java62 import com.android.tv.twopanelsettings.slices.SlicePreference;
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt837 HSPLcom/android/tv/twopanelsettings/slices/SlicePreference;->initStyleAttributes(Landroid/util/Attr…
1527 Lcom/android/tv/twopanelsettings/slices/SlicePreference;
2447 PLcom/android/tv/twopanelsettings/slices/SlicePreference;-><init>(Landroid/content/Context;)V
2448 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->getContentDescription()Ljava/lang/String;
2449 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->getSliceAction()Landroidx/slice/core/Sli…
2450 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->setActionId(I)V
2451 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->setContentDescription(Ljava/lang/String;…
2452 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->setFollowupSliceAction(Landroidx/slice/c…
2453 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->setSliceAction(Landroidx/slice/core/Slic…
2454 PLcom/android/tv/twopanelsettings/slices/SlicePreference;->setUri(Ljava/lang/String;)V
[all …]