Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/display/
DToggleFontSizePreferenceFragment.java106 public static int fontSizeValueToIndex(float val, String[] indices) { in fontSizeValueToIndex() argument
107 float lastVal = Float.parseFloat(indices[0]); in fontSizeValueToIndex()
108 for (int i = 1; i < indices.length; i++) { in fontSizeValueToIndex()
109 float thisVal = Float.parseFloat(indices[i]); in fontSizeValueToIndex()
115 return indices.length - 1; in fontSizeValueToIndex()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DToggleFontSizePreferenceFragment.java106 public static int fontSizeValueToIndex(float val, String[] indices) { in fontSizeValueToIndex() argument
107 float lastVal = Float.parseFloat(indices[0]); in fontSizeValueToIndex()
108 for (int i = 1; i < indices.length; i++) { in fontSizeValueToIndex()
109 float thisVal = Float.parseFloat(indices[i]); in fontSizeValueToIndex()
115 return indices.length - 1; in fontSizeValueToIndex()
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java205 String[] indices = getResources().getStringArray(resid); in floatToIndex() local
206 float lastVal = Float.parseFloat(indices[0]); in floatToIndex()
207 for (int i=1; i<indices.length; i++) { in floatToIndex()
208 float thisVal = Float.parseFloat(indices[i]); in floatToIndex()
214 return indices.length-1; in floatToIndex()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerSettings.java149 private static int daysValueToIndex(int value, String[] indices) { in daysValueToIndex() argument
150 for (int i = 0; i < indices.length; i++) { in daysValueToIndex()
151 int thisValue = Integer.parseInt(indices[i]); in daysValueToIndex()
156 return indices.length - 1; in daysValueToIndex()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSettings.java149 private static int daysValueToIndex(int value, String[] indices) { in daysValueToIndex() argument
150 for (int i = 0; i < indices.length; i++) { in daysValueToIndex()
151 int thisValue = Integer.parseInt(indices[i]); in daysValueToIndex()
156 return indices.length - 1; in daysValueToIndex()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java333 String[] indices = atCommand.split(","); in handleCpbrCommand() local
335 for (int i = 0; i < indices.length; i++) { in handleCpbrCommand()
336 indices[i] = indices[i].replace(';', ' ').trim(); in handleCpbrCommand()
339 index1 = Integer.parseInt(indices[0]); in handleCpbrCommand()
340 if (indices.length == 1) { in handleCpbrCommand()
343 index2 = Integer.parseInt(indices[1]); in handleCpbrCommand()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DDvrStorageManager.java227 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readOldIndexFile() local
232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile()
234 return indices; in readOldIndexFile()
240 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readNewIndexFile() local
247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile()
249 return indices; in readNewIndexFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java227 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readOldIndexFile() local
232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile()
234 return indices; in readOldIndexFile()
240 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readNewIndexFile() local
247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile()
249 return indices; in readNewIndexFile()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
DCube.java55 byte indices[] = { in Cube()
84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube()
85 mIndexBuffer.put(indices); in Cube()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt323 for (i in timeZoneIds.indices) { in getTimeZones()
333 for (i in descriptors.indices) { in getTimeZones()
DTimeZones.kt34 for (i in timeZoneIds.indices) { in getTimeZoneName()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt133 for (i in dayButtons.indices) { in <lambda>()
170 for (i in weekdays.indices) { in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt186 for (i in laps.indices.reversed()) {
DStopwatchFragment.kt688 mGradientColors.indices.forEach { i -> in <lambda>()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1674 List<RegionalRating> indices = new ArrayList<>(); in parseContentAdvisory() local
1694 indices.add(new RegionalRating(dimensionIndex, ratingValue)); in parseContentAdvisory()
1708 ratingRegions.add(new RatingRegion(ratingRegion, ratingDescription, indices)); in parseContentAdvisory()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.kt299 for (i in mInput.indices) {
DTimerFragment.kt393 for (i in states.indices) { in updatePageIndicators()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java2595 List<Integer> indices = mModuleManager.getSupportedModeIndexList(); in getSupportedModeNames() local
2598 for (Integer modeIndex : indices) { in getSupportedModeNames()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md126 Array is similar to `std::vector`, instead of using indices, you may also use iterator to access al…
DDoxyfile.in1191 # shown in the various tree structured indices initially; the user can expand
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java7424 List<Integer> indices = new ArrayList<>(); in getContactIdColumnIndices() local
7429 indices.add(index); in getContactIdColumnIndices()
7433 return Ints.toArray(indices); in getContactIdColumnIndices()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12