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

1234

/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/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);
H A DScrollingThroughListOfFocusablesTest.java83 // move to next row
146 assertTrue("bottom of last row of last item should be at " +
165 // (make sure we are at last row of second item)
179 // move up to next row
186 // now we are at top row, should have caused scrolling, and fading edge...
194 assertEquals("top of selected row should be just below top vertical fading edge",
211 * @param row
215 int row) {
216 assertEquals("expecting selected row",
217 row, internalFocuse
213 assertInternallySelectedRowOnScreen( InternalSelectionView internalFocused, int row) argument
[all...]
/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/src/com/android/systemui/statusbar/notification/
H A DNotificationBigPictureTemplateViewWrapper.java34 ExpandableNotificationRow row) {
35 super(ctx, view, row);
33 NotificationBigPictureTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
H A DNotificationBigTextTemplateViewWrapper.java35 ExpandableNotificationRow row) {
36 super(ctx, view, row);
34 NotificationBigTextTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
H A DNotificationMediaTemplateViewWrapper.java32 ExpandableNotificationRow row) {
33 super(ctx, view, row);
31 NotificationMediaTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
H A DNotificationMessagingTemplateViewWrapper.java35 ExpandableNotificationRow row) {
36 super(ctx, view, row);
34 NotificationMessagingTemplateViewWrapper(Context ctx, View view, ExpandableNotificationRow row) argument
/frameworks/compile/mclinker/lib/LD/
H A DStaticResolver.cpp60 unsigned int row = getOrdinate(pNew); local
69 action = link_action[row][col];
/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 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...]
H A DDetailsOverviewLogoPresenter.java126 public boolean isBoundToImage(ViewHolder viewHolder, DetailsOverviewRow row) { argument
127 return row != null && row.getImageDrawable() != null;
139 DetailsOverviewRow row = (DetailsOverviewRow) item;
141 imageView.setImageDrawable(row.getImageDrawable());
142 if (isBoundToImage((ViewHolder) viewHolder, row)) {
146 lp.width = row.getImageDrawable().getIntrinsicWidth();
147 lp.height = row.getImageDrawable().getIntrinsicHeight();
/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>
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...]
H A DLensShadingMap.java44 * <p>The elements must be stored in a row-major order (fully packed).</p>
101 * Get a single color channel gain factor from this lens shading map by its row and column.
114 * @param row within the range [0, {@link #getRowCount})
127 public float getGainFactor(final int colorChannel, final int column, final int row) { argument
132 } else if (row < 0 || row >= mRows) {
133 throw new IllegalArgumentException("row out of range");
136 return mElements[colorChannel + (row * mColumns + column) * COUNT ];
140 * Get a gain factor vector from this lens shading map by its row and column.
146 * @param row withi
155 getGainFactorVector(final int column, final int row) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_neighbour.c133 u32 i, row, col; local
142 row = col = 0;
152 if (row)
157 if (row && (col < picWidth - 1))
162 if (row && col)
171 row++;
H A Dh264bsd_transform.c101 u32 row,col; local
156 for (row = 4, ptr = data; row--; ptr += 4)
258 u32 row,col; local
288 for (row = 4, ptr = data; row--; ptr += 4)
H A Dh264bsd_util.c268 u32 row, col; local
273 row = mbNum / width;
276 tmp = row * width;
/frameworks/base/core/java/android/text/
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/core/java/android/util/
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);
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/support/v17/tests/src/android/support/v17/leanback/app/
H A DBrowseTestFragment.java72 RowPresenter.ViewHolder rowViewHolder, Row row) {
73 Log.i(TAG, "onItemSelected: " + item + " row " + row);
122 RowPresenter.ViewHolder rowViewHolder, Row row) {
123 Log.i(TAG, "onItemClicked: " + item + " row " + row);
121 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument

Completed in 467 milliseconds

1234