Home
last modified time | relevance | path

Searched refs:getCount (Results 1 – 25 of 90) sorted by relevance

1234

/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java372 assertEquals(1,noteIdCursor.getCount()); in testWriteDataToPipe()
455 assertEquals(0, cursor.getCount()); in testQueriesOnNotesUri()
474 assertEquals(TEST_NOTES.length, cursor.getCount()); in testQueriesOnNotesUri()
508 assertEquals(SELECTION_ARGS.length, projectionCursor.getCount()); in testQueriesOnNotesUri()
566 assertEquals(0,cursor.getCount()); in testQueriesOnNoteIdUri()
585 assertEquals(1, cursor.getCount()); in testQueriesOnNoteIdUri()
606 assertEquals(1, cursor.getCount()); in testQueriesOnNoteIdUri()
651 assertEquals(1, cursor.getCount()); in testInserts()
740 assertEquals(0, cursor.getCount()); in testDeletes()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlideActivity.java90 (mPager.getCurrentItem() == mPagerAdapter.getCount() - 1) in onCreateOptionsMenu()
137 public int getCount() { in getCount() method in ScreenSlideActivity.ScreenSlidePagerAdapter
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java67 public int getCount() { in getCount() method in StackRemoteViewsFactory
68 return mCursor.getCount(); in getCount()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DStepAdapter.java74 if (position == getCount() - 1) { in instantiateItem()
97 public int getCount() { in getCount() method in StepAdapter
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelpers.java166 if (cursor.getCount() != 1) { in findVoicemailBySourceData()
168 cursor.getCount()); in findVoicemailBySourceData()
183 if (cursor.getCount() != 1) { in findVoicemailByUri()
184 logger.w("Expected 1 voicemail matching uri " + uri + ", got " + cursor.getCount()); in findVoicemailByUri()
238 List<Voicemail> results = new ArrayList<Voicemail>(cursor.getCount()); in getAllVoicemails()
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DPagerAdapter.java44 public int getCount() { in getCount() method in PagerAdapter
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneService.java78 if (result.getCount() == 1) { in onHandleIntent()
84 + "\tActual: " + result.getCount()); in onHandleIntent()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java84 for (int i = 0; i < mSectionsPagerAdapter.getCount(); i++) { in onCreate()
166 public int getCount() { in getCount() method in MainActivity.SectionsPagerAdapter
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DMainActivity.java43 public int getCount() { in getCount() method in MainActivity.MyAdapter
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java82 for (int i = 0; i < mAppSectionsPagerAdapter.getCount(); i++) { in onCreate()
136 public int getCount() { in getCount() method in MainActivity.AppSectionsPagerAdapter
/development/apps/Development/src/com/android/development/
DAppHwConfigList.java50 if (mAdapter.getCount() <= 0) { in onCreate()
110 public int getCount() { in getCount() method in AppHwConfigList.AppListAdapter
DRunningProcesses.java47 if (mAdapter.getCount() <= 0) { in onCreate()
101 public int getCount() { in getCount() method in RunningProcesses.AppListAdapter
DArrayAdapter.java50 public int getCount() { in getCount() method in ArrayAdapter
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList5.java48 public int getCount() { in getCount() method in List5.MyListAdapter
DLayoutAnimation5.java68 public final int getCount() { in getCount() method in LayoutAnimation5.AppsAdapter
DGrid1.java82 public final int getCount() { in getCount() method in Grid1.AppsAdapter
DLayoutAnimation4.java69 public final int getCount() { in getCount() method in LayoutAnimation4.AppsAdapter
DLayoutAnimation6.java68 public final int getCount() { in getCount() method in LayoutAnimation6.AppsAdapter
DLayoutAnimation1.java68 public final int getCount() { in getCount() method in LayoutAnimation1.AppsAdapter
DList4.java61 public int getCount() { in getCount() method in List4.SpeechListAdapter
DList14.java66 public int getCount() { in getCount() method in List14.EfficientAdapter
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java71 public int getCount() { in getCount() method in LNotificationActivity.NotificationsPagerAdapter
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSelectContactActivity.java60 public int getCount() {
/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetService.java72 public int getCount() { in getCount() method in StackRemoteViewsFactory
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/
DSlidingTabsBasicFragment.java100 public int getCount() { in getCount() method in SlidingTabsBasicFragment.SamplePagerAdapter

1234