Home
last modified time | relevance | path

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

12345678910>>...66

/packages/apps/Settings/src/com/android/settings/
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/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/Email/src/com/android/email/activity/setup/
DSetupDataFragment.java87 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
88 super.onCreate(savedInstanceState); in onCreate()
89 if (savedInstanceState != null) { in onCreate()
90 mFlowMode = savedInstanceState.getInt(SAVESTATE_FLOWMODE); in onCreate()
91 setAccount((Account) savedInstanceState.getParcelable(SAVESTATE_ACCOUNT)); in onCreate()
92 mEmail = savedInstanceState.getString(SAVESTATE_EMAIL); in onCreate()
93 mCredentialResults = savedInstanceState.getParcelable(SAVESTATE_CREDENTIAL); in onCreate()
94 mIncomingCredLoaded = savedInstanceState.getBoolean(SAVESTATE_INCOMING_LOADED); in onCreate()
95 mOutgoingCredLoaded = savedInstanceState.getBoolean(SAVESTATE_OUTGOING_LOADED); in onCreate()
96 mPolicy = savedInstanceState.getParcelable(SAVESTATE_POLICY); in onCreate()
[all …]
DAccountServerBaseFragment.java109 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
110 super.onCreate(savedInstanceState); in onCreate()
114 if (savedInstanceState != null) { in onCreate()
115 mSettingsMode = savedInstanceState.getBoolean(BUNDLE_KEY_SETTINGS); in onCreate()
116 mSaving = savedInstanceState.getBoolean(BUNDLE_KEY_SAVING); in onCreate()
117 mLoadedSendAuth = savedInstanceState.getParcelable(BUNDLE_KEY_SENDAUTH); in onCreate()
118 mLoadedRecvAuth = savedInstanceState.getParcelable(BUNDLE_KEY_RECVAUTH); in onCreate()
138 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
141 if (mSettingsMode && savedInstanceState != null) { in onActivityCreated()
144 activity.setTitle(savedInstanceState.getString(BUNDLE_KEY_ACTIVITY_TITLE)); in onActivityCreated()
[all …]
/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/Car/Settings/src/com/android/car/settings/common/
DSettingsPreferenceDialogFragment.java84 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
85 super.onCreate(savedInstanceState); in onCreate()
97 if (savedInstanceState == null) { in onCreate()
117 mDialogTitle = savedInstanceState.getCharSequence(SAVE_STATE_TITLE); in onCreate()
118 mPositiveButtonText = savedInstanceState.getCharSequence(SAVE_STATE_POSITIVE_TEXT); in onCreate()
119 mNegativeButtonText = savedInstanceState.getCharSequence(SAVE_STATE_NEGATIVE_TEXT); in onCreate()
120 mDialogMessage = savedInstanceState.getCharSequence(SAVE_STATE_MESSAGE); in onCreate()
121 mDialogLayoutRes = savedInstanceState.getInt(SAVE_STATE_LAYOUT, 0); in onCreate()
122 Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); in onCreate()
145 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/settings/common/
DSettingsPreferenceDialogFragment.java84 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
85 super.onCreate(savedInstanceState); in onCreate()
97 if (savedInstanceState == null) { in onCreate()
117 mDialogTitle = savedInstanceState.getCharSequence(SAVE_STATE_TITLE); in onCreate()
118 mPositiveButtonText = savedInstanceState.getCharSequence(SAVE_STATE_POSITIVE_TEXT); in onCreate()
119 mNegativeButtonText = savedInstanceState.getCharSequence(SAVE_STATE_NEGATIVE_TEXT); in onCreate()
120 mDialogMessage = savedInstanceState.getCharSequence(SAVE_STATE_MESSAGE); in onCreate()
121 mDialogLayoutRes = savedInstanceState.getInt(SAVE_STATE_LAYOUT, 0); in onCreate()
122 Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); in onCreate()
145 public Dialog onCreateDialog(Bundle savedInstanceState) { in onCreateDialog() argument
/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 …]
/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/Car/Settings/src/com/android/car/settings/wifi/
DAddWifiFragment.java82 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
83 super.onCreate(savedInstanceState); in onCreate()
84 if (savedInstanceState != null) { in onCreate()
85 mNetworkName = savedInstanceState.getString(KEY_NETWORK_NAME); in onCreate()
86 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, AccessPoint.SECURITY_NONE); in onCreate()
98 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
99 super.onActivityCreated(savedInstanceState); in onActivityCreated()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrConflictFragment.java73 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
171 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
193 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
198 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
226 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
253 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
258 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
289 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
313 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
318 public Guidance onCreateGuidance(Bundle savedInstanceState) { in onCreateGuidance() argument
[all …]

12345678910>>...66