Home
last modified time | relevance | path

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

12345678910>>...37

/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentRetainInstance.java40 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
41 super.onCreate(savedInstanceState); in onCreate()
44 if (savedInstanceState == null) { in onCreate()
59 Bundle savedInstanceState) { in onCreateView() argument
74 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
75 super.onActivityCreated(savedInstanceState); in onActivityCreated()
156 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
157 super.onCreate(savedInstanceState); in onCreate()
174 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
175 super.onActivityCreated(savedInstanceState); in onActivityCreated()
DActivityRecreate.java31 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
32 super.onCreate(savedInstanceState); in onCreate()
34 if (savedInstanceState != null) { in onCreate()
35 mCurTheme = savedInstanceState.getInt("theme"); in onCreate()
60 protected void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
61 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
62 savedInstanceState.putInt("theme", mCurTheme); in onSaveInstanceState()
DFragmentArguments.java38 @Override protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
39 super.onCreate(savedInstanceState); in onCreate()
42 if (savedInstanceState == null) { in onCreate()
73 Bundle savedInstanceState) { in onInflate() argument
74 super.onInflate(activity, attrs, savedInstanceState); in onInflate()
86 @Override public void onCreate(Bundle savedInstanceState) { in onCreate() argument
87 super.onCreate(savedInstanceState); in onCreate()
99 Bundle savedInstanceState) { in onCreateView() argument
DFragmentLayout.java47 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
48 super.onCreate(savedInstanceState); in onCreate()
62 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
63 super.onCreate(savedInstanceState); in onCreate()
73 if (savedInstanceState == null) { in onCreate()
94 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
95 super.onActivityCreated(savedInstanceState); in onActivityCreated()
106 if (savedInstanceState != null) { in onActivityCreated()
108 mCurCheckPosition = savedInstanceState.getInt("curChoice", 0); in onActivityCreated()
201 Bundle savedInstanceState) { in onCreateView() argument
DFragmentMenu.java50 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
51 super.onCreate(savedInstanceState); in onCreate()
80 protected void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
81 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
104 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
105 super.onCreate(savedInstanceState); in onCreate()
122 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
123 super.onCreate(savedInstanceState); in onCreate()
DFragmentStack.java36 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
37 super.onCreate(savedInstanceState); in onCreate()
54 if (savedInstanceState == null) { in onCreate()
60 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
110 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
111 super.onCreate(savedInstanceState); in onCreate()
121 Bundle savedInstanceState) { in onCreateView() argument
DFragmentCustomAnimations.java40 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
41 super.onCreate(savedInstanceState); in onCreate()
52 if (savedInstanceState == null) { in onCreate()
58 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
111 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
112 super.onCreate(savedInstanceState); in onCreate()
122 Bundle savedInstanceState) { in onCreateView() argument
DFragmentDialog.java37 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
38 super.onCreate(savedInstanceState); in onCreate()
55 if (savedInstanceState != null) { in onCreate()
56 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
121 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
122 super.onCreate(savedInstanceState); in onCreate()
149 Bundle savedInstanceState) { in onCreateView() argument
DFragmentTabsFragment.java39 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
40 super.onCreate(savedInstanceState); in onCreate()
47 Bundle savedInstanceState) { in onCreateView() argument
64 public void onViewStateRestored(Bundle savedInstanceState) { in onViewStateRestored() argument
65 super.onViewStateRestored(savedInstanceState); in onViewStateRestored()
66 mTabManager.handleViewStateRestored(savedInstanceState); in onViewStateRestored()
151 public void handleViewStateRestored(Bundle savedInstanceState) { in handleViewStateRestored() argument
152 if (savedInstanceState != null) { in handleViewStateRestored()
153 mCurrentTabTag = savedInstanceState.getString("tab"); in handleViewStateRestored()
DFragmentReceiveResult.java38 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
39 super.onCreate(savedInstanceState); in onCreate()
47 if (savedInstanceState == null) { in onCreate()
71 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
72 super.onCreate(savedInstanceState); in onCreate()
82 Bundle savedInstanceState) { in onCreateView() argument
DFragmentStackFragment.java34 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
35 super.onCreate(savedInstanceState); in onCreate()
37 if (savedInstanceState == null) { in onCreate()
43 mStackLevel = savedInstanceState.getInt("level"); in onCreate()
49 Bundle savedInstanceState) { in onCreateView() argument
DFragmentHideShow.java39 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
40 super.onCreate(savedInstanceState); in onCreate()
80 Bundle savedInstanceState) { in onCreateView() argument
87 if (savedInstanceState != null) { in onCreateView()
88 mTextView.setText(savedInstanceState.getCharSequence("text")); in onCreateView()
106 Bundle savedInstanceState) { in onCreateView() argument
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsReaderActivity.java74 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
75 super.onCreate(savedInstanceState); in onCreate()
93 int catIndex = savedInstanceState == null ? 0 : savedInstanceState.getInt("catIndex", 0); in onCreate()
98 restoreSelection(savedInstanceState); in onCreate()
108 void restoreSelection(Bundle savedInstanceState) { in restoreSelection() argument
109 if (savedInstanceState != null) { in restoreSelection()
110 setNewsCategory(savedInstanceState.getInt("catIndex", 0)); in restoreSelection()
112 int artIndex = savedInstanceState.getInt("artIndex", 0); in restoreSelection()
120 public void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
121 restoreSelection(savedInstanceState); in onRestoreInstanceState()
/development/samples/MultiWindow/src/com/example/android/multiwindow/
DLaunchingAdjacentActivity.java33 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
34 super.onCreate(savedInstanceState); in onCreate()
40 if (savedInstanceState != null) { in onCreate()
41 mInstanceNumber = savedInstanceState.getInt(INSTANCE_NUMBER_KEY); in onCreate()
89 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
90 savedInstanceState.putInt(INSTANCE_NUMBER_KEY, mInstanceNumber); in onSaveInstanceState()
91 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DRecyclerViewFragment.java56 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
57 super.onCreate(savedInstanceState); in onCreate()
66 Bundle savedInstanceState) { in onCreateView() argument
80 if (savedInstanceState != null) { in onCreateView()
82 mCurrentLayoutManagerType = (LayoutManagerType) savedInstanceState in onCreateView()
144 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
146 savedInstanceState.putSerializable(KEY_LAYOUT_MANAGER, mCurrentLayoutManagerType); in onSaveInstanceState()
147 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabCompatActivity.java39 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
40 super.onCreate(savedInstanceState); in onCreate()
51 protected void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
52 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
53 mTabHelper.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java65 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
66 super.onCreate(savedInstanceState); in onCreate()
67 if (savedInstanceState != null) { in onCreate()
68 mResultCode = savedInstanceState.getInt(STATE_RESULT_CODE); in onCreate()
69 mResultData = savedInstanceState.getParcelable(STATE_RESULT_DATA); in onCreate()
75 …public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
80 public void onViewCreated(View view, Bundle savedInstanceState) { in onViewCreated() argument
88 public void onActivityCreated(Bundle savedInstanceState) { in onActivityCreated() argument
89 super.onActivityCreated(savedInstanceState); in onActivityCreated()
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java57 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
58 super.onCreate(savedInstanceState); in onCreate()
98 if (savedInstanceState != null) { in onCreate()
100 savedInstanceState.getParcelable(INPUT_CONTENT_INFO_KEY)); in onCreate()
101 final int previousFlags = savedInstanceState.getInt(COMMIT_CONTENT_FLAGS_KEY); in onCreate()
174 public void onSaveInstanceState(Bundle savedInstanceState) { in onSaveInstanceState() argument
176 savedInstanceState.putParcelable(INPUT_CONTENT_INFO_KEY, in onSaveInstanceState()
178 savedInstanceState.putInt(COMMIT_CONTENT_FLAGS_KEY, mCurrentFlags); in onSaveInstanceState()
182 super.onSaveInstanceState(savedInstanceState); in onSaveInstanceState()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DSettingsActivity.java26 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
27 super.onCreate(savedInstanceState); in onCreate()
40 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
41 super.onCreate(savedInstanceState); in onCreate()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DSettingsActivity.java26 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
27 super.onCreate(savedInstanceState); in onCreate()
40 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
41 super.onCreate(savedInstanceState); in onCreate()
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/activities/
DLoggingActivity.java44 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
45 super.onCreate(savedInstanceState); in onCreate()
52 public void onPostCreate(Bundle savedInstanceState, PersistableBundle persistentState) { in onPostCreate() argument
53 super.onPostCreate(savedInstanceState, persistentState); in onPostCreate()
82 protected void onPostCreate(Bundle savedInstanceState) { in onPostCreate() argument
83 super.onPostCreate(savedInstanceState); in onPostCreate()
/development/samples/MultiResolution/src/com/example/android/multires/
DMultiRes.java36 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
37 super.onCreate(savedInstanceState); in onCreate()
60 protected void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
61 mCurrentPhotoIndex = savedInstanceState.getInt("photo_index"); in onRestoreInstanceState()
63 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java60 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
61 super.onCreate(savedInstanceState); in onCreate()
66 if (savedInstanceState != null) { in onCreate()
68 savedInstanceState.getBoolean(EXTRA_AUTH_STATE_PENDING, false); in onCreate()
122 protected void onRestoreInstanceState(Bundle savedInstanceState) { in onRestoreInstanceState() argument
123 super.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState()
125 if (savedInstanceState != null) { in onRestoreInstanceState()
127 savedInstanceState.getBoolean(EXTRA_AUTH_STATE_PENDING, false); in onRestoreInstanceState()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java158 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
159 super.onCreate(savedInstanceState); in onCreate()
164 …public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument
199 if (savedInstanceState != null) { in onCreateView()
201 mBlendSpinner.setSelection(savedInstanceState.getInt(STATE_BLEND)); in onCreateView()
202 mAlphaBar.setProgress(savedInstanceState.getInt(STATE_ALPHA)); in onCreateView()
203 mRedBar.setProgress(savedInstanceState.getInt(STATE_RED)); in onCreateView()
204 mGreenBar.setProgress(savedInstanceState.getInt(STATE_GREEN)); in onCreateView()
205 mBlueBar.setProgress(savedInstanceState.getInt(STATE_BLUE)); in onCreateView()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentActivity.java15 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
16 super.onCreate(savedInstanceState); in onCreate()
23 } else if (savedInstanceState != null) { in onCreate()
25 mThemeId = savedInstanceState.getInt("theme"); in onCreate()

12345678910>>...37