Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 12 of 12) sorted by relevance

/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java263 private void mapColumns(String[] columns) { in mapColumns() argument
264 for (int i = 0; i < columns.length; i++) { in mapColumns()
265 final String target = mProjectionMap.get(columns[i]); in mapColumns()
267 columns[i] = target; in mapColumns()
296 public Cursor query(SQLiteDatabase db, String[] columns, String orderBy) { in query() argument
297 return query(db, columns, null, null, orderBy, null); in query()
322 public Cursor query(SQLiteDatabase db, String[] columns, String groupBy, in query() argument
325 if (columns != null) mapColumns(columns); in query()
326 Log.v(TAG, "query(columns=" + Arrays.toString(columns) + ") " + this); in query()
327 return db.query(mTable, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/
Dcsv_test.go14 func(columns []string) {
16 assert.Equal(t, 9, len(columns), "Fixture CSV Column Count")
27 func(columns []string) {},
56 func(columns []string) {
57 assert.Equal(t, 2, len(columns), "Initial CSV ColumnCount")
58 reconstituted = append(reconstituted, columns)
Dunix.go19 func(columns []string) {
24 entity, errMapping = mapper(columns)
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryProvider.java117 String[] columns = new String[] { in getSuggestions() local
125 return mDictionary.getWordMatches(query, columns); in getSuggestions()
130 String[] columns = new String[] { in search() local
135 return mDictionary.getWordMatches(query, columns); in search()
140 String[] columns = new String[] { in getWord() local
144 return mDictionary.getWord(rowId, columns); in getWord()
156 String[] columns = new String[] { in refreshShortcut() local
163 return mDictionary.getWord(rowId, columns); in refreshShortcut()
DDictionaryDatabase.java89 public Cursor getWord(String rowId, String[] columns) { in getWord() argument
93 return query(selection, selectionArgs, columns); in getWord()
107 public Cursor getWordMatches(String query, String[] columns) { in getWordMatches() argument
111 return query(selection, selectionArgs, columns); in getWordMatches()
135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { in query() argument
145 columns, selection, selectionArgs, null, null, null); in query()
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers_test.go14 columns := strings.Split(exampleLine, ",")
15 diffRow, err := CSVLineToDiffRow(columns)
34 columns := strings.Split(exampleLine, ",")
35 commitRow, err := CSVLineToCommitRow(columns)
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java78 int columns = (r - l) / cellWidth; in onLayout() local
79 if (columns < 0) { in onLayout()
80 columns = 1; in onLayout()
96 if (i >= (columns-1)) { in onLayout()
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java89 int columns = (r - l) / cellWidth; in onLayout() local
90 if (columns < 0) { in onLayout()
91 columns = 1; in onLayout()
107 if (i >= (columns-1)) { in onLayout()
/development/python-packages/gdbrunner/
D__init__.py122 columns = output.pop(0).split()
124 pid_column = columns.index("PID")
128 columns = output.pop().split()
129 process_name = columns[-1]
130 pid = int(columns[pid_column])
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java137 final List<Fragment> columns = new ArrayList<Fragment>(); field in SampleGridPagerAdapter.Row
146 columns.add(f); in add()
150 return columns.get(i); in getColumn()
154 return columns.size(); in getColumnCount()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java60 CharSequence characters, int columns, int horizontalPadding) { in LatinKeyboard() argument
61 super(context, layoutTemplateResId, characters, columns, horizontalPadding); in LatinKeyboard()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1708 …TM-zGlNMuDaRUw@fakeemail.com,CTS test for getVisualVociemailPackageName() and new voicemail columns
3190 …4,platform/cts,fake_vk_I5n6vTG2w7hgGh5cFuw@fakeemail.com,TIF: add review rating columns to programs
3401 …rm/cts,fake_vk_I5n6vTG2w7hgGh5cFuw@fakeemail.com,TIF: add tests for non-existing customized columns
3664 …,fake_1UMISJfoRT2QL5pz8G2HBQ@fakeemail.com,TIF: add test cases for illegal access to system columns
20044 …QPrfR7SD1yetfOwNog@fakeemail.com,ss: Fix width calculations when Netid or State columns are missing
30994 …fake_eQzJ5iU2QcCwUe0mAYw3lw@fakeemail.com,Updated writing of PhoneLookup columns in annotated call…
31226 …QzJ5iU2QcCwUe0mAYw3lw@fakeemail.com,Use type TEXT instead of STRING for annotated call log columns.
35422 …-K0m6ZlKqg@fakeemail.com,"Make -c work with unicode chars, and first stab at -C measuring columns."
36616 …frameworks/native,fake_8D2h2P4oThy4V7vdDd142w@fakeemail.com,lshal: table columns affected by arg o…
36825 …/native,fake_8D2h2P4oThy4V7vdDd142w@fakeemail.com,lshal: Allow selecting columns and sorting by co…
[all …]