Home
last modified time | relevance | path

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

12345678910>>...37

/development/samples/ApiDemos/src/com/example/android/apis/app/
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()
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()
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
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()
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
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
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
DFragmentArgumentsFragment.java33 @Override public void onCreate(Bundle savedInstanceState) { in onCreate() argument
34 super.onCreate(savedInstanceState); in onCreate()
36 if (savedInstanceState == null) { in onCreate()
48 Bundle savedInstanceState) { in onCreateView() argument
/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/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/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/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsActivity.java36 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
37 super.onCreate(savedInstanceState); in onCreate()
39 if (savedInstanceState == null) { in onCreate()
/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()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMainActivity.java25 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
26 super.onCreate(savedInstanceState); in onCreate()
28 if (savedInstanceState == null) { in onCreate()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DImePreferences.java37 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
38 super.onCreate(savedInstanceState); in onCreate()
51 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
52 super.onCreate(savedInstanceState); in onCreate()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCameraActivity.java25 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
26 super.onCreate(savedInstanceState); in onCreate()
28 if (null == savedInstanceState) { in onCreate()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCameraActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
31 if (null == savedInstanceState) { in onCreate()
/development/samples/browseable/CardView/src/com.example.android.cardview/
DCardViewActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
31 if (savedInstanceState == null) { in onCreate()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCameraActivity.java25 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
26 super.onCreate(savedInstanceState); in onCreate()
28 if (null == savedInstanceState) { in onCreate()
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
31 if (savedInstanceState == null) { in onCreate()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DMainActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
31 if (savedInstanceState == null) { in onCreate()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
31 if (savedInstanceState == null) { in onCreate()

12345678910>>...37