Home
last modified time | relevance | path

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

123

/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java85 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNone() local
100 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableSystemInfo() local
118 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNotifications() local
134 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableClock() local
150 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testOnDozingChanged() 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.java188 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsAllowed() local
207 Fragment fragment = new Fragment(); in testSetContentFragmentWhenFragmentCommitsNotAllowed() local
226 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsAllowed() local
245 Fragment fragment = new Fragment(); in testSetContentFragmentWithBackstackWhenFragmentCommitsNotAllowed() local
270 Fragment fragment = new Fragment(); in testPopBackStackImmediateWithFragmentInStack() local
282 Fragment fragment = new Fragment(); in testGetContentFragment() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
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()
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/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java60 final PreferenceFragment fragment = showDemoMode ? new DemoModeFragment() in onCreate() local
94 Fragment fragment = (Fragment) cls.newInstance(); in onPreferenceStartFragment() local
113 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/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java135 private void onFragmentViewCreated(Fragment fragment) { in onFragmentViewCreated()
144 private void onFragmentViewDestroyed(Fragment fragment) { in onFragmentViewDestroyed()
196 void onFragmentViewCreated(String tag, Fragment fragment); in onFragmentViewCreated()
200 default void onFragmentViewDestroyed(String tag, Fragment fragment) { in onFragmentViewDestroyed()
245 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
270 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
/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/core/java/android/util/proto/
DProtoInputStream.java601 final int fragment = mEnd - mOffset; in readVarint() local
646 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; in readFixed32() local
686 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; in readFixed64() local
708 int fragment = mEnd - mOffset; in readRawBytes() 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.java169 protected void setContentFragmentWithBackstack(Fragment fragment) { in setContentFragmentWithBackstack()
192 protected void setContentFragment(Fragment fragment) { in setContentFragment()
227 protected void onContentFragmentSet(Fragment fragment) { in onContentFragmentSet()
/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
DCustomDialogPreferenceCompat.java76 private void setFragment(CustomPreferenceDialogFragment fragment) { in setFragment()
87 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
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreferenceMixinCompat.java33 public FooterPreferenceMixinCompat(PreferenceFragmentCompat fragment, Lifecycle lifecycle) { in FooterPreferenceMixinCompat()
DFooterPreferenceMixin.java39 public FooterPreferenceMixin(PreferenceFragment fragment, Lifecycle lifecycle) { in FooterPreferenceMixin()

123