/developers/build/prebuilts/gradle/CardView/Application/tests/src/com/example/android/cardview/ |
D | SampleTests.java | 26 private CardViewFragment mFragment; field in SampleTests 36 mFragment = (CardViewFragment) mActivity.getFragmentManager().findFragmentById(R.id in setUp() 44 mFragment); in testPreconditions() 45 assertNotNull("SeekBar for Radius is null", mFragment.mRadiusSeekBar); in testPreconditions() 46 assertNotNull("SeekBar for Elevation is null", mFragment.mElevationSeekBar); in testPreconditions() 54 mFragment.mRadiusSeekBar.setProgress((int) radius); in testRadiusSeekbarChangesRadiusOfCardView() 55 assertEquals(radius, mFragment.mCardView.getRadius()); in testRadiusSeekbarChangesRadiusOfCardView() 65 mFragment.mElevationSeekBar.setProgress((int) elevation); in testElevationSeekbarChangesElevationOfCardView() 66 assertEquals(elevation, mFragment.mCardView.getElevation()); in testElevationSeekbarChangesElevationOfCardView()
|
/developers/samples/android/ui/views/CardView/Application/tests/src/com/example/android/cardview/ |
D | SampleTests.java | 26 private CardViewFragment mFragment; field in SampleTests 36 mFragment = (CardViewFragment) mActivity.getFragmentManager().findFragmentById(R.id in setUp() 44 mFragment); in testPreconditions() 45 assertNotNull("SeekBar for Radius is null", mFragment.mRadiusSeekBar); in testPreconditions() 46 assertNotNull("SeekBar for Elevation is null", mFragment.mElevationSeekBar); in testPreconditions() 54 mFragment.mRadiusSeekBar.setProgress((int) radius); in testRadiusSeekbarChangesRadiusOfCardView() 55 assertEquals(radius, mFragment.mCardView.getRadius()); in testRadiusSeekbarChangesRadiusOfCardView() 65 mFragment.mElevationSeekBar.setProgress((int) elevation); in testElevationSeekbarChangesElevationOfCardView() 66 assertEquals(elevation, mFragment.mCardView.getElevation()); in testElevationSeekbarChangesElevationOfCardView()
|
/developers/samples/android/notification/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/ |
D | ActiveNotificationsActivity.java | 28 private ActiveNotificationsFragment mFragment; field in ActiveNotificationsActivity 36 if (mFragment == null) { 39 mFragment.updateNumberOfNotifications(); 47 mFragment.updateNumberOfNotifications(); in onCreate() 51 mFragment = (ActiveNotificationsFragment) getSupportFragmentManager() in findFragment()
|
/developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/ |
D | ActiveNotificationsActivity.java | 28 private ActiveNotificationsFragment mFragment; field in ActiveNotificationsActivity 36 if (mFragment == null) { 39 mFragment.updateNumberOfNotifications(); 47 mFragment.updateNumberOfNotifications(); in onCreate() 51 mFragment = (ActiveNotificationsFragment) getSupportFragmentManager() in findFragment()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
D | SearchActivity.java | 40 private SearchFragment mFragment; field in SearchActivity 48 mFragment = (SearchFragment) getFragmentManager().findFragmentById(R.id.search_fragment); in onCreate() 54 startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH); in onCreate() 57 mFragment.setSpeechRecognitionCallback(mSpeechRecognitionCallback); in onCreate() 66 mFragment.setSearchQuery(data, true); in onActivityResult()
|
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/tests/src/com/example/android/pdfrendererbasic/tests/ |
D | PdfRendererBasicFragmentTests.java | 36 private PdfRendererBasicFragment mFragment; field in PdfRendererBasicFragmentTests 49 mFragment = (PdfRendererBasicFragment) mActivity.getFragmentManager() in setUp() 57 mFragment.getPageCount()); in testActivityTitle() 82 int pageCount = mFragment.getPageCount(); in testButtons_nextDisabledLastPage() 100 int pageCount = mFragment.getPageCount(); in testOrientationChangePreserveState() 113 View view = mFragment.getView(); in setUpButtons()
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | MainActivity.java | 62 @Inject FingerprintAuthenticationDialogFragment mFragment; field in MainActivity 107 mFragment.setCryptoObject(new FingerprintManager.CryptoObject(mSignature)); in onCreate() 112 mFragment.setStage( in onCreate() 115 mFragment.setStage( in onCreate() 118 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 124 mFragment.setStage( in onCreate() 126 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate()
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | MainActivity.java | 62 @Inject FingerprintAuthenticationDialogFragment mFragment; field in MainActivity 107 mFragment.setCryptoObject(new FingerprintManager.CryptoObject(mSignature)); in onCreate() 112 mFragment.setStage( in onCreate() 115 mFragment.setStage( in onCreate() 118 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate() 124 mFragment.setStage( in onCreate() 126 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate()
|