/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListFragment.java | 280 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 …]
|
D | ContactPickerFragment.java | 79 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()
|
D | GroupMemberPickerFragment.java | 194 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()
|
D | ContactBrowseListFragment.java | 221 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()
|
D | PhoneNumberPickerFragment.java | 103 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()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsForSetupWizardActivity.java | 49 protected void onSaveInstanceState(Bundle savedState) { in onSaveInstanceState() argument 50 savedState.putCharSequence(SAVE_KEY_TITLE, getTitle()); in onSaveInstanceState() 51 super.onSaveInstanceState(savedState); in onSaveInstanceState() 55 protected void onRestoreInstanceState(Bundle savedState) { in onRestoreInstanceState() argument 56 super.onRestoreInstanceState(savedState); in onRestoreInstanceState() 57 setTitle(savedState.getCharSequence(SAVE_KEY_TITLE)); in onRestoreInstanceState() 96 protected void onCreate(Bundle savedState) { in onCreate() argument 97 super.onCreate(savedState); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 476 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/mediapicker/ |
D | GalleryGridView.java | 239 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | AccessibilitySettingsForSetupWizardActivity.java | 37 protected void onSaveInstanceState(Bundle savedState) { in onSaveInstanceState() argument 38 savedState.putCharSequence(SAVE_KEY_TITLE, getTitle()); in onSaveInstanceState() 39 super.onSaveInstanceState(savedState); in onSaveInstanceState() 43 protected void onRestoreInstanceState(Bundle savedState) { in onRestoreInstanceState() argument 44 super.onRestoreInstanceState(savedState); in onRestoreInstanceState() 45 setTitle(savedState.getCharSequence(SAVE_KEY_TITLE)); in onRestoreInstanceState()
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentGridView.java | 103 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/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationListFragment.java | 309 public void onActivityCreated(Bundle savedState) { in onActivityCreated() argument 310 super.onActivityCreated(savedState); in onActivityCreated() 358 view.bindFragment(manager, savedState); in onActivityCreated() 421 if (savedState != null) { in onActivityCreated() 425 choice = savedState.getInt(CHOICE_MODE_KEY, choice); in onActivityCreated() 426 if (savedState.containsKey(LIST_STATE_KEY)) { in onActivityCreated() 458 public void onCreate(Bundle savedState) { in onCreate() argument 459 super.onCreate(savedState); in onCreate() 507 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument 539 if (savedState != null && savedState.containsKey(LIST_STATE_KEY)) { in onCreateView() [all …]
|
D | AbstractConversationViewFragment.java | 233 public void onCreate(Bundle savedState) { in onCreate() argument 234 super.onCreate(savedState); in onCreate() 243 if (savedState != null) { in onCreate() 244 mViewState = savedState.getParcelable(BUNDLE_VIEW_STATE); in onCreate() 245 mUserVisible = savedState.getBoolean(BUNDLE_USER_VISIBLE); in onCreate() 246 mIsDetached = savedState.getBoolean(BUNDLE_DETACHED, false); in onCreate() 248 savedState.getBoolean(BUNDLE_KEY_HAS_CONVERSATION_BEEN_TRANSFORMED, false); in onCreate() 250 savedState.getBoolean(BUNDLE_KEY_HAS_CONVERSATION_BEEN_REVERTED, false); in onCreate()
|
D | TwoPaneController.java | 208 public void onCreate(Bundle savedState) { in onCreate() argument 224 if (savedState != null) { in onCreate() 225 mSavedMiscellaneousView = savedState.getBoolean(SAVED_MISCELLANEOUS_VIEW, false); in onCreate() 227 savedState.getInt(SAVED_MISCELLANEOUS_VIEW_TRANSACTION_ID, -1); in onCreate() 235 super.onCreate(savedState); in onCreate() 238 if (savedState != null) { in onCreate() 239 mCurrentConversationJustPeeking = savedState.getBoolean(SAVED_PEEK_MODE, in onCreate() 241 mSavedPeekingConversation = savedState.getParcelable(SAVED_PEEKING_CONVERSATION); in onCreate()
|
D | FolderListFragment.java | 301 public void onActivityCreated(Bundle savedState) { in onActivityCreated() argument 302 super.onActivityCreated(savedState); in onActivityCreated() 466 Bundle savedState) { in onCreateView() argument 474 if (savedState != null && savedState.containsKey(BUNDLE_LIST_STATE)) { in onCreateView() 475 mListView.onRestoreInstanceState(savedState.getParcelable(BUNDLE_LIST_STATE)); in onCreateView() 477 if (savedState != null && savedState.containsKey(BUNDLE_SELECTED_FOLDER)) { in onCreateView() 479 new FolderUri(Uri.parse(savedState.getString(BUNDLE_SELECTED_FOLDER))); in onCreateView() 480 mSelectedDrawerItemCategory = savedState.getInt(BUNDLE_SELECTED_ITEM_TYPE); in onCreateView() 481 mSelectedFolderType = savedState.getInt(BUNDLE_SELECTED_TYPE); in onCreateView() 486 if (savedState != null) { in onCreateView() [all …]
|
D | AbstractActivityController.java | 1298 public void onCreate(Bundle savedState) { in onCreate() argument 1343 savedState); in onCreate() 1350 if (savedState != null) { in onCreate() 1351 if (savedState.containsKey(SAVED_ACCOUNT)) { in onCreate() 1352 setAccount((Account) savedState.getParcelable(SAVED_ACCOUNT)); in onCreate() 1354 if (savedState.containsKey(SAVED_FOLDER)) { in onCreate() 1355 final Folder folder = savedState.getParcelable(SAVED_FOLDER); in onCreate() 1356 final String query = savedState.getString(SAVED_QUERY, null); in onCreate() 1359 if (savedState.containsKey(SAVED_ACTION)) { in onCreate() 1360 mDialogAction = savedState.getInt(SAVED_ACTION); in onCreate() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiScanWorkerTest.java | 202 final Bundle savedState = new Bundle(); in getIntentWithAccessPoint() local 203 savedState.putString("key_ssid", ssid); in getIntentWithAccessPoint() 204 return new Intent().putExtra(KEY_ACCESS_POINT_STATE, savedState); in getIntentWithAccessPoint() 216 final Bundle savedState = new Bundle(); in createAccessPoint() local 217 savedState.putString("key_ssid", ssid); in createAccessPoint() 218 savedState.putParcelable("key_networkinfo", info); in createAccessPoint() 219 return new AccessPoint(mContext, savedState); in createAccessPoint()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationInput.java | 71 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()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseActivity.java | 70 protected void onCreate(Bundle savedState) { in onCreate() argument 91 super.onCreate(savedState); in onCreate() 102 mIsKeyguardLocked = savedState == null in onCreate() 104 : savedState.getBoolean(STATE_IS_KEYGUARD_LOCKED, false); in onCreate() 121 mRestoring = savedState != null; in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ConfirmDeviceCredentialBaseActivity.java | 70 protected void onCreate(Bundle savedState) { in onCreate() argument 91 super.onCreate(savedState); in onCreate() 103 mIsKeyguardLocked = savedState == null in onCreate() 105 : savedState.getBoolean(STATE_IS_KEYGUARD_LOCKED, false); in onCreate() 122 mRestoring = savedState != null; in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorActivity.java | 314 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()
|
D | ContactSelectionActivity.java | 107 protected void onCreate(Bundle savedState) { in onCreate() argument 108 super.onCreate(savedState); in onCreate() 112 if (savedState != null) { in onCreate() 113 mActionCode = savedState.getInt(KEY_ACTION_CODE); in onCreate() 114 mIsSearchMode = savedState.getBoolean(KEY_SEARCH_MODE); in onCreate() 132 prepareSearchViewAndActionBar(savedState); in onCreate() 144 private void prepareSearchViewAndActionBar(Bundle savedState) { in prepareSearchViewAndActionBar() argument 155 mActionBarAdapter.initialize(savedState, mRequest); in prepareSearchViewAndActionBar()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | GesturePreferenceControllerTest.java | 92 final Bundle savedState = new Bundle(); in onResume_shouldStartVideoPreferenceWithVideoPauseState() local 99 savedState.putBoolean(GesturePreferenceController.KEY_VIDEO_PAUSED, true); in onResume_shouldStartVideoPreferenceWithVideoPauseState() 100 mController.onCreate(savedState); in onResume_shouldStartVideoPreferenceWithVideoPauseState() 105 savedState.putBoolean(GesturePreferenceController.KEY_VIDEO_PAUSED, false); in onResume_shouldStartVideoPreferenceWithVideoPauseState() 106 mController.onCreate(savedState); in onResume_shouldStartVideoPreferenceWithVideoPauseState()
|
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
D | SearchMenuItemController.java | 52 Bundle savedState) { in SearchMenuItemController() argument 57 if (savedState != null) { in SearchMenuItemController() 58 mSearchMode = savedState.getBoolean(KEY_SEARCH_MODE, false); in SearchMenuItemController() 59 mQuery = savedState.getString(KEY_SEARCH_QUERY, ""); in SearchMenuItemController()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 97 @Nullable Bundle savedState) { in SearchViewManager() argument 98 this(listener, commandProcessor, new SearchChipViewManager(chipGroup), savedState, in SearchViewManager() 107 @Nullable Bundle savedState, in SearchViewManager() argument 121 if (savedState != null) { in SearchViewManager() 122 mCurrentSearch = savedState.getString(Shared.EXTRA_QUERY); in SearchViewManager() 123 mChipViewManager.restoreCheckedChipItems(savedState); in SearchViewManager()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmClockFragment.java | 103 public void onCreate(Bundle savedState) { in onCreate() argument 104 super.onCreate(savedState); in onCreate() 106 if (savedState != null) { in onCreate() 107 mExpandedAlarmId = savedState.getLong(KEY_EXPANDED_ID, Alarm.INVALID_ID); in onCreate() 112 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument 135 mAlarmTimeClickHandler = new AlarmTimeClickHandler(this, savedState, mAlarmUpdateHandler, in onCreateView()
|