Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DToggleFontSizePreferenceFragment.java101 public static int fontSizeValueToIndex(float val, String[] indices) { in fontSizeValueToIndex() argument
102 float lastVal = Float.parseFloat(indices[0]); in fontSizeValueToIndex()
103 for (int i = 1; i < indices.length; i++) { in fontSizeValueToIndex()
104 float thisVal = Float.parseFloat(indices[i]); in fontSizeValueToIndex()
110 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.java148 private static int daysValueToIndex(int value, String[] indices) { in daysValueToIndex() argument
149 for (int i = 0; i < indices.length; i++) { in daysValueToIndex()
150 int thisValue = Integer.parseInt(indices[i]); in daysValueToIndex()
155 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/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/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/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/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DGrantPermissionsAutoViewHandler.java155 int stringId, @Result int result, int... indices) { in createListItem() argument
157 if (IntStream.of(indices) in createListItem()
/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/Camera2/src/com/android/camera/
DCameraActivity.java2570 List<Integer> indices = mModuleManager.getSupportedModeIndexList(); in getSupportedModeNames() local
2573 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.java7363 List<Integer> indices = new ArrayList<>(); in getContactIdColumnIndices() local
7368 indices.add(index); in getContactIdColumnIndices()
7372 return Ints.toArray(indices); in getContactIdColumnIndices()
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/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, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...