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

/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthCursor.java26 * <li>Keeps track of current cursor position (row, column)</li>
65 public void setSelectedRowColumn(int row, int col) { argument
66 mRow = row;
76 * depending on whether the selection is in the first or last row.
93 public boolean isSelected(int row, int column) { argument
94 return (mRow == row) && (mColumn == column);
/packages/apps/Email/src/com/android/email/provider/
H A DFolderPickerDialog.java99 * @param row The item being updated.
101 public void update(FolderSelectorAdapter.FolderRow row) { argument
103 final boolean add = !row.isPresent();
118 row.setIsPresent(add);
120 mCheckedState.put(row.getFolder(), add);
148 final FolderRow row = (FolderRow) mAdapter.getItem(which);
152 mCheckedState.put(row.getFolder(), isChecked);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DMultiFoldersSelectionDialog.java129 * @param row The item being updated.
131 private final void update(FolderSelectorAdapter.FolderRow row) { argument
132 final boolean add = !row.isPresent();
150 row.setIsPresent(add);
152 final Folder folder = row.getFolder();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMatrixUtils.java43 * Find a pivot and swap the row of squareMatrix0 and squareMatrix1
45 private static void findPivotAndSwapRow(final int row, final float[][] squareMatrix0, argument
47 int ip = row;
48 float pivot = Math.abs(squareMatrix0[row][row]);
49 for (int i = row + 1; i < size; ++i) {
50 if (pivot < Math.abs(squareMatrix0[i][row])) {
52 pivot = Math.abs(squareMatrix0[i][row]);
55 if (ip != row) {
58 squareMatrix0[ip][j] = squareMatrix0[row][
71 sweep(final int row, final float[][] squareMatrix0, final float[][] squareMatrix1, final int size) argument
[all...]
H A DTouchPositionCorrection.java83 public float getX(final int row) { argument
86 // return mXs[row];
89 public float getY(final int row) { argument
90 return mYs[row];
93 public float getRadius(final int row) { argument
94 return mRadii[row];
H A DKeyboardBuilder.java313 final KeyboardRow row = parseRowAttributes(parser);
316 startRow(row);
318 parseRowContent(parser, row, skip);
363 private void parseRowContent(final XmlPullParser parser, final KeyboardRow row, argument
370 parseKey(parser, row, skip);
372 parseSpacer(parser, row, skip);
374 parseIncludeRowContent(parser, row, skip);
376 parseSwitchRowContent(parser, row, skip);
387 endRow(row);
430 final KeyboardRow row
473 parseKey(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
489 parseSpacer(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
507 parseIncludeRowContent(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
512 parseIncludeInternal(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
558 parseMerge(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
584 parseSwitchRowContent(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
589 parseSwitchInternal(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
615 parseCase(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
758 parseDefault(final XmlPullParser parser, final KeyboardRow row, final boolean skip) argument
800 startRow(final KeyboardRow row) argument
807 endRow(final KeyboardRow row) argument
840 addEdgeSpace(final float width, final KeyboardRow row) argument
[all...]
/packages/apps/Gallery2/jni/filters/
H A DredEyeMath.c77 int row = recW * y; local
82 char b = (mask[row + x] | mask[row + x + 1] | mask[row + x - 1]
83 | mask[row + x - recW] | mask[row + x + recW]);
85 out[row + x] = 1;
87 out[row + x] = mask[row + x];
95 int row local
[all...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContentProvider.java108 public Query returnRow(Object... row) { argument
109 mRows.add(row);
187 for (Object row : mRows) {
188 if (row instanceof Object[]) {
189 cursor.addRow((Object[]) row);
191 ContentValues values = (ContentValues) row;
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java247 * Gets the next row of apn values.
250 * @return the row or null if it's not an apn
344 ContentValues row = getRow(parser);
345 if (row == null) {
348 insertAddingDefaults(db, CARRIERS_TABLE, row);
364 private void insertAddingDefaults(SQLiteDatabase db, String table, ContentValues row) { argument
366 if (row.containsKey(Telephony.Carriers.AUTH_TYPE) == false) {
367 row.put(Telephony.Carriers.AUTH_TYPE, -1);
369 if (row.containsKey(Telephony.Carriers.PROTOCOL) == false) {
370 row
[all...]
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java117 private Object[] row; field in class:ExchangeDirectoryProvider.GalContactRow
123 row = new Object[projection.size];
143 return row;
149 row[integer] = value;
216 Object[] row;
228 row = new Object[projection.length];
233 row[i] = account.name;
235 row[i] = account.type;
247 row[i] = exchangeName;
256 row[
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysKeyboard.java67 * @param rowHeight more keys keyboard row height in pixel, including vertical gap.
123 // Adjustment of the top row.
129 // Need to subtract the bottom row's gutter only.
157 final int row = n / mNumColumns;
158 if (!isTopRow(row)) {
177 final int row = n / mNumColumns;
179 if (isTopRow(row)) {
229 public int getX(final int n, final int row) { argument
231 if (isTopRow(row)) {
237 public int getY(final int row) { argument
241 markAsEdgeKey(final Key key, final int row) argument
[all...]
H A DKey.java231 * @param row the row that this key belongs to. row's x-coordinate will be the right edge of
236 public Key(final Resources res, final KeyboardParams params, final KeyboardRow row, argument
239 final int rowHeight = row.getRowHeight();
246 final float keyXPos = row.getKeyX(keyAttr);
247 final float keyWidth = row.getKeyWidth(keyAttr, keyXPos);
248 final int keyYPos = row.getKeyY();
256 // Update row to have current x coordinate.
257 row
931 Spacer(final Resources res, final KeyboardParams params, final KeyboardRow row, final XmlPullParser parser) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java192 public int getBaseline(int row) { argument
193 if (row == 0 && mLabel != null) {
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteFragment.java448 // This is a tiled row, so save horizontal offsets instead
462 private void saveHorizontalOffsets(ContactTileRow row, ArrayList<ContactEntry> list) { argument
464 final View child = row.getChildAt(i);
476 * Performs a animations for a row of tiles
478 private void performHorizontalAnimations(ContactTileRow row, ArrayList<ContactEntry> list, argument
486 final View child = row.getChildAt(i);
509 // In case the last square row is pushed up from the non-square section.
522 * Performs animations for the list view. If the list item is a row of tiles, horizontal
549 // This is a tiled row, so perform horizontal animations instead
582 // In case the first non-square row i
[all...]
/packages/apps/Mms/src/com/android/mms/
H A DSuggestionsProvider.java119 public Row(int row, String snippet) { argument
121 mRowNumber = row;
208 * a "word" by taking the substring of the full row text in the words table
296 Row row = mRows.get(mCurrentRow);
300 b = b.appendQueryParameter("pattern", row.getSnippet());
306 return row.getSnippet();
308 return row.getSnippet();
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoftKeyboard.java84 * Rows in this soft keyboard. Each row has a id. Only matched rows will be
214 for (int row = 0; row < mKeyRows.size(); row++) {
215 KeyRow keyRow = mKeyRows.get(row);
279 public KeyRow getKeyRowForDisplay(int row) { argument
280 if (null != mKeyRows && mKeyRows.size() > row) {
281 KeyRow keyRow = mKeyRows.get(row);
290 public SoftKey getKey(int row, int location) { argument
291 if (null != mKeyRows && mKeyRows.size() > row) {
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java503 int row = pos / mColumns;
504 int col = pos - (row * mColumns);
508 int top = row * mBlockHeight;
523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing);
526 return (row * mColumns) + col;
696 int row = mCurrentSelection / mColumns;
697 int col = mCurrentSelection - (row * mColumns);
702 int yTop = spacing + (row * mBlockHeight);
720 // mCache maps from row number to the ImageBlock.
725 private final Runnable mRedrawCallback; // Called after a row i
834 tryToLoad(int row) argument
928 numColumns(int row) argument
933 drawEmptyBlock(Canvas canvas, int xPos, int yPos, int row) argument
989 setRow(int row) argument
[all...]

Completed in 687 milliseconds