Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DColorGrid.kt62 for (colIndex in labels.indices) {
64 canvas.translate(colIndex * colWidth, 20.dp())
67 canvas.drawText(labels[colIndex], 0f, 1f, paint)
70 paint.setColor(toMaxColor(it, colorSpaces[colIndex]))
/aosp14/frameworks/base/services/core/java/com/android/server/utils/
H A DWatchedSparseBooleanMatrix.java349 public boolean valueAt(int rowIndex, int colIndex) { in valueAt() argument
350 validateIndex(rowIndex, colIndex); in valueAt()
352 int c = mMap[colIndex]; in valueAt()
374 public void setValueAt(int rowIndex, int colIndex, boolean value) { in setValueAt() argument
375 validateIndex(rowIndex, colIndex); in setValueAt()
377 int c = mMap[colIndex]; in setValueAt()
/aosp14/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java247 int colIndex = cursor.getColumnIndexOrThrow(colName); in getNullableFloat() local
248 if (!cursor.isNull(colIndex)) { in getNullableFloat()
249 retValue = cursor.getFloat(colIndex); in getNullableFloat()
/aosp14/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java307 int colIndex = line.indexOf(":"); in shouldRemoveHeaderLine() local
308 if (colIndex != -1) { in shouldRemoveHeaderLine()
309 String headerName = line.substring(0, colIndex).trim(); in shouldRemoveHeaderLine()
/aosp14/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java843 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() local
844 if (!cursor.isNull(colIndex)) { in cursorIntToContentValues()
845 values.put(key, cursor.getInt(colIndex)); in cursorIntToContentValues()
873 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues() local
874 if (!cursor.isNull(colIndex)) { in cursorLongToContentValues()
875 Long value = Long.valueOf(cursor.getLong(colIndex)); in cursorLongToContentValues()
904 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues() local
905 if (!cursor.isNull(colIndex)) { in cursorDoubleToContentValues()
906 values.put(key, cursor.getDouble(colIndex)); in cursorDoubleToContentValues()
/aosp14/frameworks/base/core/java/android/widget/
H A DMagnifier.java1135 final int colIndex = i % (2 * (mMeshWidth + 1)) / 2; in fillMeshMatrix() local
1136 mMeshLeft[i] = (float) colIndex * mRamp / mMeshWidth; in fillMeshMatrix()
1137 mMeshRight[i] = w - mRamp + colIndex * mRamp / mMeshWidth; in fillMeshMatrix()
1141 final float hl = h0 + dh * colIndex / mMeshWidth; in fillMeshMatrix()
1144 final float hr = h - dh * colIndex / mMeshWidth; in fillMeshMatrix()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
H A DWatcherTest.java1127 int colIndex = b.keyAt(4); in testWatchedSparseBooleanMatrix() local
1128 b.put(rowIndex, colIndex, !b.get(rowIndex, colIndex)); in testWatchedSparseBooleanMatrix()
1134 a.put(rowIndex, colIndex, !a.get(rowIndex, colIndex)); in testWatchedSparseBooleanMatrix()