Home
last modified time | relevance | path

Searched refs:VibrationIntensityCandidateInfo (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DVibrationPreferenceFragment.java62 private final Map<String, VibrationIntensityCandidateInfo> mCandidates;
84 new VibrationIntensityCandidateInfo(KEY_INTENSITY_OFF, in loadCandidates()
88 new VibrationIntensityCandidateInfo(KEY_INTENSITY_LOW, in loadCandidates()
92 new VibrationIntensityCandidateInfo(KEY_INTENSITY_MEDIUM, in loadCandidates()
96 new VibrationIntensityCandidateInfo(KEY_INTENSITY_HIGH, in loadCandidates()
101 new VibrationIntensityCandidateInfo(KEY_INTENSITY_OFF, in loadCandidates()
104 new VibrationIntensityCandidateInfo(KEY_INTENSITY_ON, in loadCandidates()
113 private void updateSettings(VibrationIntensityCandidateInfo candidate) { in updateSettings()
180 List<VibrationIntensityCandidateInfo> candidates = new ArrayList<>(mCandidates.values()); in getCandidates()
182 Comparator.comparing(VibrationIntensityCandidateInfo::getIntensity).reversed()); in getCandidates()
[all …]
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationPreferenceFragment.java62 private final Map<String, VibrationIntensityCandidateInfo> mCandidates;
84 new VibrationIntensityCandidateInfo(KEY_INTENSITY_OFF, in loadCandidates()
88 new VibrationIntensityCandidateInfo(KEY_INTENSITY_LOW, in loadCandidates()
92 new VibrationIntensityCandidateInfo(KEY_INTENSITY_MEDIUM, in loadCandidates()
96 new VibrationIntensityCandidateInfo(KEY_INTENSITY_HIGH, in loadCandidates()
101 new VibrationIntensityCandidateInfo(KEY_INTENSITY_OFF, in loadCandidates()
104 new VibrationIntensityCandidateInfo(KEY_INTENSITY_ON, in loadCandidates()
113 private void updateSettings(VibrationIntensityCandidateInfo candidate) { in updateSettings()
203 List<VibrationIntensityCandidateInfo> candidates = new ArrayList<>(mCandidates.values()); in getCandidates()
205 Comparator.comparing(VibrationIntensityCandidateInfo::getIntensity).reversed()); in getCandidates()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationPreferenceFragmentTest.java38 .VibrationIntensityCandidateInfo;
130 VibrationIntensityCandidateInfo prevCandidate = in candidates_shouldBeSortedByIntensity()
131 (VibrationIntensityCandidateInfo) candidates.get(0); in candidates_shouldBeSortedByIntensity()
133 VibrationIntensityCandidateInfo candidate = in candidates_shouldBeSortedByIntensity()
134 (VibrationIntensityCandidateInfo) candidates.get(i); in candidates_shouldBeSortedByIntensity()