Home
last modified time | relevance | path

Searched refs:mSelectedOption (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeComponentFragment.java64 private ThemeComponentOption mSelectedOption; field in CustomThemeComponentFragment
93 return mSelectedOption; in getSelectedOption()
97 mSelectedOption.bindPreview(mPreviewContainer); in bindPreview()
106 mSelectedOption = (ThemeComponentOption) selected; in setUpOptions()
113 mSelectedOption = option; in setUpOptions()
117 if (mSelectedOption == null) { in setUpOptions()
118 mSelectedOption = options.get(0); in setUpOptions()
120 mOptionsController.setSelectedOption(mSelectedOption); in setUpOptions()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/
DClockFragment.java71 private Clockface mSelectedOption; field in ClockFragment
101 mClockManager.apply(mSelectedOption, new Callback() { in onCreateView()
104 mOptionsController.setAppliedOption(mSelectedOption); in onCreateView()
123 mPreviewPager.setAdapter(new ClockPreviewAdapter(getContext(), mSelectedOption)); in createAdapter()
136 mSelectedOption = (Clockface) selected; in setUpOptions()
137 mEventLogger.logClockSelected(mSelectedOption); in setUpOptions()
143 mSelectedOption = option; in setUpOptions()
147 if (mSelectedOption == null) { in setUpOptions()
148 mSelectedOption = options.get(0); in setUpOptions()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java90 private GridOption mSelectedOption; field in GridFragment
122 mGridManager.apply(mSelectedOption, new Callback() { in onCreateView()
172 mAdapter = new GridPreviewAdapter(mSelectedOption); in createAdapter()
186 mSelectedOption = (GridOption) selected; in setUpOptions()
187 mEventLogger.logGridSelected(mSelectedOption); in setUpOptions()
193 mSelectedOption = option; in setUpOptions()
197 if (mSelectedOption == null) { in setUpOptions()
198 mSelectedOption = options.get(0); in setUpOptions()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java71 private CustomizationOption mSelectedOption; field in OptionSelectorController
98 updateActivatedStatus(mSelectedOption, false); in setSelectedOption()
100 mSelectedOption = option; in setSelectedOption()
175 if (mSelectedOption == null) { in initOptions()
176 mSelectedOption = option; in initOptions()
183 holder.itemView.setActivated(option.equals(mSelectedOption)); in initOptions()
278 CustomizationOption option = mSelectedOption; in notifyListeners()