Home
last modified time | relevance | path

Searched refs:savedState (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java280 public void onCreate(Bundle savedState) { in onCreate() argument
281 super.onCreate(savedState); in onCreate()
282 restoreSavedState(savedState); in onCreate()
287 public void restoreSavedState(Bundle savedState) { in restoreSavedState() argument
288 if (savedState == null) { in restoreSavedState()
292 mSectionHeaderDisplayEnabled = savedState.getBoolean(KEY_SECTION_HEADER_DISPLAY_ENABLED); in restoreSavedState()
293 mPhotoLoaderEnabled = savedState.getBoolean(KEY_PHOTO_LOADER_ENABLED); in restoreSavedState()
294 mQuickContactEnabled = savedState.getBoolean(KEY_QUICK_CONTACT_ENABLED); in restoreSavedState()
295 mAdjustSelectionBoundsEnabled = savedState.getBoolean(KEY_ADJUST_SELECTION_BOUNDS_ENABLED); in restoreSavedState()
296 mSearchMode = savedState.getBoolean(KEY_SEARCH_MODE); in restoreSavedState()
[all …]
DContactPickerFragment.java79 public void restoreSavedState(Bundle savedState) { in restoreSavedState() argument
80 super.restoreSavedState(savedState); in restoreSavedState()
82 if (savedState == null) { in restoreSavedState()
86 mEditMode = savedState.getBoolean(KEY_EDIT_MODE); in restoreSavedState()
87 mCreateContactEnabled = savedState.getBoolean(KEY_CREATE_CONTACT_ENABLED); in restoreSavedState()
88 mShortcutRequested = savedState.getBoolean(KEY_SHORTCUT_REQUESTED); in restoreSavedState()
DGroupMemberPickerFragment.java194 public void onCreate(Bundle savedState) { in onCreate() argument
195 if (savedState == null) { in onCreate()
201 mAccountName = savedState.getString(KEY_ACCOUNT_NAME); in onCreate()
202 mAccountType = savedState.getString(KEY_ACCOUNT_TYPE); in onCreate()
203 mAccountDataSet = savedState.getString(KEY_ACCOUNT_DATA_SET); in onCreate()
204 mContactIds = savedState.getStringArrayList(KEY_CONTACT_IDS); in onCreate()
206 super.onCreate(savedState); in onCreate()
DPhoneNumberPickerFragment.java103 public void restoreSavedState(Bundle savedState) { in restoreSavedState() argument
104 super.restoreSavedState(savedState); in restoreSavedState()
106 if (savedState == null) { in restoreSavedState()
110 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState()
111 mShortcutAction = savedState.getString(KEY_SHORTCUT_ACTION); in restoreSavedState()
DContactBrowseListFragment.java221 public void restoreSavedState(Bundle savedState) { in restoreSavedState() argument
222 super.restoreSavedState(savedState); in restoreSavedState()
224 if (savedState == null) { in restoreSavedState()
228 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState()
229 mSelectedContactUri = savedState.getParcelable(KEY_SELECTED_URI); in restoreSavedState()
230 mSelectionVerified = savedState.getBoolean(KEY_SELECTION_VERIFIED); in restoreSavedState()
231 mLastSelectedPosition = savedState.getInt(KEY_LAST_SELECTED_POSITION); in restoreSavedState()
DJoinContactListFragment.java182 public void restoreSavedState(Bundle savedState) { in restoreSavedState() argument
183 super.restoreSavedState(savedState); in restoreSavedState()
184 if (savedState != null) { in restoreSavedState()
185 mTargetContactId = savedState.getLong(KEY_TARGET_CONTACT_ID); in restoreSavedState()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivity.java52 protected void onSaveInstanceState(Bundle savedState) { in onSaveInstanceState() argument
53 savedState.putCharSequence(SAVE_KEY_TITLE, getTitle()); in onSaveInstanceState()
54 super.onSaveInstanceState(savedState); in onSaveInstanceState()
58 protected void onRestoreInstanceState(Bundle savedState) { in onRestoreInstanceState() argument
59 super.onRestoreInstanceState(savedState); in onRestoreInstanceState()
60 setTitle(savedState.getCharSequence(SAVE_KEY_TITLE)); in onRestoreInstanceState()
102 protected void onCreate(Bundle savedState) { in onCreate() argument
103 super.onCreate(savedState); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridView.java103 final SavedState savedState = new SavedState(superState); in onSaveInstanceState() local
104 savedState.unselectedParts = mUnselectedSet in onSaveInstanceState()
106 return savedState; in onSaveInstanceState()
116 final SavedState savedState = (SavedState) state; in onRestoreInstanceState() local
117 super.onRestoreInstanceState(savedState.getSuperState()); in onRestoreInstanceState()
119 for (int i = 0; i < savedState.unselectedParts.length; i++) { in onRestoreInstanceState()
120 final MessagePartData unselectedPart = savedState.unselectedParts[i]; in onRestoreInstanceState()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridView.java239 final SavedState savedState = new SavedState(superState); in onSaveInstanceState() local
240 savedState.isMultiSelectMode = mIsMultiSelectMode; in onSaveInstanceState()
241 savedState.selectedImages = mSelectedImages.values() in onSaveInstanceState()
243 return savedState; in onSaveInstanceState()
253 final SavedState savedState = (SavedState) state; in onRestoreInstanceState() local
254 super.onRestoreInstanceState(savedState.getSuperState()); in onRestoreInstanceState()
255 mIsMultiSelectMode = savedState.isMultiSelectMode; in onRestoreInstanceState()
257 for (int i = 0; i < savedState.selectedImages.length; i++) { in onRestoreInstanceState()
258 final MessagePartData selectedImage = savedState.selectedImages[i]; in onRestoreInstanceState()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java476 public void onCreate(Bundle savedState) { in onCreate() argument
477 if (savedState != null) { in onCreate()
480 mAction = savedState.getString(KEY_ACTION); in onCreate()
481 mLookupUri = savedState.getParcelable(KEY_URI); in onCreate()
484 super.onCreate(savedState); in onCreate()
489 if (savedState == null) { in onCreate()
496 mViewIdGenerator = savedState.getParcelable(KEY_VIEW_ID_GENERATOR); in onCreate()
498 mAutoAddToDefaultGroup = savedState.getBoolean(KEY_AUTO_ADD_TO_DEFAULT_GROUP); in onCreate()
499 mDisableDeleteMenuOption = savedState.getBoolean(KEY_DISABLE_DELETE_MENU_OPTION); in onCreate()
500 mNewLocalProfile = savedState.getBoolean(KEY_NEW_LOCAL_PROFILE); in onCreate()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInput.java71 public void saveState(final Bundle savedState) { in saveState() argument
72 savedState.putBoolean(mConversationInputBase.getInputStateKey(this), mShowing); in saveState()
75 public void restoreState(final Bundle savedState) { in restoreState() argument
77 if (savedState.getBoolean(mConversationInputBase.getInputStateKey(this))) { in restoreState()
DConversationInputManager.java125 final Bundle savedState) { in ConversationInputManager() argument
144 if (savedState != null) { in ConversationInputManager()
146 mInputs[i].restoreState(savedState); in ConversationInputManager()
158 public void onSaveInputState(final Bundle savedState) { in onSaveInputState() argument
160 mInputs[i].saveState(savedState); in onSaveInputState()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java60 protected void onCreate(Bundle savedState) { in onCreate() argument
82 super.onCreate(savedState); in onCreate()
90 mIsKeyguardLocked = savedState == null in onCreate()
92 : savedState.getBoolean(STATE_IS_KEYGUARD_LOCKED, false); in onCreate()
109 mRestoring = savedState != null; in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DSearchMenuItemController.kt39 savedState: Bundle?
50 if (savedState != null) {
51 mSearchMode = savedState.getBoolean(KEY_SEARCH_MODE, false)
52 queryText = savedState.getString(KEY_SEARCH_QUERY, "")
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorActivity.java314 public void onCreate(Bundle savedState) { in onCreate() argument
315 super.onCreate(savedState); in onCreate()
361 if (savedState != null) { in onCreate()
363 mPhotoMode = savedState.getInt(STATE_PHOTO_MODE); in onCreate()
364 mActionBarTitleResId = savedState.getInt(STATE_ACTION_BAR_TITLE); in onCreate()
365 mPhotoUri = Uri.parse(savedState.getString(STATE_PHOTO_URI)); in onCreate()
DContactSelectionActivity.java107 protected void onCreate(Bundle savedState) { in onCreate() argument
108 super.onCreate(savedState); in onCreate()
115 if (savedState != null) { in onCreate()
116 mActionCode = savedState.getInt(KEY_ACTION_CODE); in onCreate()
117 mIsSearchMode = savedState.getBoolean(KEY_SEARCH_MODE); in onCreate()
135 prepareSearchViewAndActionBar(savedState); in onCreate()
147 private void prepareSearchViewAndActionBar(Bundle savedState) { in prepareSearchViewAndActionBar() argument
158 mActionBarAdapter.initialize(savedState, mRequest); in prepareSearchViewAndActionBar()
DPeopleActivity.java345 protected void onCreate(Bundle savedState) { in onCreate() argument
352 super.onCreate(savedState); in onCreate()
390 if (savedState != null) { in onCreate()
391 mCurrentView = ContactsView.values()[savedState.getInt(KEY_CONTACTS_VIEW)]; in onCreate()
396 if (savedState != null && savedState.containsKey(KEY_NEW_GROUP_ACCOUNT)) { in onCreate()
398 savedState.getString(KEY_NEW_GROUP_ACCOUNT)); in onCreate()
404 mIsRecreatedInstance = (savedState != null); in onCreate()
407 mGroupUri = savedState.getParcelable(KEY_GROUP_URI); in onCreate()
DActionBarAdapter.java195 public void initialize(Bundle savedState, ContactsRequest request) { in initialize() argument
196 if (savedState == null) { in initialize()
201 mSearchMode = savedState.getBoolean(EXTRA_KEY_SEARCH_MODE); in initialize()
202 mSelectionMode = savedState.getBoolean(EXTRA_KEY_SELECTED_MODE); in initialize()
203 mQueryString = savedState.getString(EXTRA_KEY_QUERY); in initialize()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java99 @Nullable Bundle savedState) { in SearchViewManager() argument
100 this(listener, commandProcessor, new SearchChipViewManager(chipGroup), savedState, in SearchViewManager()
109 @Nullable Bundle savedState, in SearchViewManager() argument
123 if (savedState != null) { in SearchViewManager()
124 mCurrentSearch = savedState.getString(Shared.EXTRA_QUERY); in SearchViewManager()
125 mChipViewManager.restoreCheckedChipItems(savedState); in SearchViewManager()
/packages/services/Car/service/src/com/android/car/telemetry/
DScriptExecutor.java51 Bundle savedState, IScriptExecutorListener listener) { in invokeScript() argument
54 savedState, listener)); in invokeScript()
113 String functionName, Bundle publishedData, Bundle savedState, in nativeInvokeScript() argument
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetConfigure.java66 protected void onCreate(Bundle savedState) { in onCreate() argument
67 super.onCreate(savedState); in onCreate()
76 if (savedState == null) { in onCreate()
85 mPickedItem = savedState.getParcelable(KEY_PICKED_ITEM); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettings.java171 protected void onCreate(Bundle savedState) { in onCreate() argument
174 super.onCreate(savedState); in onCreate()
184 protected void onCreate(Bundle savedState) { in onCreate() argument
187 super.onCreate(savedState); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt81 override fun onCreate(savedState: Bundle?) { in onCreate()
82 super.onCreate(savedState) in onCreate()
84 savedState?.let { in onCreate()
92 savedState: Bundle? in onCreateView()
114 mAlarmTimeClickHandler = AlarmTimeClickHandler(this, savedState, mAlarmUpdateHandler, this) in onCreateView()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java173 SavedState savedState = (SavedState) state; in onRestoreInstanceState() local
174 super.onRestoreInstanceState(savedState.getSuperState()); in onRestoreInstanceState()
175 performSetChecked(savedState.isChecked); in onRestoreInstanceState()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java178 SavedState savedState = (SavedState) state; in onRestoreInstanceState() local
179 super.onRestoreInstanceState(savedState.getSuperState()); in onRestoreInstanceState()
180 performSetChecked(savedState.isChecked); in onRestoreInstanceState()

123