Searched refs:chosenPreference (Results 1 – 2 of 2) sorted by relevance
1041 Preference chosenPreference = adapter.getItem(position); in getInitialPreviewFragment() local1043 if (chosenPreference == null || (listView.findViewHolderForPosition(position) != null in getInitialPreviewFragment()1045 chosenPreference = null; in getInitialPreviewFragment()1051 chosenPreference = adapter.getItem(viewHolder.getAdapterPosition()); in getInitialPreviewFragment()1057 if (chosenPreference == null) { in getInitialPreviewFragment()1060 return onCreatePreviewFragment(fragment, chosenPreference); in getInitialPreviewFragment()1072 Preference chosenPreference = getChosenPreference(fragment); in refocusPreference() local1074 if (chosenPreference != null) { in refocusPreference()1075 if (chosenPreference.getFragment() != null in refocusPreference()1077 Class.forName(chosenPreference.getFragment()))) { in refocusPreference()[all …]
341 Preference chosenPreference = TwoPanelSettingsFragment.getChosenPreference(this); in forward() local342 if (chosenPreference == null && mLastFocusedPreferenceKey != null) { in forward()343 chosenPreference = findPreference(mLastFocusedPreferenceKey); in forward()345 if (chosenPreference != null && chosenPreference instanceof HasSliceUri in forward()346 && ((HasSliceUri) chosenPreference).getUri() != null) { in forward()347 chosenPreference.setFragment(SliceFragment.class.getCanonicalName()); in forward()348 parentFragment.refocusPreferenceForceRefresh(chosenPreference); in forward()