Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 46) 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/services/Car/surround_view/service-impl/
DMatrix4x4.h205 return Matrix4x4::fromCols(a * b.col(0), a * b.col(1), a * b.col(2), a * b.col(3));
260 const auto cof = [this](unsigned int row, unsigned int col) { in comatrixTransposed()
264 unsigned int c0 = (col + 1) % 4; in comatrixTransposed()
265 unsigned int c1 = (col + 2) % 4; in comatrixTransposed()
266 unsigned int c2 = (col + 3) % 4; in comatrixTransposed()
271 return (row + col) & 1 ? -minor : minor; in comatrixTransposed()
293 inline MVector col(const int i) const { in col() function
/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/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java210 int col = (int) (x / width * cols); in getNearestIndex() local
211 if (col < 0) { in getNearestIndex()
212 col = 0; in getNearestIndex()
213 } else if (col >= cols) { in getNearestIndex()
214 col = cols - 1; in getNearestIndex()
216 int index = mColCount * row + col; in getNearestIndex()
541 public void setFocus(int row, int col, boolean clicked) { in setFocus() argument
542 setFocus(mColCount * row + col, clicked); in setFocus()
/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/tools/
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.java376 private ArrayList<DbEntry> tryRemove(int col, int row, int startY,
381 col = mShouldRemoveX ? col : Integer.MAX_VALUE;
388 if ((item.cellX <= col && (item.spanX + item.cellX) > col)
391 if (item.cellX >= col) item.cellX--;
394 if (item.cellX > col) item.cellX--;
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java73 private void getGridPosition(int row, int col, float[] result) { in getGridPosition() argument
83 result[0] = left + (col * dx); in getGridPosition()
DFolderGridOrganizer.java190 int col = rank % mCountX; in isItemInPreview() local
192 return col < 2 && row < 2; in isItemInPreview()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java130 public static String getString(Cursor cursor, String col) { in getString() argument
131 return cursor.getString(cursor.getColumnIndexOrThrow(col)); in getString()
134 public static int getInt(Cursor cursor, String col) { in getInt() argument
135 return cursor.getInt(cursor.getColumnIndexOrThrow(col)); in getInt()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java164 int col = 0; in placeFoldersInWorkspace() local
167 LauncherSettings.Favorites.CONTAINER_DESKTOP, screenId, col++, in placeFoldersInWorkspace()
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java323 Collection<Channel> col = mChannels.values(); in closeChannels() local
324 Channel[] channelList = col.toArray(new Channel[col.size()]); in closeChannels()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java519 for (String col : columns.keySet()) { in extractMetadataFromCursor()
521 int index = cursor.getColumnIndex(col); in extractMetadataFromCursor()
522 String bundleTag = columns.get(col); in extractMetadataFromCursor()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12