Home
last modified time | relevance | path

Searched refs:Parcelable (Results 1 – 25 of 987) sorted by relevance

12345678910>>...40

/frameworks/base/core/java/android/view/
DAbsSavedState.java20 import android.os.Parcelable;
26 public abstract class AbsSavedState implements Parcelable {
29 private final Parcelable mSuperState;
43 protected AbsSavedState(Parcelable superState) { in AbsSavedState()
67 Parcelable superState = source.readParcelable(loader); in AbsSavedState()
71 final public Parcelable getSuperState() { in getSuperState()
83 public static final Parcelable.Creator<AbsSavedState> CREATOR
84 = new Parcelable.ClassLoaderCreator<AbsSavedState>() {
93 Parcelable superState = in.readParcelable(loader);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DViewsStateBundle.java17 import android.os.Parcelable;
51 private LruCache<String, SparseArray<Parcelable>> mChildStates;
77 Map<String, SparseArray<Parcelable>> snapshot = mChildStates.snapshot(); in saveAsBundle()
79 for (Iterator<Entry<String, SparseArray<Parcelable>>> i = in saveAsBundle()
81 Entry<String, SparseArray<Parcelable>> e = i.next(); in saveAsBundle()
135 mChildStates = new LruCache<String, SparseArray<Parcelable>>(mLimitNumber); in applyPolicyChanges()
139 mChildStates = new LruCache<String, SparseArray<Parcelable>>(UNLIMITED); in applyPolicyChanges()
157 SparseArray<Parcelable> container = mChildStates.remove(key); in loadView()
173 SparseArray<Parcelable> container = new SparseArray<Parcelable>(); in saveViewUnchecked()
190 SparseArray<Parcelable> container = new SparseArray<Parcelable>(); in saveOnScreenView()
/frameworks/support/core-ui/java/android/support/v4/view/
DAbsSavedState.java20 import android.os.Parcelable;
26 public abstract class AbsSavedState implements Parcelable {
29 private final Parcelable mSuperState;
43 protected AbsSavedState(Parcelable superState) { in AbsSavedState()
66 Parcelable superState = source.readParcelable(loader); in AbsSavedState()
70 public final Parcelable getSuperState() { in getSuperState()
87 Parcelable superState = in.readParcelable(loader);
/frameworks/base/core/java/android/os/
DBundle.java36 public final class Bundle extends BaseBundle implements Cloneable, Parcelable {
328 if (obj instanceof Parcelable) { in hasFileDescriptors()
329 if ((((Parcelable)obj).describeContents() in hasFileDescriptors()
330 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0) { in hasFileDescriptors()
334 } else if (obj instanceof Parcelable[]) { in hasFileDescriptors()
335 Parcelable[] array = (Parcelable[]) obj; in hasFileDescriptors()
337 Parcelable p = array[n]; in hasFileDescriptors()
339 & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0)) { in hasFileDescriptors()
345 SparseArray<? extends Parcelable> array = in hasFileDescriptors()
346 (SparseArray<? extends Parcelable>) obj; in hasFileDescriptors()
[all …]
DVibrationEffect.java28 public abstract class VibrationEffect implements Parcelable {
202 public static class OneShot extends VibrationEffect implements Parcelable {
265 public static final Parcelable.Creator<OneShot> CREATOR =
266 new Parcelable.Creator<OneShot>() {
281 public static class Waveform extends VibrationEffect implements Parcelable {
388 public static final Parcelable.Creator<Waveform> CREATOR =
389 new Parcelable.Creator<Waveform>() {
404 public static class Prebaked extends VibrationEffect implements Parcelable {
469 public static final Parcelable.Creator<Prebaked> CREATOR =
470 new Parcelable.Creator<Prebaked>() {
[all …]
DBatteryProperty.java19 import android.os.Parcelable;
29 public class BatteryProperty implements Parcelable {
63 public static final Parcelable.Creator<BatteryProperty> CREATOR
64 = new Parcelable.Creator<BatteryProperty>() {
/frameworks/base/core/java/android/content/pm/
DParceledListSlice.java20 import android.os.Parcelable;
33 public class ParceledListSlice<T extends Parcelable> extends BaseParceledListSlice<T> {
42 public static <T extends Parcelable> ParceledListSlice<T> emptyList() { in emptyList()
63 dest.writeParcelableCreator((Parcelable) parcelable); in writeParcelableCreator()
67 protected Parcelable.Creator<?> readParcelableCreator(Parcel from, ClassLoader loader) { in readParcelableCreator()
72 public static final Parcelable.ClassLoaderCreator<ParceledListSlice> CREATOR =
73 new Parcelable.ClassLoaderCreator<ParceledListSlice>() {
/frameworks/native/libs/binder/include/binder/
DParcelable.h35 class Parcelable {
37 virtual ~Parcelable() = default;
39 Parcelable() = default;
40 Parcelable(const Parcelable&) = default;
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DObservableParcelable.java20 import android.os.Parcelable;
39 public class ObservableParcelable<T extends Parcelable> extends ObservableField<T>
40 implements Parcelable, Serializable {
68 public static final Parcelable.Creator<ObservableParcelable> CREATOR
69 = new Parcelable.Creator<ObservableParcelable>() {
/frameworks/base/telecomm/java/android/telecom/
DTelecomAnalytics.java21 import android.os.Parcelable;
30 public final class TelecomAnalytics implements Parcelable {
31 public static final Parcelable.Creator<TelecomAnalytics> CREATOR =
32 new Parcelable.Creator<TelecomAnalytics> () {
45 public static final class SessionTiming extends TimedEvent<Integer> implements Parcelable {
46 public static final Parcelable.Creator<SessionTiming> CREATOR =
47 new Parcelable.Creator<SessionTiming> () {
DParcelableCallAnalytics.java21 import android.os.Parcelable;
31 public class ParcelableCallAnalytics implements Parcelable {
33 public static final class VideoEvent implements Parcelable {
39 public static final Parcelable.Creator<VideoEvent> CREATOR =
40 new Parcelable.Creator<VideoEvent> () {
94 public static final class AnalyticsEvent implements Parcelable {
138 public static final Parcelable.Creator<AnalyticsEvent> CREATOR =
139 new Parcelable.Creator<AnalyticsEvent> () {
185 public static final class EventTiming implements Parcelable {
201 public static final Parcelable.Creator<EventTiming> CREATOR =
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbConfiguration.java22 import android.os.Parcelable;
38 public class UsbConfiguration implements Parcelable {
46 private @Nullable Parcelable[] mInterfaces;
139 public void setInterfaces(@NonNull Parcelable[] interfaces) { in setInterfaces()
156 public static final Parcelable.Creator<UsbConfiguration> CREATOR =
157 new Parcelable.Creator<UsbConfiguration>() {
163 Parcelable[] interfaces = in.readParcelableArray(UsbInterface.class.getClassLoader());
DUsbInterface.java21 import android.os.Parcelable;
37 public class UsbInterface implements Parcelable {
47 private Parcelable[] mEndpoints;
146 public void setEndpoints(Parcelable[] endpoints) { in setEndpoints()
165 public static final Parcelable.Creator<UsbInterface> CREATOR =
166 new Parcelable.Creator<UsbInterface>() {
174 Parcelable[] endpoints = in.readParcelableArray(UsbEndpoint.class.getClassLoader());
/frameworks/support/design/src/android/support/design/internal/
DParcelableSparseArray.java22 import android.os.Parcelable;
30 public class ParcelableSparseArray extends SparseArray<Parcelable> implements Parcelable {
41 Parcelable[] values = source.readParcelableArray(loader); in ParcelableSparseArray()
56 Parcelable[] values = new Parcelable[size]; in writeToParcel()
/frameworks/base/core/java/android/net/
DIpSecUdpEncapResponse.java20 import android.os.Parcelable;
30 public final class IpSecUdpEncapResponse implements Parcelable {
47 return (fileDescriptor != null) ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents()
55 out.writeParcelable(fileDescriptor, Parcelable.PARCELABLE_WRITE_RETURN_VALUE); in writeToParcel()
86 public static final Parcelable.Creator<IpSecUdpEncapResponse> CREATOR =
87 new Parcelable.Creator<IpSecUdpEncapResponse>() {
DMatchAllNetworkSpecifier.java20 import android.os.Parcelable;
30 public final class MatchAllNetworkSpecifier extends NetworkSpecifier implements Parcelable {
71 public static final Parcelable.Creator<MatchAllNetworkSpecifier> CREATOR =
72 new Parcelable.Creator<MatchAllNetworkSpecifier>() {
/frameworks/base/core/java/com/android/internal/preference/
DYesNoPreference.java22 import android.os.Parcelable;
100 protected Parcelable onSaveInstanceState() { in onSaveInstanceState()
101 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
113 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState()
139 public SavedState(Parcelable superState) { in SavedState()
143 public static final Parcelable.Creator<SavedState> CREATOR =
144 new Parcelable.Creator<SavedState>() {
/frameworks/support/v7/preference/src/android/support/v7/preference/
DEditTextPreference.java22 import android.os.Parcelable;
101 protected Parcelable onSaveInstanceState() { in onSaveInstanceState()
102 final Parcelable superState = super.onSaveInstanceState(); in onSaveInstanceState()
114 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState()
140 public SavedState(Parcelable superState) { in SavedState()
144 public static final Parcelable.Creator<SavedState> CREATOR =
145 new Parcelable.Creator<SavedState>() {
/frameworks/base/core/java/android/net/metrics/
DIpConnectivityLog.java21 import android.os.Parcelable;
95 public boolean log(long timestamp, Parcelable data) { in log()
107 public boolean log(String ifname, Parcelable data) { in log()
121 public boolean log(int netid, int[] transports, Parcelable data) { in log()
133 public boolean log(Parcelable data) { in log()
137 private static ConnectivityMetricsEvent makeEv(Parcelable data) { in makeEv()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterBlob.java20 import android.os.Parcelable;
25 public class KeymasterBlob implements Parcelable {
31 public static final Parcelable.Creator<KeymasterBlob> CREATOR = new
32 Parcelable.Creator<KeymasterBlob>() {
DExportResult.java20 import android.os.Parcelable;
26 public class ExportResult implements Parcelable {
30 public static final Parcelable.Creator<ExportResult> CREATOR = new
31 Parcelable.Creator<ExportResult>() {
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java20 import android.os.Parcelable;
31 public final class RemoteDisplayState implements Parcelable {
76 public static final Parcelable.Creator<RemoteDisplayState> CREATOR =
77 new Parcelable.Creator<RemoteDisplayState>() {
89 public static final class RemoteDisplayInfo implements Parcelable {
176 public static final Parcelable.Creator<RemoteDisplayInfo> CREATOR =
177 new Parcelable.Creator<RemoteDisplayInfo>() {
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java20 import android.os.Parcelable;
25 public class CallInfo implements Parcelable {
48 public static final Parcelable.Creator<CallInfo> CREATOR
49 = new Parcelable.Creator<CallInfo> () {
DSmsRawData.java21 import android.os.Parcelable;
26 public class SmsRawData implements Parcelable {
30 public static final Parcelable.Creator<SmsRawData> CREATOR
31 = new Parcelable.Creator<SmsRawData> (){
DDcParamObject.java19 import android.os.Parcelable;
22 public class DcParamObject implements Parcelable {
46 …public static final Parcelable.Creator<DcParamObject> CREATOR = new Parcelable.Creator<DcParamObje…

12345678910>>...40