Home
last modified time | relevance | path

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

12345678910>>...16

/developers/samples/android/ui/window/MultiWindowPlayground/kotlinApp/Application/src/main/java/com/android/multiwindowplayground/activities/
DLoggingActivity.kt42 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
43 super.onCreate(savedInstanceState) in onCreate()
47 override fun onCreate(savedInstanceState: Bundle?, persistentState: PersistableBundle?) { in onCreate()
48 super.onCreate(savedInstanceState, persistentState) in onCreate()
60 override fun onRestoreInstanceState(savedInstanceState: Bundle?) { in onRestoreInstanceState()
61 super.onRestoreInstanceState(savedInstanceState) in onRestoreInstanceState()
65 …override fun onRestoreInstanceState(savedInstanceState: Bundle?, persistentState: PersistableBundl… in onRestoreInstanceState()
66 super.onRestoreInstanceState(savedInstanceState, persistentState) in onRestoreInstanceState()
75 override fun onPostCreate(savedInstanceState: Bundle?) { in onPostCreate()
76 super.onPostCreate(savedInstanceState) in onPostCreate()
[all …]
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DRecyclerViewFragment.kt42 override fun onCreate(savedInstanceState: Bundle?) { in <lambda>()
43 super.onCreate(savedInstanceState) in <lambda>()
52 savedInstanceState: Bundle?): View? { in <lambda>()
65 if (savedInstanceState != null) { in <lambda>()
67 currentLayoutManagerType = savedInstanceState in <lambda>()
118 override fun onSaveInstanceState(savedInstanceState: Bundle) { in <lambda>()
121 savedInstanceState.putSerializable(KEY_LAYOUT_MANAGER, currentLayoutManagerType) in <lambda>()
122 super.onSaveInstanceState(savedInstanceState) in <lambda>()
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DControlsActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
43 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
44 super.onCreate(savedInstanceState); in onCreate()
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/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()
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/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()
/developers/samples/android/ui/views/RevealEffect/RevealEffectBasic/Application/src/main/java/com/example/android/revealeffectbasic/
DRevealEffectBasicFragment.java38 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
39 super.onCreate(savedInstanceState); in onCreate()
45 Bundle savedInstanceState) { in onCreateView() argument
50 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { in onViewCreated() argument
73 super.onViewCreated(view, savedInstanceState); in onViewCreated()
/developers/samples/android/ui/views/CardView/kotlinApp/Application/src/main/java/com/example/android/cardview/
DCardViewActivity.kt27 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
28 super.onCreate(savedInstanceState) in onCreate()
30 if (savedInstanceState == null) { in onCreate()
/developers/samples/android/notification/MessagingService/Application/src/main/java/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()
/developers/samples/android/ui/views/CardView/Application/src/main/java/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()
DCardViewFragment.java68 public void onCreate(Bundle savedInstanceState) { in onCreate() argument
69 super.onCreate(savedInstanceState); in onCreate()
74 Bundle savedInstanceState) { in onCreateView() argument
80 public void onViewCreated(View view, Bundle savedInstanceState) { in onViewCreated() argument
81 super.onViewCreated(view, savedInstanceState); in onViewCreated()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DMainActivity.kt27 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
28 super.onCreate(savedInstanceState) in onCreate()
31 if (savedInstanceState == null) { in onCreate()
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
DCameraActivity.kt24 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
25 super.onCreate(savedInstanceState) in onCreate()
27 savedInstanceState ?: supportFragmentManager.beginTransaction() in onCreate()
/developers/samples/android/media/Camera2Raw/Application/src/main/java/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()
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DCameraActivity.kt24 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
25 super.onCreate(savedInstanceState) in onCreate()
27 savedInstanceState ?: supportFragmentManager.beginTransaction() in onCreate()
/developers/samples/android/media/Camera2Video/Application/src/main/java/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()
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DDirectorySelectionActivity.java29 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
30 super.onCreate(savedInstanceState); in onCreate()
32 if (savedInstanceState == null) { in onCreate()
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/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()
/developers/samples/android/security/DirectBoot/Application/src/main/java/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()
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DMainActivity.java28 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
29 super.onCreate(savedInstanceState); in onCreate()
32 if (savedInstanceState == null) { in onCreate()
/developers/samples/android/media/Camera2Basic/Application/src/main/java/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()
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DMainActivity.java30 protected void onCreate(Bundle savedInstanceState) { in onCreate() argument
31 super.onCreate(savedInstanceState); in onCreate()
34 if (savedInstanceState == null) { in onCreate()
/developers/samples/android/media/ScreenCapture/Application/src/main/java/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()
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/Application/src/main/java/com/example/android/pdfrendererbasic/
DMainActivity.kt33 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
34 super.onCreate(savedInstanceState) in onCreate()
36 if (savedInstanceState == null) { in onCreate()
59 override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { in onCreateDialog()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/photo/
DPhotoFragment.kt29 override fun onCreate(savedInstanceState: Bundle?) { in onCreate()
30 super.onCreate(savedInstanceState) in onCreate()
34 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in onCreateView()
38 override fun onViewCreated(view: View, savedInstanceState: Bundle?) { in onViewCreated()
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/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()

12345678910>>...16