Home
last modified time | relevance | path

Searched refs:savedInstanceState (Results 1 – 25 of 1864) sorted by relevance

12345678910>>...75

/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/
DConsentNotificationGaV2Screen2Fragment.java62 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
67 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
68 setupListeners(savedInstanceState); in onViewCreated()
74 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
75 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
79 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
81 savedInstanceState.putBoolean(IS_TOPICS_INFO_VIEW_EXPANDED_KEY, mIsInfoViewExpanded); in onSaveInstanceState()
89 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
92 if (savedInstanceState != null) { in setupListeners()
94 savedInstanceState.getBoolean(IS_TOPICS_INFO_VIEW_EXPANDED_KEY, false)); in setupListeners()
[all …]
DConsentNotificationPasFragment.java72 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
99 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
100 setupListeners(savedInstanceState); in onViewCreated()
121 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
122 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
124 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
129 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
131 if (savedInstanceState != null) { in setupListeners()
132 setInfoViewState1(savedInstanceState.getBoolean(INFO_VIEW_EXPANDED_1, false)); in setupListeners()
147 if (savedInstanceState != null) { in setupListeners()
[all …]
DConsentNotificationGaV2Screen1Fragment.java63 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
77 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
78 setupListeners(savedInstanceState); in onViewCreated()
89 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
90 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
92 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
97 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
100 if (savedInstanceState != null) { in setupListeners()
102 savedInstanceState.getBoolean( in setupListeners()
142 scrollView, leftControlButton, rightControlButton, savedInstanceState); in setupListeners()
[all …]
DConsentNotificationConfirmationGaFragment.java74 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
101 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
102 setupListeners(savedInstanceState); in onViewCreated()
108 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
109 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
111 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
116 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
119 if (savedInstanceState != null) { in setupListeners()
121 savedInstanceState.getBoolean( in setupListeners()
178 scrollView, leftControlButton, rightControlButton, savedInstanceState); in setupListeners()
[all …]
DConsentNotificationGaFragment.java68 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
73 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
74 setupListeners(savedInstanceState); in onViewCreated()
80 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
81 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
85 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
87 savedInstanceState.putBoolean(IS_TOPICS_INFO_VIEW_EXPANDED_KEY, mIsInfoViewExpanded); in onSaveInstanceState()
104 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
107 if (savedInstanceState != null) { in setupListeners()
109 savedInstanceState.getBoolean(IS_TOPICS_INFO_VIEW_EXPANDED_KEY, false)); in setupListeners()
[all …]
/packages/apps/Dialer/java/com/android/incallui/baseui/
DBaseFragment.java47 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
48 super.onActivityCreated(savedInstanceState); in onActivityCreated()
53 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
54 super.onCreate(savedInstanceState); in onCreate()
55 if (savedInstanceState != null) { in onCreate()
56 presenter.onRestoreInstanceState(savedInstanceState); in onCreate()
57 if (savedInstanceState.getBoolean(KEY_FRAGMENT_HIDDEN)) { in onCreate()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationFragment.java67 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
72 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
74 setupListeners(savedInstanceState); in onViewCreated()
78 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
79 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
83 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
85 savedInstanceState.putBoolean(IS_INFO_VIEW_EXPANDED_KEY, mIsInfoViewExpanded); in onSaveInstanceState()
100 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
102 if (savedInstanceState != null) { in setupListeners()
103 setInfoViewState(savedInstanceState.getBoolean(IS_INFO_VIEW_EXPANDED_KEY, false)); in setupListeners()
[all …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/u18notifications/
DConsentNotificationU18Fragment.java63 @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
68 public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { in onViewCreated() argument
69 setupListeners(savedInstanceState); in onViewCreated()
79 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
80 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
84 mScrollToBottomController.saveInstanceState(savedInstanceState); in onSaveInstanceState()
92 private void setupListeners(Bundle savedInstanceState) { in setupListeners() argument
117 scrollView, leftControlButton, rightControlButton, savedInstanceState); in setupListeners()
146 @Nullable Bundle savedInstanceState) { in ScrollToBottomController() argument
151 savedInstanceState != null in ScrollToBottomController()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DSettingsFragment.java58 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
59 super.onCreate(savedInstanceState); in onCreate()
66 @Nullable Bundle savedInstanceState) { in onCreateView() argument
67 View view = super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
73 public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { in onViewCreated() argument
74 super.onViewCreated(view, savedInstanceState); in onViewCreated()
81 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
82 super.onActivityCreated(savedInstanceState); in onActivityCreated()
89 if (savedInstanceState == null) { in onActivityCreated()
DHandheldDefaultAppPreferenceFragment.java65 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
66 super.onCreate(savedInstanceState); in onCreate()
74 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
75 super.onActivityCreated(savedInstanceState); in onActivityCreated()
77 if (savedInstanceState == null) { in onActivityCreated()
87 public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) { in onCreatePreferences() argument
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DStartDpcInsideSuwServiceConnectionTest.java147 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected() local
148 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
160 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
198 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected() local
199 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
211 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
257 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished() local
258 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
266 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
331 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallActivity.java31 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
32 super.onCreate(savedInstanceState); in onCreate()
34 preCallCoordinator.onCreate(getIntent(), savedInstanceState); in onCreate() local
66 protected void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
67 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
68 preCallCoordinator.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelListPreferenceDialogFragment.java66 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
67 super.onCreate(savedInstanceState); in onCreate()
68 if (savedInstanceState == null) { in onCreate()
85 mMultiCopy = savedInstanceState.getBoolean(SAVE_STATE_IS_MULTI); in onCreate()
86 mEntriesCopy = savedInstanceState.getCharSequenceArray(SAVE_STATE_ENTRIES); in onCreate()
87 mEntryValuesCopy = savedInstanceState.getCharSequenceArray(SAVE_STATE_ENTRY_VALUES); in onCreate()
88 mSummariesCopy = savedInstanceState.getCharSequenceArray(SAVE_STATE_SUMMARIES); in onCreate()
90 mInitialSelectionCopy = savedInstanceState.getString(SAVE_STATE_INITIAL_SELECTION); in onCreate()
96 public void onViewCreated(View view, Bundle savedInstanceState) { in onViewCreated() argument
97 super.onViewCreated(view, savedInstanceState); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java177 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
178 super.onCreate(savedInstanceState); in onCreate()
198 if (savedInstanceState != null) { in onCreate()
199 if (savedInstanceState.containsKey(DIALOG_STATE) in onCreate()
200 && restoreDialogStates(savedInstanceState)) { in onCreate()
202 } else if (savedInstanceState.containsKey(CURRENT_TAB) in onCreate()
203 && restoreTabFocus(savedInstanceState)) { in onCreate()
216 private boolean restoreDialogStates(Bundle savedInstanceState) { in restoreDialogStates() argument
218 .getActiveSubscriptionInfo(savedInstanceState.getInt(DIALOG_SUB_ID)); in restoreDialogStates()
234 mDialogState = savedInstanceState.getInt(DIALOG_STATE); in restoreDialogStates()
[all …]
DCustomListPreference.java73 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) { in onDialogStateRestored() argument
114 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
115 Dialog dialog = super.onCreateDialog(savedInstanceState); in onCreateDialog()
116 if (savedInstanceState != null) { in onCreateDialog()
117 mClickedDialogEntryIndex = savedInstanceState.getInt(KEY_CLICKED_ENTRY_INDEX, in onCreateDialog()
131 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
132 super.onActivityCreated(savedInstanceState); in onActivityCreated()
133 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated() local
206 public Dialog onCreateDialog(Bundle savedInstanceState) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java73 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
75 super.onCreate(savedInstanceState); in onCreate()
160 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
161 savedInstanceState.putInt(KEY_TRIM_START, mTrimStartTime); in onSaveInstanceState()
162 savedInstanceState.putInt(KEY_TRIM_END, mTrimEndTime); in onSaveInstanceState()
163 savedInstanceState.putInt(KEY_VIDEO_POSITION, mVideoPosition); in onSaveInstanceState()
164 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
168 public void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
169 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
170 mTrimStartTime = savedInstanceState.getInt(KEY_TRIM_START, 0); in onRestoreInstanceState()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCustomizationPickerFragment.java96 @Nullable Bundle savedInstanceState) { in onCreateView() argument
112 savedInstanceState, in onCreateView()
122 final Bundle finalSavedInstanceState = savedInstanceState; in onCreateView()
142 savedInstanceState = mBackStackSavedInstanceState; in onCreateView()
182 private void restoreViewState(@Nullable Bundle savedInstanceState) { in restoreViewState() argument
183 if (savedInstanceState != null) { in restoreViewState()
185 mHomeScrollContainer.setScrollY(savedInstanceState.getInt(SCROLL_POSITION_Y))); in restoreViewState()
190 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
191 onSaveInstanceStateInternal(savedInstanceState); in onSaveInstanceState()
192 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
[all …]
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DBlockReportSpamDialogs.java152 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
153 super.onCreateDialog(savedInstanceState); in onCreateDialog()
207 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
208 super.onCreateDialog(savedInstanceState); in onCreateDialog()
248 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
249 super.onCreateDialog(savedInstanceState); in onCreateDialog()
291 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
292 super.onCreateDialog(savedInstanceState); in onCreateDialog()
334 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
335 super.onCreateDialog(savedInstanceState); in onCreateDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java146 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
147 super.onCreate(savedInstanceState); in onCreate()
160 if (savedInstanceState != null) { in onCreate()
162 mLaunchedConfirmLock = savedInstanceState.getBoolean(EXTRA_KEY_LAUNCHED_CONFIRM); in onCreate()
163 mToken = savedInstanceState.getByteArray( in onCreate()
166 savedInstanceState.getBoolean(EXTRA_FROM_SETTINGS_SUMMARY, false); in onCreate()
167 mChallenge = savedInstanceState.getLong(EXTRA_KEY_CHALLENGE); in onCreate()
168 mSensorId = savedInstanceState.getInt(EXTRA_KEY_SENSOR_ID); in onCreate()
170 mLaunchedPostureGuidance = savedInstanceState.getBoolean( in onCreate()
172 mNextLaunched = savedInstanceState.getBoolean(EXTRA_KEY_NEXT_LAUNCHED); in onCreate()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLineupFragment.java51 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
52 if (savedInstanceState == null) { in onCreate()
55 super.onCreate(savedInstanceState); in onCreate()
140 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
141 if (savedInstanceState == null) { in onCreate()
147 super.onCreate(savedInstanceState); in onCreate()
151 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { in onViewCreated() argument
152 super.onViewCreated(view, savedInstanceState); in onViewCreated()
161 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
184 @NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/fragment/
DFullPreviewFragment.kt55 override fun onCreate(savedInstanceState: Bundle?) { in <lambda>()
56 super.onCreate(savedInstanceState) in <lambda>()
65 savedInstanceState: Bundle? in <lambda>()
99 override fun onViewStateRestored(savedInstanceState: Bundle?) { in <lambda>()
100 super.onViewStateRestored(savedInstanceState) in <lambda>()
102 if (savedInstanceState == null) { in <lambda>()
113 savedInstanceState = savedInstanceState, in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DMenuFragment.java48 @Nullable Bundle savedInstanceState) { in onCreateView() argument
70 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
71 savedInstanceState.putBoolean(KEY_USE_TUTORIAL_MENU, true); in onSaveInstanceState()
72 savedInstanceState.remove(KEY_TUTORIAL_TYPE); in onSaveInstanceState()
73 savedInstanceState.remove(KEY_GESTURE_COMPLETE); in onSaveInstanceState()
74 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/handheld/
DHandheldSpecialAppAccessPreferenceFragment.java60 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
61 super.onCreate(savedInstanceState); in onCreate()
68 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
69 super.onActivityCreated(savedInstanceState); in onActivityCreated()
71 if (savedInstanceState == null) { in onActivityCreated()
81 public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) { in onCreatePreferences() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DRemoveAccountDialog.java51 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
52 super.onCreate(savedInstanceState); in onCreate()
53 if (savedInstanceState == null) { in onCreate()
97 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
100 super.onCreate(savedInstanceState); in onCreate()
105 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
143 Bundle savedInstanceState) { in onCreateActions() argument
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DAppCompatPreferenceActivity.java38 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
40 getDelegate().onCreate(savedInstanceState); in onCreate()
41 super.onCreate(savedInstanceState); in onCreate()
46 protected void onPostCreate(Bundle savedInstanceState) { in onPostCreate() argument
47 super.onPostCreate(savedInstanceState); in onPostCreate()
48 getDelegate().onPostCreate(savedInstanceState); in onPostCreate()

12345678910>>...75