Home
last modified time | relevance | path

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

/development/tools/repo_diff/service/repodiff/interactors/
Dapplication.go26 for i, row := range commitRows {
28 CommitRow: row,
30 row.DownstreamProject,
40 for i, row := range diffRows {
42 DiffRow: row,
44 row.DownstreamProject,
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java76 protected Drawable create(final Integer row) {
77 int resid = BG_IMAGES[row % BG_IMAGES.length];
85 mRowBackgrounds.put(row, background);
86 notifyRowBackgroundChanged(row);
159 public Fragment getFragment(int row, int col) { in getFragment() argument
160 Row adapterRow = mRows.get(row); in getFragment()
165 public Drawable getBackgroundForRow(final int row) { in getBackgroundForRow() argument
166 return mRowBackgrounds.get(row); in getBackgroundForRow()
170 public Drawable getBackgroundForPage(final int row, final int column) { in getBackgroundForPage() argument
171 return mPageBackgrounds.get(new Point(column, row)); in getBackgroundForPage()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DTableLayout8.java55 TableRow row = new TableRow(this); in appendRow() local
66 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
67 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
69 table.addView(row, new TableLayout.LayoutParams()); in appendRow()
DTableLayout7.java64 TableRow row = new TableRow(this); in appendRow() local
75 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
76 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
78 table.addView(row, new TableLayout.LayoutParams()); in appendRow()
DInternalSelectionView.java183 public void getRectForRow(Rect rect, int row) { in getRectForRow() argument
185 final int top = getPaddingTop() + row * rowHeight; in getRectForRow()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java122 final MatrixCursor.RowBuilder row = result.newRow(); in queryRoots() local
124 row.add(Root.COLUMN_ROOT_ID, ROOT); in queryRoots()
125 row.add(Root.COLUMN_SUMMARY, getContext().getString(R.string.root_summary)); in queryRoots()
131 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_CREATE | in queryRoots()
136 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.app_name)); in queryRoots()
140 row.add(Root.COLUMN_DOCUMENT_ID, getDocIdForFile(mBaseDir)); in queryRoots()
144 row.add(Root.COLUMN_MIME_TYPES, getChildMimeTypes(mBaseDir)); in queryRoots()
145 row.add(Root.COLUMN_AVAILABLE_BYTES, mBaseDir.getFreeSpace()); in queryRoots()
146 row.add(Root.COLUMN_ICON, R.drawable.ic_launcher); in queryRoots()
508 final MatrixCursor.RowBuilder row = result.newRow();
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DUnicodeChart.java67 for (int row = 0; row < 16; row++) { in SampleView()
69 pos[index++] = row * YMUL + YBASE; in SampleView()
/development/tools/repo_diff/service/repodiff/tools/
Dtech_area_csv_to_hashes.py32 for row in list(reader)[1:]:
33 email_address, tech_area = row
/development/tools/repo_diff/service/repodiff/controllers/
Dregression_test.go16 for i, row := range commitRows {
18 CommitRow: row,
Ddenormalize.go144 for i, row := range commitRows {
145 hashes[i] = row.Commit
/development/tools/repo_diff/service/repodiff/repositories/
Dsource.go65 func(row *sql.Rows) {
67 row.Scan(id)
97 func(row *sql.Rows) {
98 row.Scan(&url, &branch)
Dcommit.go110 func(row *sql.Rows) {
114 commitCursor, err = mappers.SQLRowToCommitRow(row)
163 func(row *sql.Rows) {
167 return row.Scan(
Dproject.go90 func(row *sql.Rows) {
94 d, err := mappers.SQLRowToDiffRow(row)
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java206 final RowBuilder row = result.newRow(); in queryRoots() local
207 row.add(Root.COLUMN_ROOT_ID, DEFAULT_ROOT_ID); in queryRoots()
208 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY in queryRoots()
210 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.app_label)); in queryRoots()
211 row.add(Root.COLUMN_DOCUMENT_ID, DEFAULT_DOCUMENT_ID); in queryRoots()
212 row.add(Root.COLUMN_ICON, R.drawable.ic_lock_lock); in queryRoots()
216 row.add(Root.COLUMN_SUMMARY, getContext().getString(R.string.info_software)); in queryRoots()
250 final RowBuilder row = result.newRow(); in includeDocument() local
251 row.add(Document.COLUMN_DOCUMENT_ID, meta.optLong(Document.COLUMN_DOCUMENT_ID)); in includeDocument()
252 row.add(Document.COLUMN_DISPLAY_NAME, meta.optString(Document.COLUMN_DISPLAY_NAME)); in includeDocument()
[all …]
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java192 int row = -1; in checkGameFinished() local
198 row = j; in checkGameFinished()
221 if (col != -1 || row != -1 || diag != -1) { in checkGameFinished()
222 setFinished(player, col, row, diag); in checkGameFinished()
234 private void setFinished(State player, int col, int row, int diagonal) { in setFinished() argument
239 mGameView.setFinished(col, row, diagonal); in setFinished()
DGameView.java194 public void setFinished(int col, int row, int diagonal) { in setFinished() argument
196 mWinRow = row; in setFinished()
/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
102 final Attraction attraction = mAttractions.get(row); in instantiateItem()
183 public Drawable getBackgroundForPage(int row, int column) { in getBackgroundForPage() argument
187 if (mAttractions.size() > 0 && mAttractions.get(row).image != null) { in getBackgroundForPage()
188 return new BitmapDrawable(mContext.getResources(), mAttractions.get(row).image); 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
209 public void onPageSelected(int row, int col) {} in onPageSelected() argument
/development/samples/ApiDemos/src/com/example/android/apis/media/
DAudioFxDemo.java121 LinearLayout row = new LinearLayout(this); in setupEqualizerFxAndUI() local
122 row.setOrientation(LinearLayout.HORIZONTAL); in setupEqualizerFxAndUI()
155 row.addView(minDbTextView); in setupEqualizerFxAndUI()
156 row.addView(bar); in setupEqualizerFxAndUI()
157 row.addView(maxDbTextView); in setupEqualizerFxAndUI()
159 mLinearLayout.addView(row); in setupEqualizerFxAndUI()
/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/vndk/tools/definition-tool/tools/
Dupdate_dataset.py74 for path, row in data.items():
76 result[path] = row
112 for path, row in data.items():
114 row[1] = 'FWK-ONLY'
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go276 for i, row := range rowsOfCols {
279 row...,
293 for i, row := range rowsOfCols {
295 row,
/development/tools/repo_pull/
Dgerrit.py97 row = line.split('\t')
98 if len(row) != 7:
101 domain = row[0]
102 cookie = row[6]
/development/samples/Spinner/src/com/android/example/spinner/
DSpinnerActivity.java190 public void onItemSelected(AdapterView<?> parent, View v, int pos, long row) { in onItemSelected() argument
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java297 public int getColumnCount(int row) { in getColumnCount() argument
302 public Fragment getFragment(int row, int column) { in getFragment() argument