Home
last modified time | relevance | path

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

/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt62 for (colIndex in labels.indices) { in onDraw() constant
64 canvas.translate(colIndex * colWidth, 20.dp()) in onDraw()
67 canvas.drawText(labels[colIndex], 0f, 1f, paint) in onDraw()
70 paint.setColor(toMaxColor(it, colorSpaces[colIndex])) in onDraw()
/frameworks/base/services/core/java/com/android/server/utils/
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()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java247 int colIndex = cursor.getColumnIndexOrThrow(colName); in getNullableFloat() local
248 if (!cursor.isNull(colIndex)) { in getNullableFloat()
249 retValue = cursor.getFloat(colIndex); in getNullableFloat()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
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()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java856 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() local
857 if (!cursor.isNull(colIndex)) { in cursorIntToContentValues()
858 values.put(key, cursor.getInt(colIndex)); in cursorIntToContentValues()
886 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues() local
887 if (!cursor.isNull(colIndex)) { in cursorLongToContentValues()
888 Long value = Long.valueOf(cursor.getLong(colIndex)); in cursorLongToContentValues()
917 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues() local
918 if (!cursor.isNull(colIndex)) { in cursorDoubleToContentValues()
919 values.put(key, cursor.getDouble(colIndex)); in cursorDoubleToContentValues()
/frameworks/base/core/java/android/widget/
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()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
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()