Home
last modified time | relevance | path

Searched refs:CATEGORIES (Results 1 – 2 of 2) sorted by relevance

/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsSource.java29 final String[] CATEGORIES = { "Top Stories", "US", "Politics", "Economy" }; field in NewsSource
44 mCategory = new NewsCategory[CATEGORIES.length]; in NewsSource()
45 for (i = 0; i < CATEGORIES.length; i++) { in NewsSource()
52 return CATEGORIES; in getCategories()
DNewsReaderActivity.java71 final String CATEGORIES[] = { "Top Stories", "Politics", "Economy", "Technology" }; field in NewsReaderActivity
145 for (i = 0; i < CATEGORIES.length; i++) { in setUpActionBar()
146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); in setUpActionBar()
153 CATEGORIES); in setUpActionBar()
185 catButton.setText(CATEGORIES[mCatIndex]); in setNewsCategory()
244 builder.setItems(CATEGORIES, new DialogInterface.OnClickListener() { in onClick()