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

1234567891011

/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DAboveShelfObserverTest.java52 ExpandableNotificationRow row = mNotificationTestHelper.createRow();
53 row.setAboveShelfChangedListener(mObserver);
54 mHostLayout.addView(row);
55 row = mNotificationTestHelper.createRow();
56 row.setAboveShelfChangedListener(mObserver);
57 mHostLayout.addView(row);
63 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0);
65 row.setHeadsUp(true);
71 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0);
72 row
[all...]
/frameworks/native/cmds/lshal/
H A DTextTable.cpp36 for (const auto& row : mTable) {
37 if (!row.isRow()) {
38 out << row.line() << std::endl;
42 for (size_t i = 0; i < row.fields().size(); ++i) {
47 if (i < row.fields().size() - 1) {
50 out << row.fields()[i];
57 for (auto&& row : other.mTable) {
58 if (row.isRow()) {
59 computeWidth(row.fields());
62 mTable.emplace_back(std::move(row));
[all...]
/frameworks/base/core/java/android/database/
H A DCursorWindow.java67 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); argument
68 private static native String nativeGetString(long windowPtr, int row, int column); argument
69 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, argument
71 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); argument
73 int row, int column);
90 private static native int nativeGetType(long windowPtr, int row, int column); argument
92 private static native long nativeGetLong(long windowPtr, int row, int column); argument
94 private static native double nativeGetDouble(long windowPtr, int row, int column); argument
97 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); argument
99 private static native boolean nativePutDouble(long windowPtr, double value, int row, in argument
72 nativePutString(long windowPtr, String value, int row, int column) argument
101 nativePutNull(long windowPtr, int row, int column) argument
316 isNull(int row, int column) argument
331 isBlob(int row, int column) argument
346 isLong(int row, int column) argument
360 isFloat(int row, int column) argument
375 isString(int row, int column) argument
397 getType(int row, int column) argument
427 getBlob(int row, int column) argument
462 getString(int row, int column) argument
501 copyStringToBuffer(int row, int column, CharArrayBuffer buffer) argument
535 getLong(int row, int column) argument
567 getDouble(int row, int column) argument
588 getShort(int row, int column) argument
604 getInt(int row, int column) argument
620 getFloat(int row, int column) argument
632 putBlob(byte[] value, int row, int column) argument
649 putString(String value, int row, int column) argument
666 putLong(long value, int row, int column) argument
684 putDouble(double value, int row, int column) argument
700 putNull(int row, int column) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DVisibilityLocationProvider.java29 boolean isInVisibleLocation(ExpandableNotificationRow row); argument
H A DNotificationBigPictureTemplateViewWrapper.java34 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 DNotificationBigTextTemplateViewWrapper.java35 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 DNotificationMediaTemplateViewWrapper.java31 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 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;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationBlockingHelperManagerTest.java96 ExpandableNotificationRow row = createBlockableRowSpy();
97 row.setBlockingHelperShowing(true);
98 when(row.isAttachedToWindow()).thenReturn(false);
99 mBlockingHelperManager.setBlockingHelperRowForTest(row);
109 ExpandableNotificationRow row = createBlockableRowSpy();
110 row.setBlockingHelperShowing(true);
111 when(row.isAttachedToWindow()).thenReturn(true);
112 mBlockingHelperManager.setBlockingHelperRowForTest(row);
122 ExpandableNotificationRow row = createBlockableRowSpy();
123 row
[all...]
H A DNotificationMenuRowTest.java53 NotificationMenuRowPlugin row = new NotificationMenuRow(mContext);
54 row.createMenu(null, null);
55 ViewUtils.attachView(row.getMenuView());
57 ViewUtils.detachView(row.getMenuView());
63 NotificationMenuRowPlugin row = new NotificationMenuRow(mContext);
64 row.createMenu(null, null);
65 assertTrue(row.getMenuView() != null);
66 row.createMenu(null, null);
67 assertTrue(row.getMenuView() != null);
72 NotificationMenuRowPlugin row
[all...]
H A DNotificationViewHierarchyManagerTest.java84 ExpandableNotificationRow row = mHelper.createRow();
85 NotificationData.Entry entry = new NotificationData.Entry(row.getStatusBarNotification());
86 entry.row = row;
99 mListContainer.addContainerView(entry0.row);
100 mListContainer.addContainerView(entry1.row);
101 mListContainer.addContainerView(entry2.row);
109 when(mGroupManager.getGroupSummary(entry1.notification)).thenReturn(entry0.row);
110 when(mGroupManager.getGroupSummary(entry2.notification)).thenReturn(entry0.row);
115 verify(mListContainer).notifyGroupChildAdded(entry1.row);
203 notifyGroupChildAdded(View row) argument
206 notifyGroupChildRemoved(View row, ViewGroup childrenContainer) argument
240 snapViewIfNeeded(ExpandableNotificationRow row) argument
262 isInVisibleLocation(ExpandableNotificationRow row) argument
[all...]
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java60 * 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 &lt; 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/V1_0/
H A Dconcat_float_3.mod.py20 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 Dconcat_quant8_3.mod.py20 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/ml/nn/runtime/test/specs/V1_1/
H A Dconcat_float_3_relaxed.mod.py20 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
33 input1_values = [x for x in range(row * col1)]
34 input2_values = [-x for x in range(row * col2)]
38 output_values = [x for x in range(row * output_col)]
39 for r in range(row):
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationGutsManager.java58 * Handles various NotificationGuts related tasks, such as binding guts to a row, opening and
112 public void onDensityOrFontScaleChanged(ExpandableNotificationRow row) { argument
113 setExposedGuts(row.getGuts());
114 bindGuts(row);
122 final NotificationChannel channel, ExpandableNotificationRow row) {
130 mPresenter.startNotificationGutsIntent(intent, appUid, row);
134 ExpandableNotificationRow row) {
137 startAppNotificationSettingsActivity(pkg, uid, null, row);
141 mPresenter.startNotificationGutsIntent(intent, uid, row);
146 mPresenter.startNotificationGutsIntent(intent, uid, row);
121 startAppNotificationSettingsActivity(String packageName, final int appUid, final NotificationChannel channel, ExpandableNotificationRow row) argument
133 startAppOpsSettingsActivity(String pkg, int uid, ArraySet<Integer> ops, ExpandableNotificationRow row) argument
150 bindGuts(final ExpandableNotificationRow row) argument
154 bindGuts(final ExpandableNotificationRow row, NotificationMenuRowPlugin.MenuItem item) argument
194 initializeSnoozeView( final ExpandableNotificationRow row, NotificationSnooze notificationSnoozeView) argument
214 initializeAppOpsInfo( final ExpandableNotificationRow row, AppOpsInfo appOpsInfoView) argument
241 initializeNotificationInfo( final ExpandableNotificationRow row, NotificationInfo notificationInfoView) argument
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java59 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 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...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java90 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/leanback/src/main/java/androidx/leanback/widget/
H A DBaseOnItemViewClickedListener.java22 * 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 DBaseOnItemViewSelectedListener.java17 * 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 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;

Completed in 419 milliseconds

1234567891011