OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:superstate
(Results
1 - 25
of
113
) sorted by null
1
2
3
4
5
/frameworks/base/core/java/android/view/
AbsSavedState.java
41
* @param
superState
The state of the superclass of this view
43
protected AbsSavedState(Parcelable
superState
) {
44
if (
superState
== null) {
45
throw new IllegalArgumentException("
superState
must not be null");
47
mSuperState =
superState
!= EMPTY_STATE ?
superState
: null;
67
Parcelable
superState
= source.readParcelable(loader);
68
mSuperState =
superState
!= null ?
superState
: EMPTY_STATE;
93
Parcelable
superState
= in.readParcelable(loader)
[
all
...]
/frameworks/support/customview/src/main/java/androidx/customview/view/
AbsSavedState.java
44
* @param
superState
The state of the superclass of this view
46
protected AbsSavedState(@NonNull Parcelable
superState
) {
47
if (
superState
== null) {
48
throw new IllegalArgumentException("
superState
must not be null");
50
mSuperState =
superState
!= EMPTY_STATE ?
superState
: null;
69
Parcelable
superState
= source.readParcelable(loader);
70
mSuperState =
superState
!= null ?
superState
: EMPTY_STATE;
91
Parcelable
superState
= in.readParcelable(loader)
[
all
...]
/cts/tests/tests/view/src/android/view/cts/
AbsSavedStateTest.java
58
AbsSavedState
superState
= new AbsSavedStateImpl(Parcel.obtain());
59
assertSame(AbsSavedState.EMPTY_STATE,
superState
.getSuperState());
61
AbsSavedState s = new AbsSavedStateImpl(
superState
);
62
assertSame(
superState
, s.getSuperState());
65
source.writeParcelable(
superState
, 0);
75
source.writeParcelable(
superState
, 0);
120
Parcelable
superState
= mock(Parcelable.class);
121
AbsSavedState savedState = new AbsSavedStateImpl(
superState
);
125
verify(
superState
).writeToParcel(eq(dest), eq(flags));
129
AbsSavedStateImpl(Parcelable
superState
) {
[
all
...]
View_BaseSavedStateTest.java
57
BaseSavedState
superState
= new BaseSavedState(Parcel.obtain());
58
assertEquals(AbsSavedState.EMPTY_STATE,
superState
.getSuperState());
60
BaseSavedState s = new BaseSavedState(
superState
);
61
assertEquals(
superState
, s.getSuperState());
64
source.writeParcelable(
superState
, 0);
71
source.writeParcelable(
superState
, 0);
98
Parcelable
superState
= mock(Parcelable.class);
99
BaseSavedState savedState = new BaseSavedState(
superState
);
103
verify(
superState
).writeToParcel(eq(dest), eq(flags));
/development/samples/ApiDemos/src/com/example/android/apis/preference/
MyPreference.java
104
final Parcelable
superState
= super.onSaveInstanceState();
107
return
superState
;
111
final SavedState myState = new SavedState(
superState
);
155
public SavedState(Parcelable
superState
) {
156
super(
superState
);
/frameworks/base/core/java/com/android/internal/preference/
YesNoPreference.java
101
final Parcelable
superState
= super.onSaveInstanceState();
104
return
superState
;
107
final SavedState myState = new SavedState(
superState
);
139
public SavedState(Parcelable
superState
) {
140
super(
superState
);
/frameworks/support/preference/src/main/java/androidx/preference/
EditTextPreference.java
103
final Parcelable
superState
= super.onSaveInstanceState();
106
return
superState
;
109
final SavedState myState = new SavedState(
superState
);
141
public SavedState(Parcelable
superState
) {
142
super(
superState
);
TwoStatePreference.java
240
final Parcelable
superState
= super.onSaveInstanceState();
243
return
superState
;
246
final SavedState myState = new SavedState(
superState
);
278
public SavedState(Parcelable
superState
) {
279
super(
superState
);
ListPreference.java
265
final Parcelable
superState
= super.onSaveInstanceState();
268
return
superState
;
271
final SavedState myState = new SavedState(
superState
);
303
public SavedState(Parcelable
superState
) {
304
super(
superState
);
MultiSelectListPreference.java
216
final Parcelable
superState
= super.onSaveInstanceState();
219
return
superState
;
222
final SavedState myState = new SavedState(
superState
);
253
SavedState(Parcelable
superState
) {
254
super(
superState
);
/packages/apps/Settings/src/com/android/settings/
PointerSpeedPreference.java
120
final Parcelable
superState
= super.onSaveInstanceState();
121
if (getDialog() == null || !getDialog().isShowing()) return
superState
;
124
final SavedState myState = new SavedState(
superState
);
164
public SavedState(Parcelable
superState
) {
165
super(
superState
);
/frameworks/base/core/java/android/preference/
EditTextPreference.java
186
final Parcelable
superState
= super.onSaveInstanceState();
189
return
superState
;
192
final SavedState myState = new SavedState(
superState
);
224
public SavedState(Parcelable
superState
) {
225
super(
superState
);
SeekBarPreference.java
180
final Parcelable
superState
= super.onSaveInstanceState();
183
return
superState
;
187
final SavedState myState = new SavedState(
superState
);
236
public SavedState(Parcelable
superState
) {
237
super(
superState
);
TwoStatePreference.java
230
final Parcelable
superState
= super.onSaveInstanceState();
233
return
superState
;
236
final SavedState myState = new SavedState(
superState
);
268
public SavedState(Parcelable
superState
) {
269
super(
superState
);
VolumePreference.java
170
final Parcelable
superState
= super.onSaveInstanceState();
173
return
superState
;
176
final SavedState myState = new SavedState(
superState
);
223
public SavedState(Parcelable
superState
) {
224
super(
superState
);
MultiCheckPreference.java
283
final Parcelable
superState
= super.onSaveInstanceState();
286
return
superState
;
289
final SavedState myState = new SavedState(
superState
);
321
public SavedState(Parcelable
superState
) {
322
super(
superState
);
MultiSelectListPreference.java
240
final Parcelable
superState
= super.onSaveInstanceState();
243
return
superState
;
246
final SavedState myState = new SavedState(
superState
);
265
public SavedState(Parcelable
superState
) {
266
super(
superState
);
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
AutoCompleteEditTextPreference.java
200
final Parcelable
superState
= super.onSaveInstanceState();
203
return
superState
;
206
final SavedState myState = new SavedState(
superState
);
238
public SavedState(Parcelable
superState
) {
239
super(
superState
);
ContactPreference.java
261
final Parcelable
superState
= super.onSaveInstanceState();
263
return
superState
;
265
final SavedState myState = new SavedState(
superState
);
302
public SavedState(Parcelable
superState
) {
303
super(
superState
);
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
AttachmentGridView.java
102
final Parcelable
superState
= super.onSaveInstanceState();
103
final SavedState savedState = new SavedState(
superState
);
133
SavedState(final Parcelable
superState
) {
134
super(
superState
);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
CollapsibleCheckboxPreferenceGroup.java
157
final Parcelable
superState
= super.onSaveInstanceState();
159
final SavedState myState = new SavedState(
superState
);
206
public SavedState(Parcelable
superState
) {
207
super(
superState
);
/packages/apps/Settings/src/com/android/settings/accessibility/
ListDialogPreference.java
235
final Parcelable
superState
= super.onSaveInstanceState();
238
return
superState
;
241
final SavedState myState = new SavedState(
superState
);
309
public SavedState(Parcelable
superState
) {
310
super(
superState
);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
PersistentFocusWrapper.java
139
SavedState(Parcelable
superState
) {
140
super(
superState
);
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
BasicTest.java
94
Bundle
superState
= createIntBundle(42);
95
ViewPager2.SavedState state = new ViewPager2.SavedState(
superState
);
/packages/apps/Email/src/com/android/email/view/
CertificateSelector.java
136
SavedState(Parcelable
superState
, String value) {
137
super(
superState
);
Completed in 1357 milliseconds
1
2
3
4
5