Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/sourcedr/blueprint/tests/
Dtest_lexer.py51 self.assertEqual(exc.column, 3)
57 self.assertEqual(exc.column, 5)
75 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 0)
77 self.assertEqual(column, 1)
79 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 1)
81 self.assertEqual(column, 2)
83 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 2)
85 self.assertEqual(column, 3)
88 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 3)
90 self.assertEqual(column, 1)
[all …]
/development/vndk/tools/sourcedr/sourcedr/tests/
Dtest_ninja.py218 self.assertEqual(1, tok.column)
223 self.assertEqual(3, tok.column)
230 self.assertEqual(1, tok.column)
234 self.assertEqual(3, tok.column)
240 self.assertEqual(1, tok.column)
244 self.assertEqual(1, tok.column)
250 self.assertEqual(1, tok.column)
254 self.assertEqual(7, tok.column)
258 self.assertEqual(8, tok.column)
262 self.assertEqual(1, tok.column)
[all …]
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DContactablesLoaderCallbacks.java133 for(String column : cursor.getColumnNames()) { in onLoadFinished()
134 Log.d(TAG, column + column + ": " + in onLoadFinished()
135 cursor.getString(cursor.getColumnIndex(column)) + "\n"); in onLoadFinished()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java390 TextColumn column = (TextColumn) mDataItems.get(id); in show() local
391 if (column == null) { in show()
392 column = new TextColumn(id, MotionEvent.axisToString(axis)); in show()
393 mDataItems.put(id, column); in show()
395 column.setContent(Float.toString(state.getAxisValue(i))); in show()
396 mVisibleItems.add(column); in show()
405 TextColumn column = (TextColumn) mDataItems.get(id); in show() local
406 if (column == null) { in show()
407 column = new TextColumn(id, KeyEvent.keyCodeToString(keyCode)); in show()
408 mDataItems.put(id, column); in show()
[all …]
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java100 public Object instantiateItem(ViewGroup container, int row, final int column) { in instantiateItem() argument
103 switch (column) { in instantiateItem()
125 if (column == PAGER_PRIMARY_IMAGE_COLUMN) { in instantiateItem()
183 public Drawable getBackgroundForPage(int row, int column) { in getBackgroundForPage() argument
184 if (column == 0) { in getBackgroundForPage()
190 return super.getBackgroundForPage(row, column); in getBackgroundForPage()
194 public void destroyItem(ViewGroup viewGroup, int row, int column, Object object) { in destroyItem() argument
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java83 public Drawable getBackgroundForPage(int row, int column) { in getBackgroundForPage() argument
84 Point pt = new Point(column, row); in getBackgroundForPage()
97 c.drawText(column+ "-" + row, 100, 100, p); in getBackgroundForPage()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java208 public SelectionBuilder mapToTable(String column, String table) { in mapToTable() argument
209 mProjectionMap.put(column, table + "." + column); in mapToTable()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java255 private String getSortBy(String column, SortOrder sortOrder) { in getSortBy() argument
256 if (column == null) { in getSortBy()
261 return column + " ASC"; in getSortBy()
263 return column + " DESC"; in getSortBy()
265 return column; in getSortBy()
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java170 public Drawable getBackgroundForPage(final int row, final int column) { in getBackgroundForPage() argument
171 return mPageBackgrounds.get(new Point(column, row)); in getBackgroundForPage()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java302 public Fragment getFragment(int row, int column) { in getFragment() argument
303 return mFragments.get(column); in getFragment()
/development/vndk/tools/sourcedr/sourcedr/blueprint/
Dblueprint.py124 self.line, self.column = Lexer.compute_line_column(buf, pos)
130 self.line, self.column, self.message)
562 self.line, self.column = \
569 self.line, self.column, self.message)
/development/vndk/tools/sourcedr/sourcedr/
Dninja.py265 def __init__(self, path, line, column, reason=None): argument
268 self.column = column
273 s = 'ParseError: {}:{}:{}'.format(self.path, self.line, self.column)