Home
last modified time | relevance | path

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

12345678910>>...65

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java172 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
173 super.onCreate(savedInstanceState); in onCreate()
184 if (savedInstanceState != null && savedInstanceState.containsKey(DIALOG_STATE)) { in onCreate()
185 mDialogState = savedInstanceState.getInt(DIALOG_STATE); in onCreate()
186 mPin = savedInstanceState.getString(DIALOG_PIN); in onCreate()
187 mError = savedInstanceState.getString(DIALOG_ERROR); in onCreate()
188 mToState = savedInstanceState.getBoolean(ENABLE_TO_STATE); in onCreate()
193 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
197 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
198 mNewPin = savedInstanceState.getString(NEW_PINCODE); in onCreate()
[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/Settings/src/com/android/settings/
DIccLockSettings.java170 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
171 super.onCreate(savedInstanceState); in onCreate()
189 if (savedInstanceState != null && savedInstanceState.containsKey(DIALOG_STATE)) { in onCreate()
190 mDialogState = savedInstanceState.getInt(DIALOG_STATE); in onCreate()
191 mPin = savedInstanceState.getString(DIALOG_PIN); in onCreate()
192 mError = savedInstanceState.getString(DIALOG_ERROR); in onCreate()
193 mToState = savedInstanceState.getBoolean(ENABLE_TO_STATE); in onCreate()
198 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
202 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
203 mNewPin = savedInstanceState.getString(NEW_PINCODE); in onCreate()
[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/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DCarUiDialogFragment.java77 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
78 super.onCreate(savedInstanceState); in onCreate()
80 if (savedInstanceState != null) { in onCreate()
81 mDialogTitle = savedInstanceState.getCharSequence(SAVE_STATE_TITLE); in onCreate()
82 mPositiveButtonText = savedInstanceState.getCharSequence(SAVE_STATE_POSITIVE_TEXT); in onCreate()
83 mNegativeButtonText = savedInstanceState.getCharSequence(SAVE_STATE_NEGATIVE_TEXT); in onCreate()
84 mDialogMessage = savedInstanceState.getCharSequence(SAVE_STATE_MESSAGE); in onCreate()
85 mDialogLayoutRes = savedInstanceState.getInt(SAVE_STATE_LAYOUT, 0); in onCreate()
86 Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); in onCreate()
109 public Dialog onCreateDialog(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/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DSettingsFragment.java52 public void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
53 super.onCreate(savedInstanceState); in onCreate()
60 @Nullable Bundle savedInstanceState) { in onCreateView() argument
63 savedInstanceState); in onCreateView()
69 public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { in onViewCreated() argument
70 super.onViewCreated(view, savedInstanceState); in onViewCreated()
77 public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) { in onCreatePreferences() argument
82 public void onActivityCreated(@Nullable Bundle savedInstanceState) { in onActivityCreated() argument
83 super.onActivityCreated(savedInstanceState); in onActivityCreated()
/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/Car/Settings/src/com/android/car/settings/security/
DAddTrustedDeviceActivity.java154 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
155 super.onCreate(savedInstanceState); in onCreate()
164 if (savedInstanceState != null) { in onCreate()
165 mBluetoothDevice = savedInstanceState.getParcelable(BLUETOOTH_DEVICE_KEY); in onCreate()
166 mHandle = savedInstanceState.getLong(CURRENT_HANDLE_KEY); in onCreate()
212 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
213 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
214 savedInstanceState.putParcelable(BLUETOOTH_DEVICE_KEY, mBluetoothDevice); in onSaveInstanceState()
215 savedInstanceState.putLong(CURRENT_HANDLE_KEY, mHandle); in onSaveInstanceState()
/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/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/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java121 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
133 mUnpairing = savedInstanceState != null in onCreate()
134 && savedInstanceState.getBoolean(SAVE_STATE_UNPAIRING); in onCreate()
153 super.onCreate(savedInstanceState); in onCreate()
182 public void onSaveInstanceState(@NonNull Bundle savedInstanceState) { in onSaveInstanceState() argument
183 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
184 savedInstanceState.putBoolean(SAVE_STATE_UNPAIRING, mUnpairing); in onSaveInstanceState()
197 public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { in onCreatePreferences() argument
339 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
351 Bundle savedInstanceState) { in onCreateActions() argument
[all …]
/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 …]
DResetActivity.java48 protected void onCreate(@Nullable Bundle savedInstanceState) { in onCreate() argument
49 super.onCreate(savedInstanceState); in onCreate()
50 if (savedInstanceState == null) { in onCreate()
68 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
78 Bundle savedInstanceState) { in onCreateActions() argument
113 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
123 Bundle savedInstanceState) { in onCreateActions() argument
/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/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java88 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
89 super.onCreate(savedInstanceState); in onCreate()
92 if (savedInstanceState != null && mToken == null) { in onCreate()
93 mLaunchedConfirmLock = savedInstanceState.getBoolean(EXTRA_KEY_LAUNCHED_CONFIRM); in onCreate()
94 mToken = savedInstanceState.getByteArray( in onCreate()
97 savedInstanceState.getBoolean(EXTRA_FROM_SETTINGS_SUMMARY, false); in onCreate()
118 protected void onPostCreate(@Nullable Bundle savedInstanceState) { in onPostCreate() argument
119 super.onPostCreate(savedInstanceState); in onPostCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppConfiguratorActivity.java97 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
98 super.onCreate(savedInstanceState); in onCreate()
103 if (savedInstanceState != null) { in onCreate()
104 String qrCode = savedInstanceState.getString(KEY_QR_CODE); in onCreate()
108 final String security = savedInstanceState.getString(KEY_WIFI_SECURITY); in onCreate()
109 final String ssid = savedInstanceState.getString(KEY_WIFI_SSID); in onCreate()
110 final String preSharedKey = savedInstanceState.getString(KEY_WIFI_PRESHARED_KEY); in onCreate()
111 final boolean hiddenSsid = savedInstanceState.getBoolean(KEY_WIFI_HIDDEN_SSID); in onCreate()
112 final int networkId = savedInstanceState.getInt(KEY_WIFI_NETWORK_ID); in onCreate()
113 final boolean isHotspot = savedInstanceState.getBoolean(KEY_IS_HOTSPOT); in onCreate()
DWifiDppAddDeviceFragment.java205 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
206 super.onCreate(savedInstanceState); in onCreate()
208 if (savedInstanceState != null) { in onCreate()
209 mLatestStatusCode = savedInstanceState.getInt(KEY_LATEST_ERROR_CODE); in onCreate()
232 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
233 super.onActivityCreated(savedInstanceState); in onActivityCreated()
243 Bundle savedInstanceState) { in onCreateView() argument
249 public void onViewCreated(View view, Bundle savedInstanceState) { in onViewCreated() argument
250 super.onViewCreated(view, savedInstanceState); in onViewCreated()
287 if (savedInstanceState != null) { in onViewCreated()
/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()
103 if (savedInstanceState != null) { in onCreate()
104 String qrCode = savedInstanceState.getString(KEY_QR_CODE); in onCreate()
108 final String security = savedInstanceState.getString(KEY_WIFI_SECURITY); in onCreate()
109 final String ssid = savedInstanceState.getString(KEY_WIFI_SSID); in onCreate()
110 final String preSharedKey = savedInstanceState.getString(KEY_WIFI_PRESHARED_KEY); in onCreate()
111 final boolean hiddenSsid = savedInstanceState.getBoolean(KEY_WIFI_HIDDEN_SSID); in onCreate()
112 final int networkId = savedInstanceState.getInt(KEY_WIFI_NETWORK_ID); in onCreate()
113 final boolean isHotspot = savedInstanceState.getBoolean(KEY_IS_HOTSPOT); in onCreate()
DWifiDppAddDeviceFragment.java205 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
206 super.onCreate(savedInstanceState); in onCreate()
208 if (savedInstanceState != null) { in onCreate()
209 mLatestStatusCode = savedInstanceState.getInt(KEY_LATEST_ERROR_CODE); in onCreate()
232 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
233 super.onActivityCreated(savedInstanceState); in onActivityCreated()
243 Bundle savedInstanceState) { in onCreateView() argument
249 public void onViewCreated(View view, Bundle savedInstanceState) { in onViewCreated() argument
250 super.onViewCreated(view, savedInstanceState); in onViewCreated()
287 if (savedInstanceState != null) { in onViewCreated()
/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/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/TvSettings/Settings/src/com/android/tv/settings/accounts/
DRemoveAccountDialog.java50 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
51 super.onCreate(savedInstanceState); in onCreate()
52 if (savedInstanceState == null) { in onCreate()
96 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
99 super.onCreate(savedInstanceState); in onCreate()
104 public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
142 Bundle savedInstanceState) { in onCreateActions() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollBase.java87 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
88 super.onCreate(savedInstanceState); in onCreate()
90 if (savedInstanceState != null && mToken == null) { in onCreate()
91 mLaunchedConfirmLock = savedInstanceState.getBoolean(EXTRA_KEY_LAUNCHED_CONFIRM); in onCreate()
92 mToken = savedInstanceState.getByteArray( in onCreate()
113 protected void onPostCreate(@Nullable Bundle savedInstanceState) { in onPostCreate() argument
114 super.onPostCreate(savedInstanceState); in onPostCreate()
/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>>...65