/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | FocusChangeWithInterestingRectHintTest.java | 37 * 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 D | LinearLayoutGrid.java | 39 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | AboveShelfObserverTest.java | 49 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); 50 row.setAboveShelfChangedListener(mObserver); 51 mHostLayout.addView(row); 52 row = mNotificationTestHelper.createRow(); 53 row.setAboveShelfChangedListener(mObserver); 54 mHostLayout.addView(row); 60 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); 62 row.setHeadsUp(true); 68 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); 69 row [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationMenuRowTest.java | 44 NotificationMenuRowPlugin row = new NotificationMenuRow(mContext); 45 row.createMenu(null, null); 46 ViewUtils.attachView(row.getMenuView()); 48 ViewUtils.detachView(row.getMenuView()); 54 NotificationMenuRowPlugin row = new NotificationMenuRow(mContext); 55 row.createMenu(null, null); 56 assertTrue(row.getMenuView() != null); 57 row.createMenu(null, null); 58 assertTrue(row.getMenuView() != null); 63 NotificationMenuRowPlugin row [all...] |
H A D | ExpandableNotificationRowTest.java | 89 ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); 90 row.setSensitive(true, true); 91 row.setHideSensitive(true, false, 0, 0); 92 verify(row).updateShelfIconColor(); 97 ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); 98 row.setDark(true, false, 0); 99 verify(row).updateShelfIconColor(); 104 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); 106 row.setAboveShelfChangedListener(listener); 107 row [all...] |
H A D | NotificationTestHelper.java | 80 ExpandableNotificationRow row = mRow; 81 row.setGroupManager(mGroupManager); 82 row.setHeadsUpManager(mHeadsUpManager); 83 row.setAboveShelfChangedListener(aboveShelf -> {}); 89 entry.row = row; 91 NotificationInflaterTest.runThenWaitForInflation(() -> row.updateNotification(entry), 92 row.getNotificationInflater()); 93 return row; 97 ExpandableNotificationRow row [all...] |
/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 71 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | VisibilityLocationProvider.java | 29 boolean isInVisibleLocation(ExpandableNotificationRow row); argument
|
H A D | NotificationBigPictureTemplateViewWrapper.java | 34 ExpandableNotificationRow row) { 35 super(ctx, view, row); 39 public void onContentUpdated(ExpandableNotificationRow row) { argument 40 super.onContentUpdated(row); 41 updateImageTag(row.getStatusBarNotification()); 33 NotificationBigPictureTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
|
H A D | NotificationBigTextTemplateViewWrapper.java | 35 ExpandableNotificationRow row) { 36 super(ctx, view, row); 44 public void onContentUpdated(ExpandableNotificationRow row) { argument 47 resolveViews(row.getStatusBarNotification()); 48 super.onContentUpdated(row); 34 NotificationBigTextTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
|
H A D | NotificationMediaTemplateViewWrapper.java | 31 ExpandableNotificationRow row) { 32 super(ctx, view, row); 42 public void onContentUpdated(ExpandableNotificationRow row) { argument 46 super.onContentUpdated(row); 30 NotificationMediaTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
|
/frameworks/rs/ |
H A D | rsMatrix2x2.h | 28 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 D | rsMatrix3x3.h | 28 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;
|
/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 60 * Returns the value at the specified row and column. 62 * @param row the index of the row to return. 67 * @throws IndexOutOfBoundsException if the row is out of range 68 * (row < 0 || row >= size()) or the column is out of range 71 public int getValue(int row, int column) { argument 74 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { 75 throw new IndexOutOfBoundsException(row 102 setValue(int row, int column, int value) argument 127 setValueInternal(int row, int column, int value) argument 180 insertAt(int row, int[] values) argument 220 deleteAt(int row, int count) argument [all...] |
/frameworks/ml/nn/runtime/test/specs/ |
H A D | concat_float_3.mod.py | 20 row = 212 variable 25 input1 = Input("input1", "TENSOR_FLOAT32", "{%d, %d}" % (row, col1)) # input tensor 1 26 input2 = Input("input2", "TENSOR_FLOAT32", "{%d, %d}" % (row, col2)) # input tensor 2 28 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (row, output_col)) # output 32 input1_values = [x for x in range(row * col1)] 33 input2_values = [-x for x in range(row * col2)] 37 output_values = [x for x in range(row * output_col)] 38 for r in range(row):
|
H A D | concat_quant8_3.mod.py | 20 row = 400 variable 25 input1 = Input("input1", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (row, col1)) 26 input2 = Input("input2", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (row, col2)) 28 output = Output("output", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (row, output_col)) 32 input1_values = [(x % 128 + 128) for x in range(row * col1)] 33 input2_values = [x % 128 for x in range(row * col2)] 37 output_values = [x for x in range(row * output_col)] 38 for r in range(row):
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 59 UiObject row = getChildByInstance(childPattern, x); 60 String nodeDesc = row.getContentDescription(); 62 return row; 64 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); 66 return row; 117 UiObject row = getChildByInstance(childPattern, x); 118 String nodeText = row.getText(); 120 return row; 122 UiObject item = row.getChild(new UiSelector().text(text)); 124 return row; [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MonthDisplayHelper.java | 23 * 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...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | AppearAnimationUtils.java | 90 for (int row = 0; row < properties.delays.length; row++) { 91 long[] columns = properties.delays[row]; 94 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == 0) { 98 ? mRowTranslationScaler.getRowTranslationScale(row, properties.delays.length) 101 creator.createAnimation(objects[row], delay, mDuration, 113 for (int row = 0; row < properties.delays.length; row 171 calculateDelay(int row, int col) argument 250 getRowTranslationScale(int row, int numRows) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseOnItemViewClickedListener.java | 22 * Called when an item inside a row gets clicked. 25 * @param rowViewHolder The view holder of the row which the clicked item belongs to. 26 * @param row The row which the clicked item belongs to. 29 RowPresenter.ViewHolder rowViewHolder, T row); 28 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, T row) argument
|
H A D | BaseOnItemViewSelectedListener.java | 17 * Interface for receiving notification when a row or item becomes selected. The concept of 18 * current selection is different than focus. A row or item can be selected without having focus; 19 * for example, when a row header view gains focus then the corresponding row view becomes selected. 24 * Called when a row or a new item becomes selected. 27 * selection changes between rows, regardless if row view has focus or not. 29 * For a {@link ListRow} case, parameter item is null if the list row is empty. 32 * In the case of a grid, the row parameter is always null. 35 * Row has focus: event is fired when focus changes between children of the row. 38 * No row ha 47 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, T row) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_utils.cpp | 28 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/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | BrowseAnimationFragment.java | 95 RowPresenter.ViewHolder rowViewHolder, Row row) { 96 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 110 RowPresenter.ViewHolder rowViewHolder, Row row) { 111 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 125 RowPresenter.ViewHolder rowViewHolder, Row row) { 126 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 138 RowPresenter.ViewHolder rowViewHolder, Row row) { 139 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 148 RowPresenter.ViewHolder rowViewHolder, Row row) { 149 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 307 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument [all...] |
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | BrowseAnimationFragment.java | 95 RowPresenter.ViewHolder rowViewHolder, Row row) { 96 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 110 RowPresenter.ViewHolder rowViewHolder, Row row) { 111 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 125 RowPresenter.ViewHolder rowViewHolder, Row row) { 126 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 138 RowPresenter.ViewHolder rowViewHolder, Row row) { 139 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 148 RowPresenter.ViewHolder rowViewHolder, Row row) { 149 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row) 307 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportStorageProvider.java | 61 final RowBuilder row = result.newRow(); 62 row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT); 63 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_ADVANCED); 64 row.add(Root.COLUMN_ICON, android.R.mipmap.sym_def_app_icon); 65 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.bugreport_storage_title)); 66 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); 134 RowBuilder row = super.includeFile(result, docId, file); 135 row.add(Document.COLUMN_FLAGS, Document.FLAG_SUPPORTS_DELETE); 136 return row; 140 final RowBuilder row [all...] |