Home
last modified time | relevance | path

Searched refs:mSelectedIndex (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java57 mSelectedIndex = getDefaultDeviceIndex(); in onPreferenceChange()
67 mSelectedIndex = connectedDeviceIndex; in onPreferenceChange()
114 mSelectedIndex = getDefaultDeviceIndex(); in updateState()
139 mSelectedIndex = getDefaultDeviceIndex(); in setupPreferenceEntries()
142 mediaOutputs[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
144 mediaValues[mSelectedIndex] = defaultSummary; in setupPreferenceEntries()
151 mSelectedIndex = i; in setupPreferenceEntries()
161 listPreference.setValueIndex(mSelectedIndex); in setPreference()
162 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference()
DAudioSwitchPreferenceController.java78 protected int mSelectedIndex; field in AudioSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartViewModel.java65 private int mSelectedIndex = SELECTED_INDEX_ALL; field in BatteryChartViewModel
135 return mSelectedIndex; in selectedIndex()
139 mSelectedIndex = index; in setSelectedIndex()
152 return Objects.hash(mLevels, mTimestamps, mSelectedIndex, mAxisLabelPosition); in hashCode()
166 && mSelectedIndex == batteryChartViewModel.mSelectedIndex; in equals()
183 .append(", selectedIndex: " + mSelectedIndex) in toString()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java42 int mSelectedIndex = -1; field in SecondLevelIndicatorControlBar
111 if ((mSelectedIndex != -1) && (index != mSelectedIndex)) { in dispatchTouchEvent()
112 View p = getChildAt(mSelectedIndex); in dispatchTouchEvent()
130 if (mSelectedIndex != index && action == MotionEvent.ACTION_MOVE) { in dispatchTouchEvent()
134 mSelectedIndex = index; in dispatchTouchEvent()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java173 private final int mSelectedIndex; field in RestrictedListPreference.RestrictedArrayAdapter
176 mSelectedIndex = selectedIndex; in RestrictedArrayAdapter()
188 if (mSelectedIndex != -1) { in getView()
189 text.setChecked(position == mSelectedIndex); in getView()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java98 private int mSelectedIndex = GridViewSpecial.INDEX_NONE; field in ImageGallery
414 state.putInt(STATE_SELECTED_INDEX, mSelectedIndex);
422 mSelectedIndex = state.getInt(STATE_SELECTED_INDEX, 0);
634 mSelectedIndex = index;
744 mSelectedIndex = mAllImages.getImageIndex(image);
747 mGvs.setSelectedIndex(mSelectedIndex);
758 mGvs.scrollToVisible(mSelectedIndex);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java304 private int mSelectedIndex; field in ScrollAdapterView
565 mSelectedIndex = -1;
739 return mSelectedIndex >= 0 ?
740 getChildAt(expandableIndexFromAdapterIndex(mSelectedIndex)) : null;
758 return mSelectedIndex;
1228 int focusIndex = mSelectedIndex < 0 ? -1 :
1229 expandableIndexFromAdapterIndex(mSelectedIndex);
1481 mSelectedIndex = getAdapterIndex(indexOfChild(child));
1485 int nextAdapterIndex = mSelectedIndex + mItemsOnOffAxis;
1497 mSelectedIndex = nextAdapterIndex;
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java588 private int mSelectedIndex; field in LabeledEditorView.EditTypeAdapter
638 dropDownView.setChecked(position == mSelectedIndex); in getDropDownView()
667 mSelectedIndex = selectedIndex; in setSelectedIndex()