Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java88 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNone() local
102 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableSystemInfo() local
119 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNotifications() local
134 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableClock() local
149 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in disable_noOngoingCall_chipHidden() local
163 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in disable_hasOngoingCall_chipDisplayedAndNotificationIconsHidden() local
179 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in disable_hasOngoingCallButNotificationIconsDisabled_chipHidden() local
194 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in disable_ongoingCallEnded_chipHidden() local
217 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testOnDozingChanged() local
/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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseCompatActivityTest.java189 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsAllowed() local
208 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsNotAllowed() local
227 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsAllowed() local
246 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsNotAllowed() local
271 Fragment fragment = new Fragment(); in testPopBackStackImmediateWithFragmentInStack() local
283 Fragment fragment = new Fragment(); in testGetContentFragment() local
/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()
DInputMethodAndSubtypeEnablerManager.java53 public InputMethodAndSubtypeEnablerManager(PreferenceFragment fragment) { in InputMethodAndSubtypeEnablerManager()
60 public void init(PreferenceFragment fragment, String targetImi, PreferenceScreen root) { in init()
72 public void refresh(Context context, PreferenceFragment fragment) { in refresh()
82 public void save(Context context, PreferenceFragment fragment) { in save()
117 private void addInputMethodSubtypePreferences(PreferenceFragment fragment, InputMethodInfo imi, 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/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.java70 final PreferenceFragment fragment = showDemoMode in onCreate() local
104 Fragment fragment = (Fragment) cls.newInstance(); in onPreferenceStartFragment() local
123 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.java65 protected Dialog onDialogCreated(DialogFragment fragment, Dialog dialog) { in onDialogCreated()
85 protected void onDialogStateRestored(DialogFragment fragment, Dialog dialog, in onDialogStateRestored()
/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/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java134 private void onFragmentViewCreated(Fragment fragment) { in onFragmentViewCreated()
143 private void onFragmentViewDestroyed(Fragment fragment) { in onFragmentViewDestroyed()
195 void onFragmentViewCreated(String tag, Fragment fragment); in onFragmentViewCreated()
199 default void onFragmentViewDestroyed(String tag, Fragment fragment) { in onFragmentViewDestroyed()
244 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
269 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java183 final TestDialogFragment fragment = new TestDialogFragment(); in runThroughDialogFragmentLifecycles_shouldObserveEverything() local
206 final TestFragment fragment = new TestFragment(); in runThroughFragmentLifecycles_shouldObserveEverything() local
245 final TestFragment fragment = new TestFragment(); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DLongPressWifiEntryPreference.java32 public LongPressWifiEntryPreference(Context context, WifiEntry wifiEntry, Fragment fragment) { in LongPressWifiEntryPreference()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/listview/
DCompatListActivity.java35 Fragment fragment = fm.findFragmentById(containerViewId); in onCreate() local
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
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()
DBaseSetupWizardActivity.java177 protected void setContentFragmentWithBackstack(Fragment fragment) { in setContentFragmentWithBackstack()
200 protected void setContentFragment(Fragment fragment) { in setContentFragment()
235 protected void onContentFragmentSet(Fragment fragment) { in onContentFragmentSet()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreferenceCompat.java92 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
100 final CustomPreferenceDialogFragment fragment = new CustomPreferenceDialogFragment(); in newInstance() local
DCustomEditTextPreference.java98 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
105 final CustomPreferenceDialogFragment fragment = new CustomPreferenceDialogFragment(); in newInstance() local
DCustomDialogPreference.java82 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
93 final CustomPreferenceDialogFragment fragment = new CustomPreferenceDialogFragment(); in newInstance() local

123