Home
last modified time | relevance | path

Searched refs:cols (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp76 inline ScrollbackLine(dimen_t _cols) : cols(_cols) { in ScrollbackLine()
77 mCells = new VTermScreenCell[cols]; in ScrollbackLine()
83 inline dimen_t copyFrom(dimen_t cols, const VTermScreenCell* cells) { in copyFrom() argument
84 dimen_t n = this->cols > cols ? cols : this->cols; in copyFrom()
89 inline dimen_t copyTo(dimen_t cols, VTermScreenCell* cells) { in copyTo() argument
90 dimen_t n = cols > this->cols ? this->cols : cols; in copyTo()
99 const dimen_t cols; member in android::ScrollbackLine
121 status_t resize(dimen_t rows, dimen_t cols, dimen_t scrollRows);
123 status_t onPushline(dimen_t cols, const VTermScreenCell* cells);
124 status_t onPopline(dimen_t cols, VTermScreenCell* cells);
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DGridOption.java39 public final int cols; field in GridOption
43 public GridOption(String title, String name, boolean isCurrent, int rows, int cols, in GridOption() argument
47 mTileDrawable = new GridTileDrawable(rows, cols, iconShapePath); in GridOption()
50 this.cols = cols; in GridOption()
DLauncherGridOptionsProvider.java107 int cols = c.getInt(c.getColumnIndex(COL_COLS)); in fetch() local
116 String title = mContext.getString(R.string.grid_title_pattern, cols, rows); in fetch()
117 mOptions.add(new GridOption(title, name, isSet, rows, cols, preview, previewCount, in fetch()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalView.java169 view.cols = mCols;
254 final int cols = w / mMetrics.charWidth; in onSizeChanged() local
257 final boolean sizeChanged = (rows != mRows || cols != mCols || scrollRows != mScrollRows); in onSizeChanged()
259 mTerm.resize(rows, cols, scrollRows); in onSizeChanged()
262 mCols = cols; in onSizeChanged()
DTerminal.java144 public void resize(int rows, int cols, int scrollRows) { in resize() argument
145 if (nativeResize(mNativePtr, rows, cols, scrollRows) != 0) { in resize()
197 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); in nativeResize() argument
DTerminalLineView.java35 public int cols; field in TerminalLineView
64 for (int col = 0; col < cols;) { in onDraw()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DGridOccupancyTest.java56 int cols = cells.length / rows; in initGrid() local
58 GridOccupancy grid = new GridOccupancy(cols, rows); in initGrid()
60 for (int x = 0; x < cols; x++) { in initGrid()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) in db_PrintDoubleMatrix() argument
172 for(long j=0;j<cols;j++) printf("%lf ",a[i*cols+j]); in db_PrintDoubleMatrix()
Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs()
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) in db_SymmetricExtendUpperToLower() argument
Ddb_utilities.h556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java941 int cols = numColumns(row); in drawEmptyBlock() local
943 for (int i = 0; i < cols; i++) { in drawEmptyBlock()
1110 int cols = numColumns(mRow); in doDraw() local
1112 if (cols == mColumns) { in doDraw()
1122 + cols * (mSpec.mCellWidth + mSpec.mCellSpacing); in doDraw()
1130 int isEmpty = ((1 << cols) - 1) & ~mCompletedMask; in doDraw()
1136 for (int i = 0; i < cols; i++) { in doDraw()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java203 int cols = getColCount(); in getNearestIndex() local
210 int col = (int) (x / width * cols); in getNearestIndex()
213 } else if (col >= cols) { in getNearestIndex()
214 col = cols - 1; in getNearestIndex()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java233 private GridPreviewPage(Activity activity, int id, Uri previewUri, int rows, int cols) { in GridPreviewPage() argument
239 mCols = cols; in GridPreviewPage()
277 gridOption.rows, gridOption.cols)); in GridPreviewAdapter()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DGridTileDrawable.java33 public GridTileDrawable(int cols, int rows, String path) { in GridTileDrawable() argument
34 mCols = cols; in GridTileDrawable()
/packages/apps/ThemePicker/src/com/android/customization/module/
DStatsLogUserEventLogger.java127 grid.cols, in logGridSelected()
135 grid.cols, in logGridApplied()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java53 String [] cols = new String [] { "_id", "title", "package", "name" }; in onCreate() local
54 MatrixCursor c = new MatrixCursor(cols); in onCreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java274 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY }; in handlePrimaryAndSuperPrimary() local
276 cols, Data._ID + "=?", mSelectionArgs1, null, null, null); in handlePrimaryAndSuperPrimary()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1910 final String[] cols = cursor.getColumnNames();
1915 for (int i = 0; i < cols.length; i++) {
1917 if (Downloads.Impl.COLUMN_COOKIE_DATA.equals(cols[i])) {
1920 pw.printPair(cols[i], cursor.getString(i));
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1129 String[] cols = cursor.getColumnNames(); in dumpCursor() local
1135 for (int i = 0; i < cols.length; i++) { in dumpCursor()
1136 Log.i(TAG, " " + cols[i] + '=' + cursor.getString(i)); in dumpCursor()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...