Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragmentTest.java161 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testDisableNone() local
171 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testDisableSystemInfo_systemAnimationIdle_doesHide() local
189 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testSystemStatusAnimation_startedDisabled_finishedWithAnimator_showsSystemInfo() local
218 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testSystemStatusAnimation_systemInfoDisabled_staysInvisible() local
235 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testSystemStatusAnimation_notDisabled_animatesAlphaZero() local
250 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testSystemStatusAnimation_notDisabled_animatesBackToAlphaOne() local
272 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testDisableNotifications() local
289 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in testDisableClock() local
306 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in disable_shadeOpenAndShouldHide_everythingHidden() local
322 CollapsedStatusBarFragment fragment = resumeAndGetFragment(); in disable_shadeOpenButNotShouldHide_everythingShown() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/fragment/src/main/java/org/robolectric/shadows/androidx/fragment/
DFragmentController.java37 private FragmentController(F fragment, Class<? extends FragmentActivity> activityClass) { in FragmentController()
42 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in FragmentController()
47 F fragment, Class<? extends FragmentActivity> activityClass, Bundle arguments) { in FragmentController()
52 F fragment, in FragmentController()
71 public static <F extends Fragment> FragmentController<F> of(F fragment) { in of()
82 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of()
93 public static <F extends Fragment> FragmentController<F> of(F fragment, Bundle arguments) { in of()
105 F fragment, Class<? extends FragmentActivity> activityClass) { in of()
118 F fragment, Intent intent, Bundle arguments) { in of()
132 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in of()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java53 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testCreateLifecycle() local
65 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testResumeLifecycle() local
77 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testStartLifecycle() local
89 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testStopLifecycle() local
103 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testPauseLifecycle() local
117 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testDestroyLifecycle() local
/frameworks/base/core/java/android/app/
DFragmentTransaction.java33 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
38 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
55 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
61 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
79 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
90 public abstract FragmentTransaction remove(Fragment fragment); in remove()
101 public abstract FragmentTransaction hide(Fragment fragment); in hide()
112 public abstract FragmentTransaction show(Fragment fragment); in show()
125 public abstract FragmentTransaction detach(Fragment fragment); in detach()
137 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 …]
DFragmentHostCallback.java108 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
146 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, in onStartActivityFromFragment()
160 public void onStartActivityAsUserFromFragment(Fragment fragment, Intent intent, int requestCode, in onStartActivityAsUserFromFragment()
173 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
188 public void onRequestPermissionsFromFragment(@NonNull Fragment fragment, in onRequestPermissionsFromFragment()
211 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
DFragmentManager.java317 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); in putFragment()
928 public void putFragment(Bundle bundle, String key, Fragment fragment) { in putFragment()
961 public Fragment.SavedState saveFragmentInstanceState(Fragment fragment) { in saveFragmentInstanceState()
1105 Animator loadAnimator(Fragment fragment, int transit, boolean enter, in loadAnimator()
1399 final Fragment fragment = f; in moveToState() local
1512 void completeShowHideFragment(final Fragment fragment) { in completeShowHideFragment()
1709 public void addFragment(Fragment fragment, boolean moveToStateNow) { in addFragment()
1733 public void removeFragment(Fragment fragment) { in removeFragment()
1762 public void hideFragment(Fragment fragment) { in hideFragment()
1778 public void showFragment(Fragment fragment) { in showFragment()
[all …]
/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/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManagerCompat.java54 public InputMethodAndSubtypeEnablerManagerCompat(PreferenceFragmentCompat fragment) { in InputMethodAndSubtypeEnablerManagerCompat()
61 public void init(PreferenceFragmentCompat fragment, String targetImi, PreferenceScreen root) { in init()
73 public void refresh(Context context, PreferenceFragmentCompat fragment) { in refresh()
83 public void save(Context context, PreferenceFragmentCompat fragment) { in save()
118 private void addInputMethodSubtypePreferences(PreferenceFragmentCompat fragment, in addInputMethodSubtypePreferences()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java82 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() local
93 mCurTransaction.add(container.getId(), fragment, in instantiateItem() local
111 Fragment fragment = (Fragment) object; in destroyItem() local
126 Fragment fragment = (Fragment) object; in setPrimaryItem() local
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseCompatActivityTest.java193 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsAllowed() local
213 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsNotAllowed() local
233 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsAllowed() local
253 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsNotAllowed() local
279 Fragment fragment = new Fragment(); in testPopBackStackImmediateWithFragmentInStack() local
291 Fragment fragment = new Fragment(); in testGetContentFragment() local
/frameworks/base/packages/SettingsLib/SettingsTransition/src/com/android/settingslib/transition/
DSettingsTransitionHelper.java69 public static void applyForwardTransition(Fragment fragment) {} in applyForwardTransition()
89 public static void applyBackwardTransition(Fragment fragment) {} in applyBackwardTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java78 final PreferenceFragment fragment = showDemoMode in onCreate() local
112 Fragment fragment = (Fragment) cls.newInstance(); in onPreferenceStartFragment() local
131 SubSettingsFragment fragment = new SubSettingsFragment(); in onPreferenceStartScreen() local
DCustomListPreference.java47 protected Dialog onDialogCreated(DialogFragment fragment, Dialog dialog) { in onDialogCreated()
67 protected void onDialogStateRestored(DialogFragment fragment, Dialog dialog, in onDialogStateRestored()
79 final ListPreferenceDialogFragment fragment = new CustomListPreferenceDialogFragment(); in newInstance() local
DRadioListPreference.java66 protected Dialog onDialogCreated(DialogFragment fragment, Dialog dialog) { in onDialogCreated()
86 protected void onDialogStateRestored(DialogFragment fragment, Dialog dialog, in onDialogStateRestored()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java160 private void onFragmentViewCreated(Fragment fragment) { in onFragmentViewCreated()
169 private void onFragmentViewDestroyed(Fragment fragment) { in onFragmentViewDestroyed()
221 void onFragmentViewCreated(String tag, Fragment fragment); in onFragmentViewCreated()
225 default void onFragmentViewDestroyed(String tag, Fragment fragment) { in onFragmentViewDestroyed()
259 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
284 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvCompatListActivity.java57 RecyclerViewFragment fragment = new RecyclerViewFragment(); in onCreate() local
65 private void initializeRecyclerViewFragment(RecyclerViewFragment fragment) { in initializeRecyclerViewFragment()
/frameworks/base/packages/SettingsLib/tests/robotests/fragment/src/test/java/org/robolectric/shadows/androidx/fragment/
DFragmentControllerTest.java229 TranscriptFragment fragment = FragmentController.setupFragment(new TranscriptFragment()); in setupFragmentWithFragment_fragmentHasCorrectLifecycle() local
239 TranscriptFragment fragment = in setupFragmentWithFragmentAndActivity_fragmentHasCorrectLifecycle() local
251 TranscriptFragment fragment = in setupFragmentWithFragmentAndActivityAndBundle_HasCorrectLifecycle() local
265 TranscriptFragment fragment = in setupFragmentWithFragment_Activity_ContainViewIdAndBundle_HasCorrectLifecycle() local
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseSetupWizardActivity.java177 protected void setContentFragmentWithBackstack(Fragment fragment) { in setContentFragmentWithBackstack()
181 .replace(getFragmentContainerViewId(), fragment, CONTENT_FRAGMENT_TAG) in setContentFragmentWithBackstack() local
201 protected void setContentFragment(Fragment fragment) { in setContentFragment()
210 .replace(getFragmentContainerViewId(), fragment, CONTENT_FRAGMENT_TAG) in setContentFragment() local
237 protected void onContentFragmentSet(Fragment fragment) { in onContentFragmentSet()
DBaseActivity.java162 protected void setContentFragmentWithBackstack(Fragment fragment) { in setContentFragmentWithBackstack()
185 protected void setContentFragment(Fragment fragment) { in setContentFragment()
220 protected void onContentFragmentSet(Fragment fragment) { in onContentFragmentSet()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java186 final TestDialogFragment fragment = new TestDialogFragment(); in runThroughDialogFragmentLifecycles_shouldObserveEverything() local
210 final TestFragment fragment = new TestFragment(); in runThroughFragmentLifecycles_shouldObserveEverything() local
250 final TestFragment fragment = new TestFragment(); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem() local
/frameworks/base/packages/SettingsLib/ProfileSelector/src/com/android/settingslib/widget/
DProfileViewPagerAdapter.java29 ProfileViewPagerAdapter(ProfileSelectFragment fragment) { in ProfileViewPagerAdapter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreference.java98 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
105 final CustomPreferenceDialogFragment fragment = new CustomPreferenceDialogFragment(); in newInstance() local
DCustomEditTextPreferenceCompat.java92 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
100 final CustomPreferenceDialogFragment fragment = new CustomPreferenceDialogFragment(); in newInstance() local
/frameworks/base/core/java/android/net/
DUri.java705 private Part fragment; field in Uri.StringUri
855 String fragment) { in fromParts()
877 private final Part fragment; field in Uri.OpaqueUri
879 private OpaqueUri(String scheme, Part ssp, Part fragment) { in OpaqueUri()
1193 private final Part fragment; field in Uri.HierarchicalUri
1196 Part query, Part fragment) { in HierarchicalUri()
1377 private Part fragment; field in Uri.Builder
1510 Builder fragment(Part fragment) { in fragment() method in Uri.Builder
1518 public Builder fragment(String fragment) { in fragment() argument
1525 public Builder encodedFragment(String fragment) { in encodedFragment()

123