/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 504 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 …]
|
/packages/wallpapers/MagicSmoke/res/raw/ |
D | pf5tex.glslf | 11 lowp vec4 col = mix(UNI_clearColor, tex.rgba, tex.a); 14 col = mix(col, tex.rgba, tex.a); 17 col = mix(col, tex.rgba, tex.a); 20 col = mix(col, tex.rgba, tex.a); 23 col = mix(col, tex.rgba, tex.a); 24 gl_FragColor = col;
|
D | pf4tex.glslf | 10 lowp vec4 col = mix(UNI_clearColor, tex.rgba, tex.a); 13 col = mix(col, tex.rgba, tex.a); 16 col = mix(col, tex.rgba, tex.a); 19 col = mix(col, tex.rgba, tex.a); 21 gl_FragColor = col;
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 97 inline void getCell(dimen_t col, VTermScreenCell* cell) { in getCell() argument 98 *cell = mCells[col]; in getCell() 192 pos.col, oldpos.row, oldpos.col, visible); in term_movecursor() 475 for (dimen_t col = n; col < cols; col++) { in onPopline() local 476 cells[col].chars[0] = 0; in onPopline() 477 cells[col].width = 1; in onPopline() 500 if ((size_t) pos.col < line->cols) { in getCellLocked() 502 line->getCell(pos.col, cell); in getCellLocked() 594 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() argument 608 .col = col, in com_android_terminal_Terminal_nativeGetCellRun() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 295 public final int getMarginAbove(int col) { in getMarginAbove() argument 299 return mMargins[col * 2]; in getMarginAbove() 302 public final int getMarginBelow(int col) { in getMarginBelow() argument 306 return mMargins[col * 2 + 1]; in getMarginBelow() 309 public final void setMarginAbove(int col, int margin) { in setMarginAbove() argument 314 mMargins[col * 2] = margin; in setMarginAbove() 317 public final void setMarginBelow(int col, int margin) { in setMarginBelow() argument 322 mMargins[col * 2 + 1] = margin; in setMarginBelow() 1315 final int col = mIsRtlLayout ? lp.column - spanIndex : in recycleOffscreenViews() local 1319 if (colTop < mItemTops[col]) { in recycleOffscreenViews() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 161 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/Terminal/src/com/android/terminal/ |
D | TerminalLineView.java | 64 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()
|
D | Terminal.java | 162 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/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 365 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/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CursorBackedSuggestionCursor.java | 263 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/Launcher3/src/com/android/launcher3/model/ |
D | MigrateFromRestoreTask.java | 297 private ArrayList<DbEntry> tryRemove(int col, int row, ArrayList<DbEntry> items, 301 col = mShouldRemoveX ? col : Integer.MAX_VALUE; 308 if ((item.cellX <= col && (item.spanX + item.cellX) > col) 311 if (item.cellX >= col) item.cellX --; 314 if (item.cellX > col) item.cellX --;
|
/packages/apps/Launcher2/ |
D | print_db.py | 145 for col in columns: 146 print_functions.append(FUNCTIONS.get(col, print_cell)) 148 col = columns[i] 150 """ % ( col ))
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 482 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()
|
D | DayOfMonthCursor.java | 65 public void setSelectedRowColumn(int row, int col) { in setSelectedRowColumn() argument 67 mColumn = col; in setSelectedRowColumn()
|
D | EventGeometry.java | 76 int col = event.getColumn(); in computeEventRect() local 101 event.left = left + col * (colWidth + mCellMargin); in computeEventRect()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 244 private static String getString(Cursor cursor, String col) { in getString() argument 245 return cursor.getString(cursor.getColumnIndexOrThrow(col)); in getString() 248 private static int getInt(Cursor cursor, String col) { in getInt() argument 249 return cursor.getInt(cursor.getColumnIndexOrThrow(col)); in getInt()
|
/packages/apps/Launcher3/ |
D | print_db.py | 197 for col in columns: 198 print_functions.append(FUNCTIONS.get(col, print_cell)) 200 col = columns[i] 202 """ % ( col ))
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlotView.java | 436 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/Browser/tests/src/com/android/browser/ |
D | BrowserProviderTests.java | 171 int col = c.getColumnIndex(name); in getCol() local 174 assertTrue(msg, col >= 0); in getCol() 175 return c.getString(col); in getCol()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSyncTestingBase.java | 374 String col = cols[i]; in compareCursors() local 375 if (columnsToSkip != null && columnsToSkip.contains(col)) { in compareCursors() 378 row.put(col, cursor1.getString(i)); in compareCursors()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | Cities.java | 35 Collection<CityObj> col = cities.values(); in saveCitiesToSharedPrefs() local 36 Iterator<CityObj> i = col.iterator(); in saveCitiesToSharedPrefs()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardContainerView.java | 103 final int col = cursor % mNumColumns; in onLayout() local 116 if ((col + colSpan) > mNumColumns) { in onLayout()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | StringUtil.java | 462 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/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 127 final String[] col = mColumns.get(i).getItems(); in onCreateView() local 128 mResult.add(col[0]); in onCreateView()
|
/packages/apps/Music/src/com/android/music/ |
D | PlaylistBrowserActivity.java | 478 Collator col = Collator.getInstance(); in getPlaylistCursor() local 479 col.setStrength(Collator.PRIMARY); in getPlaylistCursor()
|