Home
last modified time | relevance | path

Searched refs:mPreference (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera/src/com/android/camera/ui/
DIndicatorButton.java33 private IconListPreference mPreference; field in IndicatorButton
48 mPreference = pref; in IndicatorButton()
54 int[] iconIds = mPreference.getLargeIconIds(); in reloadPreference()
59 index = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
61 index = mPreference.findIndexOfValue(mOverrideValue); in reloadPreference()
65 mPreference.print(); in reloadPreference()
72 setImageResource(mPreference.getSingleIcon()); in reloadPreference()
78 return mPreference.getKey(); in getKey()
111 effect.initialize(mPreference); in initializePopup()
117 basic.initialize(mPreference); in initializePopup()
DBasicSettingPopup.java39 private IconListPreference mPreference; field in BasicSettingPopup
51 mPreference = preference; in initialize()
53 CharSequence[] entries = mPreference.getEntries(); in initialize()
54 int[] iconIds = mPreference.getImageIds(); in initialize()
56 iconIds = mPreference.getLargeIconIds(); in initialize()
60 mTitle.setText(mPreference.getTitle()); in initialize()
83 int index = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
88 mPreference.print(); in reloadPreference()
99 mPreference.setValueIndex(index); in onItemClick()
DEffectSettingPopup.java41 private IconListPreference mPreference; field in EffectSettingPopup
75 mPreference = preference; in initialize()
77 CharSequence[] entries = mPreference.getEntries(); in initialize()
78 CharSequence[] entryValues = mPreference.getEntryValues(); in initialize()
79 int[] iconIds = mPreference.getImageIds(); in initialize()
81 iconIds = mPreference.getLargeIconIds(); in initialize()
85 mTitle.setText(mPreference.getTitle()); in initialize()
141 boolean noEffect = mPreference.getValue().equals(mNoEffect); in setVisibility()
155 String value = mPreference.getValue(); in reloadPreference()
173 mPreference.print(); in reloadPreference()
[all …]
DInLineSettingItem.java40 protected ListPreference mPreference; field in InLineSettingItem
60 mPreference = preference; in initialize()
67 if (index >= mPreference.getEntryValues().length || index < 0) return false; in changeIndex()
69 mPreference.setValueIndex(mIndex); in changeIndex()
80 mIndex = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
DInLineSettingKnob.java110 R.string.accessibility_increment, mPreference.getTitle())); in initialize()
112 R.string.accessibility_decrement, mPreference.getTitle())); in initialize()
117 mEntry.setText(mPreference.getEntry()); in updateView()
119 mPrevButton.setVisibility(mIndex == mPreference.getEntryValues().length - 1 in updateView()
122 int index = mPreference.findIndexOfValue(mOverrideValue); in updateView()
124 mEntry.setText(mPreference.getEntries()[index]); in updateView()
128 mPreference.print(); in updateView()
144 event.getText().add(mPreference.getTitle() + mPreference.getEntry()); in onPopulateAccessibilityEvent()
DInLineSettingSwitch.java57 R.string.accessibility_switch, mPreference.getTitle())); in initialize()
64 int index = mPreference.findIndexOfValue(mOverrideValue); in updateView()
78 event.getText().add(mPreference.getTitle()); in onPopulateAccessibilityEvent()
DCameraPicker.java34 private ListPreference mPreference; field in CameraPicker
54 mPreference = pref; in initialize()
74 mPreference.setValue((String) mCameras[mCameraFacing]); in onClick()