Searched defs:onAttach (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/events/
H A DOnAttach.java25 void onAttach(Context context); method in interface:OnAttach
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DCountCallsFragment.java25 * Counts the number of onCreateView, onHiddenChanged (onHide, onShow), onAttach, and onDetach
54 public void onAttach(Context context) { method in class:CountCallsFragment
56 super.onAttach(context);
H A DStrictFragment.java94 public void onAttach(Context context) { method in class:StrictFragment
95 super.onAttach(context);
97 checkState("onAttach", DETACHED);
H A DFragmentLifecycleTest.java500 * This means the child fragment will have received onAttach/onCreate.
1350 public void onAttach(Context context) { method in class:FragmentLifecycleTest.ChildFragmentManagerFragment
1351 super.onAttach(context);
1394 public void onAttach(Context context) { method in class:FragmentLifecycleTest.ChildFragmentManagerChildFragment
1395 super.onAttach(context);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
H A DObservableDialogFragment.java41 public void onAttach(Context context) { method in class:ObservableDialogFragment
42 super.onAttach(context);
43 mLifecycle.onAttach(context);
H A DObservableFragment.java45 public void onAttach(Context context) { method in class:ObservableFragment
46 super.onAttach(context);
47 mLifecycle.onAttach(context);
H A DObservablePreferenceFragment.java50 public void onAttach(Context context) { method in class:ObservablePreferenceFragment
51 super.onAttach(context);
52 mLifecycle.onAttach(context);
H A DLifecycle.java96 public void onAttach(Context context) { method in class:Lifecycle
100 ((OnAttach) observer).onAttach(context);
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
H A DPageFragment.java60 public void onAttach(Context context) { method in class:PageFragment
61 super.onAttach(context);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DOnboardingDemoFragment.java57 public void onAttach(android.app.Activity activity) { method in class:OnboardingDemoFragment
58 super.onAttach(activity);
H A DOnboardingDemoSupportFragment.java60 public void onAttach(android.app.Activity activity) { method in class:OnboardingDemoSupportFragment
61 super.onAttach(activity);
/frameworks/support/navigation/fragment/src/main/java/androidx/navigation/fragment/
H A DNavHostFragment.java182 public void onAttach(Context context) { method in class:NavHostFragment
183 super.onAttach(context);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DOnboardingDemoFragment.java57 public void onAttach(android.app.Activity activity) { method in class:OnboardingDemoFragment
58 super.onAttach(activity);
H A DOnboardingDemoSupportFragment.java60 public void onAttach(android.app.Activity activity) { method in class:OnboardingDemoSupportFragment
61 super.onAttach(activity);
/frameworks/support/wear/src/main/java/androidx/wear/ambient/
H A DAmbientMode.java169 public void onAttach(Context context) { method in class:AmbientMode
170 super.onAttach(context);
H A DAmbientModeSupport.java168 public void onAttach(Context context) { method in class:AmbientModeSupport
169 super.onAttach(context);
/frameworks/base/core/java/android/app/
H A DDialogFragment.java369 public void onAttach(Context context) { method in class:DialogFragment
370 super.onAttach(context);
H A DFragment.java120 * <li> {@link #onAttach} called once the fragment is associated with its activity.
489 * {@link #onAttach(Context)} instead. It is the first place application code can run where
932 * <li> {@link #onAttach(Activity)} and {@link #onActivityCreated(Bundle)} <b>will</b>
1358 * {@link #onAttach(Activity)} has been called; all you should do here is
1459 * <p>This is called after the attached fragment's <code>onAttach</code> and before
1473 public void onAttach(Context context) { method in class:Fragment
1478 onAttach(hostActivity);
1483 * @deprecated Use {@link #onAttach(Context)} instead.
1487 public void onAttach(Activity activity) { method in class:Fragment
1500 * {@link #onAttach(Activit
[all...]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
H A DLifecycleTest.java98 public void onAttach(Context context) { method in class:LifecycleTest.TestObserver
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java62 public void onAttach(Activity activity) { method in class:SetupWizardNavBar
63 super.onAttach(activity);
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DDialogFragment.java288 public void onAttach(Context context) { method in class:DialogFragment
289 super.onAttach(context);
H A DFragment.java392 * {@link #onAttach(Context)} instead. It is the first place application code can run where
957 * <li> {@link #onAttach(Activity)} and {@link #onActivityCreated(Bundle)} <b>will</b>
1325 * {@link #onAttach(Activity)} has been called; all you should do here is
1387 * <p>This is called after the attached fragment's <code>onAttach</code> and before
1401 public void onAttach(Context context) { method in class:Fragment
1406 onAttach(hostActivity);
1414 * @deprecated See {@link #onAttach(Context)}.
1418 public void onAttach(Activity activity) { method in class:Fragment
1463 * {@link #onAttach(Activity)} and before
2207 * in {@link #onCreate(Bundle), {@link #onAttach(Contex
[all...]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
H A DFragmentTestActivity.java145 public void onAttach(Activity activity) { method in class:FragmentTestActivity.TestFragment
146 super.onAttach(activity);
257 public void onAttach(Context activity) { method in class:FragmentTestActivity.ChildFragment
258 super.onAttach(activity);
261 mOnAttachListener.onAttach(activity, this);
270 void onAttach(Context activity, ChildFragment fragment); method in interface:FragmentTestActivity.ChildFragment.OnAttachListener
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java289 private void onAttach() { method in class:ZenModePanel
294 if (DEBUG) Log.d(mTag, "onAttach " + mAttachedZen + " " + manualRule);
327 onAttach();

Completed in 144 milliseconds