Home
last modified time | relevance | path

Searched defs:fragment (Results 1 – 25 of 150) sorted by relevance

123456

/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentAnimatorTest.java78 final AnimatorFragment fragment = new AnimatorFragment(); in addAnimators() local
96 final AnimatorFragment fragment = new AnimatorFragment(); in removeAnimators() local
121 final AnimatorFragment fragment = new AnimatorFragment(); in showAnimatorsReordered() local
164 final AnimatorFragment fragment = new AnimatorFragment(); in showAnimatorsOrdered() local
211 final AnimatorFragment fragment = new AnimatorFragment(); in hideAnimators() local
235 final AnimatorFragment fragment = new AnimatorFragment(); in attachAnimators() local
260 final AnimatorFragment fragment = new AnimatorFragment(); in detachAnimators() local
324 final AnimatorFragment fragment = new AnimatorFragment(); in postponedAddAnimators() local
348 final AnimatorFragment fragment = new AnimatorFragment(); in postponedRemoveAnimators() local
499 private void assertEnterPopExit(AnimatorFragment fragment) throws Throwable { in assertEnterPopExit()
[all …]
DFragmentAnimationTest.java76 final AnimatorFragment fragment = new AnimatorFragment(); in addAnimators() local
93 final AnimatorFragment fragment = new AnimatorFragment(); in removeAnimators() local
113 final AnimatorFragment fragment = new AnimatorFragment(); in showAnimators() local
133 final AnimatorFragment fragment = new AnimatorFragment(); in hideAnimators() local
153 final AnimatorFragment fragment = new AnimatorFragment(); in attachAnimators() local
173 final AnimatorFragment fragment = new AnimatorFragment(); in detachAnimators() local
231 final AnimatorFragment fragment = new AnimatorFragment(); in postponedAddAnimators() local
254 final AnimatorFragment fragment = new AnimatorFragment(); in postponedRemoveAnimators() local
445 private void assertEnterPopExit(AnimatorFragment fragment) throws Throwable { in assertEnterPopExit()
455 private void assertExitPopEnter(AnimatorFragment fragment) throws Throwable { in assertExitPopEnter()
[all …]
DFragmentTransactionTest.java91 final Fragment fragment = new CorrectFragment(); in testAddTransactionWithValidFragment() local
109 final Fragment fragment = new PrivateFragment(); in testAddTransactionWithPrivateFragment() local
134 final Fragment fragment = new PackagePrivateFragment(); in testAddTransactionWithPackagePrivateFragment() local
159 final Fragment fragment = new Fragment() {}; in testAddTransactionWithAnonymousFragment() local
232 final Fragment fragment = new NonStaticFragment(); in testAddTransactionWithNonStaticFragment() local
314 Fragment fragment = new CorrectFragment(); in getFragmentsOffThread() local
DFragmentViewTests.java300 final StrictViewFragment fragment = new StrictViewFragment(); in addRemoveAdd() local
320 final StrictViewFragment fragment = new StrictViewFragment(); in removeNothThere() local
332 final StrictViewFragment fragment = new StrictViewFragment(); in hideFragment() local
359 final StrictViewFragment fragment = new StrictViewFragment(); in doubleHide() local
373 final StrictViewFragment fragment = new StrictViewFragment(); in hideUnAdded() local
388 final StrictViewFragment fragment = new StrictViewFragment(); in showFragment() local
416 final StrictViewFragment fragment = new StrictViewFragment(); in showShown() local
429 final StrictViewFragment fragment = new StrictViewFragment(); in showUnAdded() local
444 final StrictViewFragment fragment = new StrictViewFragment(); in detachFragment() local
474 final StrictViewFragment fragment = new StrictViewFragment(); in detachHiddenFragment() local
[all …]
/frameworks/base/core/java/android/app/
DFragmentTransaction.java29 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
34 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
51 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
57 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
75 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
86 public abstract FragmentTransaction remove(Fragment fragment); in remove()
97 public abstract FragmentTransaction hide(Fragment fragment); in hide()
108 public abstract FragmentTransaction show(Fragment fragment); in show()
121 public abstract FragmentTransaction detach(Fragment fragment); in detach()
133 public abstract FragmentTransaction attach(Fragment fragment); in attach()
[all …]
DBackStackRecord.java192 Fragment fragment; field in BackStackRecord.Op
201 Op(int cmd, Fragment fragment) { in Op()
408 public FragmentTransaction add(Fragment fragment, String tag) { in add()
413 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
418 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
423 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
461 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
465 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
474 public FragmentTransaction remove(Fragment fragment) { in remove()
480 public FragmentTransaction hide(Fragment fragment) { in hide()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransaction.java46 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
51 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
68 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
74 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
92 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
103 public abstract FragmentTransaction remove(Fragment fragment); in remove()
114 public abstract FragmentTransaction hide(Fragment fragment); in hide()
125 public abstract FragmentTransaction show(Fragment fragment); in show()
138 public abstract FragmentTransaction detach(Fragment fragment); in detach()
150 public abstract FragmentTransaction attach(Fragment fragment); in attach()
[all …]
DBackStackRecord.java194 Fragment fragment; field in BackStackRecord.Op
203 Op(int cmd, Fragment fragment) { in Op()
376 public FragmentTransaction add(Fragment fragment, String tag) { in add()
382 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
388 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
393 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
431 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
436 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
446 public FragmentTransaction remove(Fragment fragment) { in remove()
453 public FragmentTransaction hide(Fragment fragment) { in hide()
[all …]
DFragmentActivity.java683 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
771 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
779 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
799 public void startIntentSenderFromFragment(Fragment fragment, IntentSender intent, in startIntentSenderFromFragment()
820 private int allocateRequestIndex(Fragment fragment) { in allocateRequestIndex()
843 void requestPermissionsFromFragment(Fragment fragment, String[] permissions, in requestPermissionsFromFragment()
871 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
891 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
897 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
902 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
[all …]
DFragmentStatePagerAdapter.java109 Fragment fragment = getItem(position); in instantiateItem() local
123 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local
130 Fragment fragment = (Fragment) object; in destroyItem() local
150 Fragment fragment = (Fragment)object; in setPrimaryItem() local
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsActivity.java42 DetailsFragment fragment = new DetailsFragment(); in onCreate() local
48 NewDetailsFragment fragment = new NewDetailsFragment(); in onCreate() local
57 DetailsFragment fragment = (DetailsFragment) getFragmentManager() in onCreate() local
61 NewDetailsFragment fragment = (NewDetailsFragment) getFragmentManager() in onCreate() local
DDetailsSupportActivity.java45 DetailsSupportFragment fragment = new DetailsSupportFragment(); in onCreate() local
51 NewDetailsSupportFragment fragment = new NewDetailsSupportFragment(); in onCreate() local
60 … DetailsSupportFragment fragment = (DetailsSupportFragment) getSupportFragmentManager() in onCreate() local
64 … NewDetailsSupportFragment fragment = (NewDetailsSupportFragment) getSupportFragmentManager() in onCreate() local
/frameworks/support/v13/java/android/support/v13/app/
DFragmentCompat.java36 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); in requestPermissions()
37 boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission); in shouldShowRequestPermissionRationale()
45 public void requestPermissions(final Fragment fragment, final String[] permissions, in requestPermissions()
73 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
89 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { in requestPermissions()
94 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
213 public static void requestPermissions(@NonNull Fragment fragment, in requestPermissions()
239 public static boolean shouldShowRequestPermissionRationale(@NonNull Fragment fragment, in shouldShowRequestPermissionRationale()
DFragmentStatePagerAdapter.java113 Fragment fragment = getItem(position); in instantiateItem() local
127 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local
134 Fragment fragment = (Fragment) object; in destroyItem() local
154 Fragment fragment = (Fragment)object; in setPrimaryItem() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java71 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNone() local
84 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableSystemInfo() local
102 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNotifications() local
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPlaybackSupportFragmentTest.java68 …final PlaybackTestSupportFragment fragment = (PlaybackTestSupportFragment) activity.getTestFragmen… in testDetachCalledWhenDestroyFragment() local
89 … PlaybackTestSupportFragment fragment = (PlaybackTestSupportFragment) activity.getTestFragment(); in testSelectedListener() local
157 … PlaybackTestSupportFragment fragment = (PlaybackTestSupportFragment) activity.getTestFragment(); in testClickedListener() local
240 …final PlaybackTestSupportFragment fragment = (PlaybackTestSupportFragment) activity.getTestFragmen… in alignmentRowToBottom() local
291 final PurePlaybackSupportFragment fragment = (PurePlaybackSupportFragment) in setupRowAndPresenterWithoutGlue() local
363 final ControlGlueFragment fragment = (ControlGlueFragment) in setupWithControlGlue() local
DPlaybackFragmentTest.java65 final PlaybackTestFragment fragment = (PlaybackTestFragment) activity.getTestFragment(); in testDetachCalledWhenDestroyFragment() local
86 PlaybackTestFragment fragment = (PlaybackTestFragment) activity.getTestFragment(); in testSelectedListener() local
154 PlaybackTestFragment fragment = (PlaybackTestFragment) activity.getTestFragment(); in testClickedListener() local
237 final PlaybackTestFragment fragment = (PlaybackTestFragment) activity.getTestFragment(); in alignmentRowToBottom() local
288 final PurePlaybackFragment fragment = (PurePlaybackFragment) in setupRowAndPresenterWithoutGlue() local
360 final ControlGlueFragment fragment = (ControlGlueFragment) in setupWithControlGlue() local
DPlaybackOverlayFragmentTest.java42 PlaybackOverlayTestFragment fragment = (PlaybackOverlayTestFragment) in workaroundVideoViewStealFocus() local
56 final PlaybackOverlayTestFragment fragment = (PlaybackOverlayTestFragment) in alignmentRowToBottom() local
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
DWizardExample2ndStepFragment.java52 GuidedStepFragment fragment = new WizardExample2ndStepFragment(); in build() local
137 GuidedStepFragment fragment = new WizardNewPaymentStepFragment(); in onSubGuidedActionClicked() local
147 GuidedStepFragment fragment = new WizardExample3rdStepFragment(); in onGuidedActionClicked() local
149 add(getFragmentManager(), fragment); in onGuidedActionClicked() local
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewCallbacks.java82 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, in onFragmentPhotoLoadComplete()
87 public boolean isFragmentActive(Fragment fragment); in isFragmentActive()
89 public void onFragmentVisible(PhotoViewFragment fragment); in onFragmentVisible()
91 public boolean isFragmentFullScreen(Fragment fragment); in isFragmentFullScreen()
93 public void onCursorChanged(PhotoViewFragment fragment, Cursor cursor); in onCursorChanged()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DFragmentUtil.java26 private static Context getContextNew(Fragment fragment) { in getContextNew()
30 public static Context getContext(Fragment fragment) { in getContext()
DPermissionHelper.java27 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions()
34 public static void requestPermissions(android.support.v4.app.Fragment fragment, in requestPermissions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java130 private void onFragmentViewCreated(Fragment fragment) { in onFragmentViewCreated()
139 private void onFragmentViewDestroyed(Fragment fragment) { in onFragmentViewDestroyed()
187 void onFragmentViewCreated(String tag, Fragment fragment); in onFragmentViewCreated()
191 default void onFragmentViewDestroyed(String tag, Fragment fragment) { in onFragmentViewDestroyed()
225 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
250 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
269 Fragment fragment = getFragmentManager().findFragmentByTag(tag); in removePlugin() local
279 Fragment fragment = getFragmentManager().findFragmentByTag(tag); in setCurrentPlugin() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java52 public InputMethodAndSubtypeEnablerManager(PreferenceFragment fragment) { in InputMethodAndSubtypeEnablerManager()
59 public void init(PreferenceFragment fragment, String targetImi, PreferenceScreen root) { in init()
71 public void refresh(Context context, PreferenceFragment fragment) { in refresh()
81 public void save(Context context, PreferenceFragment fragment) { in save()
116 private void addInputMethodSubtypePreferences(PreferenceFragment fragment, InputMethodInfo imi, in addInputMethodSubtypePreferences()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DDialogFragmentUsage.java69 MenuDialogFragment fragment = MenuDialogFragment.create(R.layout.dialog_content); in showSimpleDialog() local
74 MenuDialogFragment fragment = MenuDialogFragment.create(R.layout.dialog_content_buttons); in showButtonBarDialog() local
90 MenuDialogFragment fragment = new MenuDialogFragment(); in create() local

123456