Home
last modified time | relevance | path

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

12345678910>>...62

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCustomizationPickerFragment.java67 @Nullable Bundle savedInstanceState) { in onCreateView() argument
85 savedInstanceState = mBackStackSavedInstanceState; in onCreateView()
89 initSections(savedInstanceState); in onCreateView()
101 final Bundle savedInstanceStateRef = savedInstanceState; in onCreateView()
117 private void restoreViewState(@Nullable Bundle savedInstanceState) { in restoreViewState() argument
118 if (savedInstanceState != null) { in restoreViewState()
120 mNestedScrollView.setScrollY(savedInstanceState.getInt(SCROLL_POSITION_Y))); in restoreViewState()
125 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
126 onSaveInstanceStateInternal(savedInstanceState); in onSaveInstanceState()
127 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DStartDpcInsideSuwServiceConnectionTest.java150 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected() local
151 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
163 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredBeforeServiceConnected()
201 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected() local
202 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
214 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterServiceConnected()
260 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished() local
261 mStartDpcInsideSuwServiceConnection.saveInstanceState(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
269 getRestoredServiceConnection(savedInstanceState); in testBindingSucceeds_instanceStateSavedAndRestoredAfterDpcFinished()
334 final Bundle savedInstanceState = new Bundle(); in testBindingSucceeds_serviceConnectsAndDisconnects_instanceStateSavedAndRestored() local
[all …]
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java174 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
175 super.onCreate(savedInstanceState); in onCreate()
193 if (savedInstanceState != null) { in onCreate()
194 if (savedInstanceState.containsKey(DIALOG_STATE) in onCreate()
195 && restoreDialogStates(savedInstanceState)) { in onCreate()
197 } else if (savedInstanceState.containsKey(CURRENT_TAB) in onCreate()
198 && restoreTabFocus(savedInstanceState)) { in onCreate()
211 private boolean restoreDialogStates(Bundle savedInstanceState) { in restoreDialogStates() argument
213 .getActiveSubscriptionInfo(savedInstanceState.getInt(DIALOG_SUB_ID)); in restoreDialogStates()
229 mDialogState = savedInstanceState.getInt(DIALOG_STATE); in restoreDialogStates()
[all …]
DCustomListPreference.java74 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) { in onDialogStateRestored() argument
115 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
116 Dialog dialog = super.onCreateDialog(savedInstanceState); in onCreateDialog()
117 if (savedInstanceState != null) { in onCreateDialog()
118 mClickedDialogEntryIndex = savedInstanceState.getInt(KEY_CLICKED_ENTRY_INDEX, in onCreateDialog()
132 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
133 super.onActivityCreated(savedInstanceState); in onActivityCreated()
134 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated() local
207 public Dialog onCreateDialog(Bundle savedInstanceState) {
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiDialogFragment.java80 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
81 super.onCreate(savedInstanceState); in onCreate()
83 if (savedInstanceState != null) { in onCreate()
84 mDialogTitle = savedInstanceState.getCharSequence(SAVE_STATE_TITLE); in onCreate()
85 mPositiveButtonText = savedInstanceState.getCharSequence(SAVE_STATE_POSITIVE_TEXT); in onCreate()
86 mNegativeButtonText = savedInstanceState.getCharSequence(SAVE_STATE_NEGATIVE_TEXT); in onCreate()
87 mDialogMessage = savedInstanceState.getCharSequence(SAVE_STATE_MESSAGE); in onCreate()
88 mDialogLayoutRes = savedInstanceState.getInt(SAVE_STATE_LAYOUT, 0); in onCreate()
89 Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); in onCreate()
112 public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) { in onCreateDialog() argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java71 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
73 super.onCreate(savedInstanceState); in onCreate()
158 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
159 savedInstanceState.putInt(KEY_TRIM_START, mTrimStartTime); in onSaveInstanceState()
160 savedInstanceState.putInt(KEY_TRIM_END, mTrimEndTime); in onSaveInstanceState()
161 savedInstanceState.putInt(KEY_VIDEO_POSITION, mVideoPosition); in onSaveInstanceState()
162 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
166 public void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
167 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
168 mTrimStartTime = savedInstanceState.getInt(KEY_TRIM_START, 0); in onRestoreInstanceState()
[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/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()
DLeanbackListPreferenceDialogFragmentCompat.java91 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
92 super.onCreate(savedInstanceState); in onCreate()
93 if (savedInstanceState == null) { in onCreate()
114 this.mDialogTitle = savedInstanceState.getCharSequence( in onCreate()
116 this.mDialogMessage = savedInstanceState.getCharSequence( in onCreate()
118 this.mMulti = savedInstanceState.getBoolean( in onCreate()
120 this.mEntries = savedInstanceState.getCharSequenceArray( in onCreate()
122 this.mEntryValues = savedInstanceState.getCharSequenceArray( in onCreate()
125 String[] initialSelections = savedInstanceState.getStringArray( in onCreate()
133 this.mInitialSelection = savedInstanceState.getString( in onCreate()
[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.java67 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
68 super.onCreate(savedInstanceState); in onCreate()
76 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
77 super.onActivityCreated(savedInstanceState); in onActivityCreated()
79 if (savedInstanceState == null) { in onActivityCreated()
89 public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) { in onCreatePreferences() argument
/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/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/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java126 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
127 super.onCreate(savedInstanceState); in onCreate()
140 if (savedInstanceState != null && mToken == null) { in onCreate()
141 mLaunchedConfirmLock = savedInstanceState.getBoolean(EXTRA_KEY_LAUNCHED_CONFIRM); in onCreate()
142 mToken = savedInstanceState.getByteArray( in onCreate()
145 savedInstanceState.getBoolean(EXTRA_FROM_SETTINGS_SUMMARY, false); in onCreate()
146 mChallenge = savedInstanceState.getLong(EXTRA_KEY_CHALLENGE); in onCreate()
147 mSensorId = savedInstanceState.getInt(EXTRA_KEY_SENSOR_ID); in onCreate()
163 protected void onPostCreate(@Nullable Bundle savedInstanceState) { in onPostCreate() argument
164 super.onPostCreate(savedInstanceState); in onPostCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java119 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
131 mUnpairing = savedInstanceState != null in onCreate()
132 && savedInstanceState.getBoolean(SAVE_STATE_UNPAIRING); in onCreate()
151 super.onCreate(savedInstanceState); in onCreate()
180 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
181 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
182 savedInstanceState.putBoolean(SAVE_STATE_UNPAIRING, mUnpairing); in onSaveInstanceState()
195 public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { in onCreatePreferences() argument
333 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
345 Bundle savedInstanceState) { in onCreateActions() argument
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DGestureSandboxActivity.java51 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
52 super.onCreate(savedInstanceState); in onCreate()
56 Bundle args = savedInstanceState == null ? getIntent().getExtras() : savedInstanceState; in onCreate()
87 protected void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
88 savedInstanceState.putStringArray(KEY_TUTORIAL_STEPS, getTutorialStepNames()); in onSaveInstanceState()
89 savedInstanceState.putInt(KEY_CURRENT_STEP, mCurrentStep); in onSaveInstanceState()
90 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java95 public void onCreate(final Bundle savedInstanceState) { in onCreate() argument
96 super.onCreate(savedInstanceState); in onCreate()
107 final Bundle savedInstanceState) { in onCreateView() argument
108 final View view = super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
116 public void onActivityCreated(final Bundle savedInstanceState) { in onActivityCreated() argument
129 mIsAddingNewSubtype = (savedInstanceState != null) in onActivityCreated()
130 && savedInstanceState.containsKey(KEY_IS_ADDING_NEW_SUBTYPE); in onActivityCreated()
136 super.onActivityCreated(savedInstanceState); in onActivityCreated()
138 if (savedInstanceState != null && savedInstanceState.containsKey( in onActivityCreated()
140 mSubtypePreferenceKeyForSubtypeEnabler = savedInstanceState.getString( in onActivityCreated()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java69 protected void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
70 super.onCreate(savedInstanceState); in onCreate()
72 if (savedInstanceState == null) { in onCreate()
134 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
151 super.onCreate(savedInstanceState); in onCreate()
170 public @NonNull GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
180 Bundle savedInstanceState) { in onCreateActions() argument
285 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
295 super.onCreate(savedInstanceState); in onCreate()
313 public @NonNull GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivity.java97 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
98 super.onCreate(savedInstanceState); in onCreate()
100 if (savedInstanceState != null) { in onCreate()
101 String qrCode = savedInstanceState.getString(KEY_QR_CODE); in onCreate()
105 final String security = savedInstanceState.getString(KEY_WIFI_SECURITY); in onCreate()
106 final String ssid = savedInstanceState.getString(KEY_WIFI_SSID); in onCreate()
107 final String preSharedKey = savedInstanceState.getString(KEY_WIFI_PRESHARED_KEY); in onCreate()
108 final boolean hiddenSsid = savedInstanceState.getBoolean(KEY_WIFI_HIDDEN_SSID); in onCreate()
109 final int networkId = savedInstanceState.getInt(KEY_WIFI_NETWORK_ID); in onCreate()
110 final boolean isHotspot = savedInstanceState.getBoolean(KEY_IS_HOTSPOT); in onCreate()
/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/TV/src/com/android/tv/dvr/ui/
DDvrConflictFragment.java76 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
178 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
200 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
205 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
233 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
260 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
265 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
296 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
320 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
325 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeFragment.java109 @Nullable Bundle savedInstanceState) { in onCreateView() argument
174 public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { in onViewCreated() argument
175 super.onViewCreated(view, savedInstanceState); in onViewCreated()
178 setUpOptions(savedInstanceState); in onViewCreated()
255 private void setUpOptions(@Nullable Bundle savedInstanceState) { in setUpOptions() argument
266 String previouslySelected = savedInstanceState != null in setUpOptions()
267 ? savedInstanceState.getString(KEY_SELECTED_THEME) : null; in setUpOptions()
291 restoreBottomActionBarVisibility(savedInstanceState); in setUpOptions()
360 private void restoreBottomActionBarVisibility(@Nullable Bundle savedInstanceState) { in restoreBottomActionBarVisibility() argument
361 boolean isBottomActionBarVisible = savedInstanceState != null in restoreBottomActionBarVisibility()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/handheld/
DHandheldSpecialAppAccessPreferenceFragment.java62 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
63 super.onCreate(savedInstanceState); in onCreate()
70 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
71 super.onActivityCreated(savedInstanceState); in onActivityCreated()
73 if (savedInstanceState == null) { in onActivityCreated()
83 public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) { in onCreatePreferences() 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>>...62