Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java504 int col = pos - (row * mColumns); in getRectForPosition() local
507 + (col * (mSpec.mCellWidth + mSpec.mCellSpacing)); in getRectForPosition()
524 int col = Math.min(mColumns - 1, in computeSelectedIndex() local
526 return (row * mColumns) + col; in computeSelectedIndex()
697 int col = mCurrentSelection - (row * mColumns); in paintSelection() local
701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); in paintSelection()
795 int col = pos - row * mColumns; in clearLoaderQueue() local
799 blk.cancelRequest(col); in clearLoaderQueue()
881 int col = index - (row * mColumns); in invalidateImage() local
884 if ((blk.mCompletedMask & (1 << col)) != 0) { in invalidateImage()
[all …]
DGalleryPicker.java625 int col = pos - (row * 2); in placeImage() local
627 int xPos = (col * (imageWidth + widthPadding)) - offsetX; in placeImage()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c174 ipp_t *col[2]; in _fill_job() local
327 col[++col_index] = ippNew(); in _fill_job()
328 ippAddString(col[col_index], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-source", NULL, in _fill_job()
331 col[++col_index] = ippNew(); in _fill_job()
332 ippAddString(col[col_index], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-source", NULL, in _fill_job()
340 col[++col_index] = ippNew(); in _fill_job()
345 ippAddInteger(col[col_index], IPP_TAG_JOB, IPP_TAG_INTEGER, "media-bottom-margin", 0); in _fill_job()
346 ippAddInteger(col[col_index], IPP_TAG_JOB, IPP_TAG_INTEGER, "media-top-margin", 0); in _fill_job()
347 ippAddInteger(col[col_index], IPP_TAG_JOB, IPP_TAG_INTEGER, "media-left-margin", 0); in _fill_job()
348 ippAddInteger(col[col_index], IPP_TAG_JOB, IPP_TAG_INTEGER, "media-right-margin", 0); in _fill_job()
[all …]
Dipphelper.c395 static void print_col(ipp_t *col) { in print_col() argument
400 for (attr = ippFirstAttribute(col); attr; attr = ippNextAttribute(col)) { in print_col()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp95 inline void getCell(dimen_t col, VTermScreenCell* cell) { in getCell() argument
96 *cell = mCells[col]; in getCell()
190 pos.col, oldpos.row, oldpos.col, visible); in term_movecursor()
466 for (dimen_t col = n; col < cols; col++) { in onPopline() local
467 cells[col].chars[0] = 0; in onPopline()
468 cells[col].width = 1; in onPopline()
491 if ((size_t) pos.col < line->cols) { in getCellLocked()
493 line->getCell(pos.col, cell); in getCellLocked()
585 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() argument
599 .col = col, in com_android_terminal_Terminal_nativeGetCellRun()
[all …]
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java64 for (int col = 0; col < cols;) { in onDraw()
65 mTerm.getCellRun(row, col, m.run); in onDraw()
70 final int x = col * m.charWidth; in onDraw()
82 col += m.run.colSize; in onDraw()
DTerminal.java162 public void getCellRun(int row, int col, CellRun run) { in getCellRun() argument
163 if (nativeGetCellRun(mNativePtr, row, col, run) != 0) { in getCellRun()
198 private static native int nativeGetCellRun(long ptr, int row, int col, CellRun run); in nativeGetCellRun() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java161 final int col = n % mNumColumns; in getFixedOrderColumnPos() local
164 return col - mLeftKeys; in getFixedOrderColumnPos()
168 final int pos = col - leftSideKeys; in getFixedOrderColumnPos()
181 final int col = n % mNumColumns; in getAutomaticColumnPos() local
187 if (col == 0) { in getAutomaticColumnPos()
203 if (i >= col) in getAutomaticColumnPos()
211 if (i >= col) in getAutomaticColumnPos()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.java263 protected String getStringOrNull(int col) { in getStringOrNull() argument
265 if (col == -1) { in getStringOrNull()
269 return mCursor.getString(col); in getStringOrNull()
284 int col = getColumnIndex(colName); in getStringOrNull() local
285 return getStringOrNull(col); in getStringOrNull()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java365 for (int col = start; col != end; col += inc) { in prepareVertexData()
366 int k = row * nx + col; in prepareVertexData()
367 if (col != start) { in prepareVertexData()
368 int colorIdx = row * (nx - 1) + col; in prepareVertexData()
/packages/apps/Launcher3/
Dprint_db.py199 for col in columns:
200 print_functions.append(FUNCTIONS.get(col, print_cell))
202 col = columns[i]
204 """ % ( col ))
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java482 int col = findFirstZeroBit(colMask); in doComputePositions() local
483 if (col == 64) in doComputePositions()
484 col = 63; in doComputePositions()
485 colMask |= (1L << col); in doComputePositions()
486 event.setColumn(col); in doComputePositions()
DEventGeometry.java76 int col = event.getColumn(); in computeEventRect() local
101 event.left = left + col * (colWidth + mCellMargin); in computeEventRect()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java436 int col, row; in getSlotRect() local
438 col = index / mUnitCount; in getSlotRect()
439 row = index - col * mUnitCount; in getSlotRect()
442 col = index - row * mUnitCount; in getSlotRect()
445 int x = mHorizontalPadding.get() + col * (mSlotWidth + mSlotGap); in getSlotRect()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java369 private ArrayList<DbEntry> tryRemove(int col, int row, int startY,
374 col = mShouldRemoveX ? col : Integer.MAX_VALUE;
381 if ((item.cellX <= col && (item.spanX + item.cellX) > col)
384 if (item.cellX >= col) item.cellX --;
387 if (item.cellX > col) item.cellX --;
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIconPreviewVerifier.java83 int col = rank % mGridCountX; in isItemInPreview() local
85 return col < 2 && row < 2; in isItemInPreview()
DClippedFolderIconLayoutRule.java73 private void getGridPosition(int row, int col, float[] result) { in getGridPosition() argument
83 result[0] = left + (col * dx); in getGridPosition()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java125 public static String getString(Cursor cursor, String col) { in getString() argument
126 return cursor.getString(cursor.getColumnIndexOrThrow(col)); in getString()
129 public static int getInt(Cursor cursor, String col) { in getInt() argument
130 return cursor.getInt(cursor.getColumnIndexOrThrow(col)); in getInt()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DRcsProviderThreadHelper.java407 private String joinOnColumn(String t1, String t2, String col) { in joinOnColumn() argument
408 return t1 + " JOIN " + t2 + " ON (" + t1 + "." + col + "=" + t2 + "." + col + ")"; in joinOnColumn()
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java276 Collection<Channel> col = mChannels.values(); in closeChannels() local
277 Channel[] channelList = col.toArray(new Channel[col.size()]); in closeChannels()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java462 int col = 0; in formatLineToFixedWidth() local
465 if (col == 0) { in formatLineToFixedWidth()
466 col = word.length(); in formatLineToFixedWidth()
468 int newCol = col + word.length() + 1; // +1 for the space in formatLineToFixedWidth()
472 col = newCol; in formatLineToFixedWidth()
475 col = word.length(); in formatLineToFixedWidth()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java503 for (String col : columns.keySet()) { in extractMetadataFromCursor()
505 int index = cursor.getColumnIndex(col); in extractMetadataFromCursor()
506 String bundleTag = columns.get(col); in extractMetadataFromCursor()
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...

12