Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupHelper.java47 public static int getPatternCellRowFromByte(byte cell) { in getPatternCellRowFromByte() argument
48 return (byte) ((cell - 1) / 3); in getPatternCellRowFromByte()
54 public static int getPatternCellColumnFromByte(byte cell) { in getPatternCellColumnFromByte() argument
55 return (byte) ((cell - 1) % 3); in getPatternCellColumnFromByte()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dglass_rain.agsl32 * @param rainGridSize the size of the grid, where each cell contains a main drop and some
35 * (each cell contains a drop).
54 // Number of rows and columns (each one is a cell, a drop).
67 // Get the cell ID based on the grid position. Value from 0 to 1.
69 // For each cell, we set the internal UV from -0.5 (left, bottom) to 0.5 (right, top).
75 // Adjusts UV.y based on cell ID. This will make that the wiggle variation is different for
76 // each cell.
98 // Define the start based on the cell id.
105 // (so the drop doesn't go outside it's cell).
109 // Calculate main cell drop.
[all …]
Dsnow.agsl38 * @param snowGridSize the size of the grid, where each cell contains a snow flake.
66 // Number of rows and columns (each one is a cell, a drop).
85 // Get the cell ID based on the grid position. Value from 0 to 1.
87 // For each cell, we set the internal UV from -0.5 (left, bottom) to 0.5 (right, top).
93 * value to the cell 2) then compare it with the given intensity.
107 // Adjust the size of each snow flake (higher is smaller) based on cell ID.
109 // Adjust the opacity of the particle based on the cell id and distance from the camera.
128 // Define the start based on the cell id.
136 // variation based on cell ID.
141 // (so the drop doesn't go outside it's cell).
[all …]
Drain_shower.agsl28 * @param rainGridSize the size of the grid, where each cell contains a main drop and some
31 * (each cell contains a drop).
44 // Number of rows and columns (each one is a cell, a drop).
60 // Get the cell ID based on the grid position. Value from 0 to 1.
62 // For each cell, we set the internal UV from -0.5 (left, bottom) to 0.5 (right, top).
78 // Define the start based on the cell id.
Drain_splash.agsl44 // Here, we have a full splash that covers the entire cell
47 // Mask the splash so that it doesn't cover the entire cell.
Drain_shower_layer.agsl54 // For each cell, we set the internal UV from -0.5 (left, bottom) to 0.5 (right, top).
72 // Get the cell ID based on the grid position. [0, 1].
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlConversionUtils.java165 toFrameworkCell(frame.cell), in toFrameworkEnrollmentFrame()
182 public static FaceEnrollCell toFrameworkCell(@Nullable Cell cell) { in toFrameworkCell() argument
183 return cell == null ? null : new FaceEnrollCell(cell.x, cell.y, cell.z); in toFrameworkCell()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java471 for (Cell cell : pattern) { in setPattern()
472 mPatternDrawLookup[cell.getRow()][cell.getColumn()] = true; in setPattern()
792 final Cell cell = checkForNewHit(x, y); in detectAndAddHit() local
793 if (cell != null) { in detectAndAddHit()
801 int dRow = cell.row - lastCell.row; in detectAndAddHit()
802 int dColumn = cell.column - lastCell.column; in detectAndAddHit()
830 addCellToPattern(cell); in detectAndAddHit()
833 return cell; in detectAndAddHit()
874 private void startCellActivatedAnimation(Cell cell) { in startCellActivatedAnimation() argument
875 startCellActivationAnimation(cell, CELL_ACTIVATE); in startCellActivatedAnimation()
[all …]
DLockPatternUtils.java983 LockPatternView.Cell cell = pattern.get(i); in patternToByteArray() local
984 res[i] = (byte) (cell.getRow() * 3 + cell.getColumn() + '1'); in patternToByteArray()
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsWidget.kt235 val cell = RemoteViews(context.packageName, R.layout.paint_chip) in buildWidget() constant
236 cell.setTextViewText(R.id.chip, "${COLOR_NAMES[i]}-${SHADE_NUMBERS[j]}") in buildWidget()
240 cell.setTextColor(R.id.chip, context.getColor(textColor)) in buildWidget()
241 cell.setColorStateList(R.id.chip, "setBackgroundTintList", resId) in buildWidget()
248 ClickBehavior.SHARE -> cell.setOnClickPendingIntent( in buildWidget()
252 ClickBehavior.LAUNCH -> cell.setOnClickPendingIntent( in buildWidget()
258 grid.addView(R.id.paint_grid, cell) in buildWidget()
/frameworks/base/core/java/android/hardware/face/
DFaceEnrollFrame.java43 @Nullable FaceEnrollCell cell, in FaceEnrollFrame()
46 mCell = cell; in FaceEnrollFrame()
/frameworks/base/tools/preload/
Dsorttable.js123 forEach(theadrow.childNodes, function(cell) { argument
124 if (cell.nodeType == 1) { // an element
125 cell.className = cell.className.replace('sorttable_sorted_reverse','');
126 cell.className = cell.className.replace('sorttable_sorted','');
/frameworks/rs/script_api/
Drs_for_each.spec36 summary: Suggested cell processing order
52 cell, like the Array0 index or the current level of detail.
238 Returns the index in the Array0 dimension of the cell being processed, as specified
264 Returns the index in the Array1 dimension of the cell being processed, as specified
277 Returns the index in the Array2 dimension of the cell being processed,
291 Returns the index in the Array3 dimension of the cell being processed, as specified
/frameworks/rs/script_api/include/
Drs_for_each.rsh33 * rs_for_each_strategy_t: Suggested cell processing order
55 * cell, like the Array0 index or the current level of detail.
76 …rs_for_each_strategy_t strategy; // Currently ignored. In the future, will be suggested cell iter…
209 * Returns the index in the Array0 dimension of the cell being processed, as specified
235 * Returns the index in the Array1 dimension of the cell being processed, as specified
248 * Returns the index in the Array2 dimension of the cell being processed,
262 * Returns the index in the Array3 dimension of the cell being processed, as specified
409 * Returns the face on which the cell being processed is found, as specified by the
423 * Returns the index in the Levels of Detail dimension of the cell being processed,
Drs_object_info.rsh44 * i.e. a cell of an Allocation.
138 * rsAllocationGetElement: Get the object that describes the cell of an Allocation
140 * Get the Element object describing the type, kind, and other characteristics of a cell
Drs_allocation_data.rsh59 * dstOff: Offset in the destination of the first cell to be copied into.
63 * srcOff: Offset in the source of the first cell to be copied.
139 * x: X offset in the allocation of the first cell to be copied from.
140 * y: Y offset in the allocation of the first cell to be copied from.
141 * z: Z offset in the allocation of the first cell to be copied from.
619 * x: X offset in the allocation of the first cell to be copied into.
620 * y: Y offset in the allocation of the first cell to be copied into.
621 * z: Z offset in the allocation of the first cell to be copied into.
1074 * rsGetElementAt: Return a cell from an allocation
1076 * This function extracts a single cell from an allocation.
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript27 // allocation and validate each cell. The value in a cell must be gStart +
28 // "index-of-the-cell-starting-from-zero". For vector types, the 'x' field
178 // Store to a cell based on the type, vector size and
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript29 // allocation and validate each cell. The value in a cell must be gStart +
30 // "index-of-the-cell-starting-from-zero". For vector types, the 'x' field
180 // Store to a cell based on the type, vector size and
/frameworks/opt/vcard/tests/res/raw/
Dv21_complicated.vcf22 EMAIL;CELL:cell@example.com
Dv30_complicated.vcf22 EMAIL;CELL:cell@example.com
/frameworks/base/proto/src/
Daltitude.proto50 // map cell in this tile.
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java770 int [] cell = new int[count]; in computeNearestNeighbors() local
771 System.arraycopy(indices, 0, cell, 0, count); in computeNearestNeighbors()
772 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto202 // If cell-data has been enabled.
205 // If cell-roaming has been enabled.
299 // The device isn't camped on an LTE cell
300 // or the LTE cell doesn't support EN-DC.
303 // The device is camped on an LTE cell that supports EN-DC
308 // The device is camped on an LTE cell that supports EN-DC
313 // The device is camped on an LTE cell that supports EN-DC
314 // and connected to at least one 5G cell
315 // as a secondary serving cell.
/frameworks/proto_logging/stats/atoms/corenetworking/connectivity/
Dconnectivity_extension_atoms.proto100 // The carrier ID for each keepalive, or TelephonyManager.UNKNOWN_CARRIER_ID(-1) if not cell
/frameworks/proto_logging/stats/atoms/wearservices/
Dwearservices_atoms.proto97 // Whether this notification is an emergency cell broadcast message.

12