Searched refs:row (Results 1 - 25 of 102) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusChangeWithInterestingRectHintTest.java37 * when taking focus to best select the internal row to show as selected.
73 for (int row = 0; row < numRows; row++) {
75 if ((row % 2) == 0) {
76 assertEquals("row " + row + ": should be at left column",
77 row, mLeftColumn.getSelectedRow());
80 assertTrue("row " + row
[all...]
H A DLinearLayoutGrid.java39 public Button getButtonAt(int column, int row) { argument
40 if (row < 0 || row > 2) {
41 throw new IllegalArgumentException("row out of range");
46 return (Button) getColumn(column).getChildAt(row);
/frameworks/base/core/java/android/database/
H A DCursorWindow.java71 private static native int nativeGetType(long windowPtr, int row, int column); argument
72 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); argument
73 private static native String nativeGetString(long windowPtr, int row, int column); argument
74 private static native long nativeGetLong(long windowPtr, int row, int column); argument
75 private static native double nativeGetDouble(long windowPtr, int row, int column); argument
76 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, argument
79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); argument
80 private static native boolean nativePutString(long windowPtr, String value, int row, int column); argument
81 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); argument
82 private static native boolean nativePutDouble(long windowPtr, double value, int row, in argument
83 nativePutNull(long windowPtr, int row, int column) argument
289 isNull(int row, int column) argument
304 isBlob(int row, int column) argument
319 isLong(int row, int column) argument
333 isFloat(int row, int column) argument
348 isString(int row, int column) argument
370 getType(int row, int column) argument
400 getBlob(int row, int column) argument
435 getString(int row, int column) argument
474 copyStringToBuffer(int row, int column, CharArrayBuffer buffer) argument
508 getLong(int row, int column) argument
540 getDouble(int row, int column) argument
561 getShort(int row, int column) argument
577 getInt(int row, int column) argument
593 getFloat(int row, int column) argument
605 putBlob(byte[] value, int row, int column) argument
622 putString(String value, int row, int column) argument
639 putLong(long value, int row, int column) argument
657 putDouble(double value, int row, int column) argument
673 putNull(int row, int column) argument
[all...]
/frameworks/rs/
H A DrsMatrix2x2.h28 inline float get(uint32_t col, uint32_t row) const {
29 return m[col*2 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*2 + row] = v;
H A DrsMatrix3x3.h28 inline float get(uint32_t col, uint32_t row) const {
29 return m[col*3 + row];
32 inline void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*3 + row] = v;
H A DrsMatrix4x4.h28 float get(uint32_t col, uint32_t row) const {
29 return m[col*4 + row];
32 void set(uint32_t col, uint32_t row, float v) { argument
33 m[col*4 + row] = v;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnItemClickedListener.java25 public void onItemClicked(Object item, Row row); argument
H A DOnItemSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected.
23 * Called when the a row or a new item becomes selected. The concept of current selection
26 * item or selected row when user selects rows outside row UI (e.g. headers left of
30 * selection changes between rows, regardless if row view has focus or not.
32 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
35 * In the case of a grid, the row parameter is always null.
38 * Row has focus: event is fired when focus changes between child of the row.
41 * None of the row has focus: the event is fired with the current selected row an
48 onItemSelected(Object item, Row row) argument
[all...]
H A DOnItemViewClickedListener.java22 RowPresenter.ViewHolder rowViewHolder, Row row);
21 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
H A DOnItemViewSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected.
21 * Called when the a row or a new item becomes selected. The concept of current selection
24 * item or selected row when user selects rows outside row UI (e.g. headers left of
28 * selection changes between rows, regardless if row view has focus or not.
30 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
33 * In the case of a grid, the row parameter is always null.
36 * Row has focus: event is fired when focus changes between child of the row.
39 * None of the row has focus: the event is fired with the current selected row an
48 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
H A DStaggeredGrid.java24 * for each individual child. The algorithm ensures that each row will be kept
39 * <li>Only one row (e.g., a single row listview)</li>
58 * Create the object at a given row.
60 public abstract void createItem(int index, int row, boolean append); argument
64 * Location of an item in the grid. For now it only saves row index but
69 * The index of the row for this Location.
71 public final int row; field in class:StaggeredGrid.Location
74 * Create a Location with the given row index.
76 public Location(int row) { argument
135 setRows(Row[] row) argument
[all...]
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java56 * Returns the value at the specified row and column.
58 * @param row the index of the row to return.
63 * @throws IndexOutOfBoundsException if the row is out of range
64 * (row &lt; 0 || row >= size()) or the column is out of range
67 public int getValue(int row, int column) { argument
70 if (((row | column) < 0) || (row >= size()) || (column >= columns)) {
71 throw new IndexOutOfBoundsException(row
98 setValue(int row, int column, int value) argument
123 setValueInternal(int row, int column, int value) argument
176 insertAt(int row, int[] values) argument
216 deleteAt(int row, int count) argument
[all...]
H A DPackedObjectVector.java46 getValue(int row, int column) argument
48 if (row >= mRowGapStart)
49 row += mRowGapLength;
51 Object value = mValues[row * mColumns + column];
57 setValue(int row, int column, E value) argument
59 if (row >= mRowGapStart)
60 row += mRowGapLength;
62 mValues[row * mColumns + column] = value;
66 insertAt(int row, E[] values) argument
68 moveRowGapTo(row);
85 deleteAt(int row, int count) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DAppearAnimationUtils.java82 for (int row = 0; row < properties.delays.length; row++) {
83 long[] columns = properties.delays[row];
86 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == 0) {
89 creator.createAnimation(objects[row], delay, mDuration,
100 for (int row = 0; row < properties.delays.length; row++) {
101 long[] columns = properties.delays[row];
158 calculateDelay(int row, int col) argument
[all...]
H A DDisappearAnimationUtils.java42 protected long calculateDelay(int row, int col) { argument
43 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java56 UiObject row = getChildByInstance(childPattern, x);
57 String nodeDesc = row.getContentDescription();
59 return row;
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
63 return row;
114 UiObject row = getChildByInstance(childPattern, x);
115 String nodeText = row.getText();
117 return row;
119 UiObject item = row.getChild(new UiSelector().text(text));
121 return row;
[all...]
/frameworks/base/core/java/android/util/
H A DMonthDisplayHelper.java23 * 6 row calendar grid format.
111 * @param row Which row (0-5).
115 public int[] getDigitsForRow(int row) { argument
116 if (row < 0 || row > 5) {
117 throw new IllegalArgumentException("row " + row
123 result[column] = getDayAt(row, column);
130 * @param row Th
134 getDayAt(int row, int column) argument
179 isWithinCurrentMonth(int row, int column) argument
[all...]
H A DDayOfMonthCursor.java24 * <li>Keeps track of current cursor position (row, column)</li>
63 public void setSelectedRowColumn(int row, int col) { argument
64 mRow = row;
74 * depending on whether the selection is in the first or last row.
91 public boolean isSelected(int row, int column) { argument
92 return (mRow == row) && (mColumn == column);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_utils.cpp28 int row; local
29 row = MB_SIZE;
32 while (row)
76 row -= 4;
89 int row; local
91 row = B_SIZE;
92 while (row)
129 row -= 4;
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerPalette.java32 * row (and the padding between the squares) is determined by the user.
74 TableRow row = new TableRow(getContext());
77 row.setLayoutParams(params);
78 return row;
95 TableRow row = createTableRow();
102 addSwatchToRow(row, colorSwatch, rowNumber);
106 addView(row);
107 row = createTableRow();
113 // Create blank views to fill the row if the last row ha
127 addSwatchToRow(TableRow row, View swatch, int rowNumber) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java45 * <p>The elements must be stored in a row-major order (fully packed).</p>
102 * Get a single color channel gain factor from this lens shading map by its row and column.
115 * @param row within the range [0, {@link #getRowCount})
128 public float getGainFactor(final int colorChannel, final int column, final int row) { argument
133 } else if (row < 0 || row >= mRows) {
134 throw new IllegalArgumentException("row out of range");
137 return mElements[colorChannel + (row * mColumns + column) * COUNT ];
141 * Get a gain factor vector from this lens shading map by its row and column.
147 * @param row withi
156 getGainFactorVector(final int column, final int row) argument
[all...]
H A DColorSpaceTransform.java28 * Immutable class for describing a 3x3 matrix of {@link Rational} values in row-major order.
62 * <p>The elements must be stored in a row-major order.</p>
90 * <p>The elements must be stored in a row-major order. Each rational is stored
102 * where {@code Nij} and {@code Dij} is the numerator and denominator for row {@code i} and
126 * Get an element of this matrix by its row and column.
133 * @throws IllegalArgumentException if column or row was out of range
135 public Rational getElement(int column, int row) { argument
138 } else if (row < 0 || row >= ROWS) {
139 throw new IllegalArgumentException("row ou
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp48 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument
50 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. "
52 row, column);
154 jint row, jint column) {
156 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
158 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
162 //throwExceptionWithRowCol(env, row, column);
169 jint row, jint column) {
171 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window);
173 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, colum
153 nativeGetType(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
168 nativeGetBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
203 nativeGetString(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
295 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column, jobject bufferObj) argument
334 nativeGetLong(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
365 nativeGetDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
396 nativePutBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jbyteArray valueObj, jint row, jint column) argument
414 nativePutString(JNIEnv* env, jclass clazz, jlong windowPtr, jstring valueObj, jint row, jint column) argument
436 nativePutLong(JNIEnv* env, jclass clazz, jlong windowPtr, jlong value, jint row, jint column) argument
450 nativePutDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jdouble value, jint row, jint column) argument
464 nativePutNull(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp166 // Fill in the row slot
177 LOG_WINDOW("The row failed, so back out the new row accounting "
184 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n",
223 CursorWindow::RowSlot* CursorWindow::getRowSlot(uint32_t row) { argument
224 uint32_t chunkPos = row;
257 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument
258 if (row >= mHeader->numRows || column >= mHeader->numColumns) {
259 ALOGE("Failed to read row %d, column %d from a CursorWindow which "
261 row, colum
273 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument
277 putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull) argument
282 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
306 putLong(uint32_t row, uint32_t column, int64_t value) argument
321 putDouble(uint32_t row, uint32_t column, double value) argument
336 putNull(uint32_t row, uint32_t column) argument
[all...]
/frameworks/base/include/androidfw/
H A DCursorWindow.h43 * window has first chunk of RowSlots, which are offsets to the row directory, followed by
45 * the pre-allocated chunk isn't big enough to refer to all rows. Each row directory has a
98 * Allocate a row slot and its directory.
99 * The row is initialized will null entries for each field.
104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size);
105 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);
106 status_t putLong(uint32_t row, uint32_t column, int64_t value);
107 status_t putDouble(uint32_t row, uint32_t column, double value);
108 status_t putNull(uint32_t row, uint32_t column);
111 * Gets the field slot at the specified row an
[all...]

Completed in 392 milliseconds

12345