Searched defs:row (Results 1 - 25 of 147) sorted by relevance

123456

/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/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 DNotificationCustomViewWrapper.java33 protected NotificationCustomViewWrapper(Context ctx, View view, ExpandableNotificationRow row) { argument
34 super(ctx, view, row);
35 mLegacyColor = row.getContext().getColor(R.color.notification_legacy_background_color);
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
H A DNotificationMessagingTemplateViewWrapper.java42 ExpandableNotificationRow row) {
43 super(ctx, view, row);
54 public void onContentUpdated(ExpandableNotificationRow row) { argument
58 super.onContentUpdated(row);
41 NotificationMessagingTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
/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/base/core/tests/coretests/src/android/widget/focus/
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/SettingsLib/src/com/android/settingslib/animation/
H A DDisappearAnimationUtils.java47 protected long calculateDelay(int row, int col) { argument
48 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale);
54 public float getRowTranslationScale(int row, int numRows) {
55 return (float) (Math.pow((numRows - row), 2) / numRows);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationViewWrapperTest.java49 ExpandableNotificationRow row) {
50 super(ctx, view, row);
48 TestableNotificationViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColoredShadowsActivity.java39 private void setShadowColors(ViewGroup row, int rowIndex) { argument
40 for (int i = 0; i < row.getChildCount(); i++) {
41 View view = row.getChildAt(i);
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp60 unsigned int row = getOrdinate(pNew); local
69 action = link_action[row][col];
/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):
H A Davg_pool_float_2.mod.py21 row = 52 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
35 output_row = (row + 2 * pad - flt + std) // std
45 input_values = [1. for _ in range(bat * row * col * chn)]
H A Davg_pool_float_3.mod.py21 row = 200 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
35 output_row = (row + 2 * pad - flt + std) // std
45 input_values = [x % 2 for x in range(bat * row * col * chn)]
H A Davg_pool_float_4.mod.py21 row = 52 variable
25 i0 = Input("i0", "TENSOR_FLOAT32", "{%d, %d, %d, %d}" % (bat, row, col, chn))
35 output_row = (row + 2 * pad - flt + std) // std
45 input_values = [10 for _ in range(bat * row * col * chn)]
H A Davg_pool_quant8_2.mod.py21 row = 52 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
35 output_row = (row + 2 * pad - flt + std) // std
45 input_values = [255 for _ in range(bat * row * col * chn)]
H A Davg_pool_quant8_3.mod.py21 row = 100 variable
25 i0 = Input("i0", "TENSOR_QUANT8_ASYMM", "{%d, %d, %d, %d}, 0.5f, 0" % (bat, row, col, chn))
35 output_row = (row + 2 * pad - flt + std) // std
45 input_values = [x % 4 * 2 for x in range(bat * row * col * chn)]
/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/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/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java39 * given in row-column scan order.</p>
61 * @param row the row index in the raw pixel array.
64 * @throws IllegalArgumentException if a column or row given is negative.
66 public int getOffsetForIndex(int column, int row) { argument
67 if (row < 0 || column < 0) {
68 throw new IllegalArgumentException("column, row arguments must be positive");
70 return mCfaOffsets[((row & 1) << 1) | (column & 1)];
76 * <p>Offsets are given in row-column scan order for a given 2x2 color pattern.</p>

Completed in 937 milliseconds

123456