Home
last modified time | relevance | path

Searched refs:getCategory (Results 1 – 7 of 7) sorted by relevance

/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsSource.java56 public NewsCategory getCategory(int categoryIndex) { in getCategory() method in NewsSource
DArticleActivity.java61 NewsArticle article = NewsSource.getInstance().getCategory(mCatIndex).getArticle(mArtIndex); in onCreate()
DHeadlinesFragment.java94 NewsCategory cat = NewsSource.getInstance().getCategory(categoryIndex); in loadCategory()
DNewsReaderActivity.java173 mCurrentCat = NewsSource.getInstance().getCategory(categoryIndex); in setNewsCategory()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java95 bar.addTab(bar.newTab().setText(Directory.getCategory(i).getName()) in onActivityCreated()
148 DirectoryCategory cat = Directory.getCategory(category); in populateTitles()
DDirectory.java48 public static DirectoryCategory getCategory(int i) { in getCategory() method in Directory
DContentFragment.java168 String title = Directory.getCategory(mCategory).getEntry(mCurPosition).getName(); in onActivityCreated()
292 mBitmap = Directory.getCategory(category).getEntry(position) in updateContentAndRecycleBitmap()