Searched refs:clone (Results 1 - 25 of 273) sorted by relevance

1234567891011

/frameworks/base/keystore/java/android/security/keystore/
H A DUtils.java30 return (value != null) ? (Date) value.clone() : null;
34 return (value != null) ? value.clone() : null;
/frameworks/base/core/tests/coretests/src/android/transition/
H A DTransitionTest.java79 Fade clone = (Fade) fade.clone();
80 assertEquals(fade.mStartDelay, clone.mStartDelay);
81 assertEquals(fade.mDuration, clone.mDuration);
82 assertEquals(fade.mInterpolator, clone.mInterpolator);
83 assertEquals(fade.mPropagation, clone.mPropagation);
84 assertEquals(fade.getPathMotion(), clone.getPathMotion());
85 assertEquals(fade.getEpicenterCallback(), clone.getEpicenterCallback());
86 assertEquals(fade.mNameOverrides, clone.mNameOverrides);
87 assertEquals(fade.mMatchOrder, clone
[all...]
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java136 public StateListAnimator clone() { method in class:StateListAnimator
138 StateListAnimator clone = (StateListAnimator) super.clone();
139 clone.mTuples = new ArrayList<Tuple>(mTuples.size());
140 clone.mLastMatch = null;
141 clone.mRunningAnimator = null;
142 clone.mViewRef = null;
143 clone.mAnimatorListener = null;
144 clone.initAnimatorListener();
148 final Animator animatorClone = tuple.mAnimator.clone();
[all...]
H A DKeyframes.java62 Keyframes clone(); method in interface:Keyframes
H A DPathKeyframes.java130 public Keyframes clone() { method in class:PathKeyframes
131 Keyframes clone = null;
133 clone = (Keyframes) super.clone();
135 return clone;
218 public Keyframes clone() { method in class:PathKeyframes.SimpleKeyframes
219 Keyframes clone = null;
221 clone = (Keyframes) super.clone();
223 return clone;
[all...]
H A DAnimator.java117 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone();
141 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone();
388 * @see #clone()
396 public Animator clone() { method in class:Animator
398 final Animator anim = (Animator) super.clone();
671 final Animator clone = mAnimator.clone();
672 clone.mConstantState = this;
673 return clone;
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardList.java59 protected abstract WebBackForwardList clone(); method in class:WebBackForwardList
H A DWebHistoryItem.java78 protected abstract WebHistoryItem clone(); method in class:WebHistoryItem
H A DWebSyncManager.java33 protected Object clone() throws CloneNotSupportedException { method in class:WebSyncManager
/frameworks/base/core/java/android/util/
H A DLongArray.java114 public LongArray clone() { method in class:LongArray
115 LongArray clone = null;
117 clone = (LongArray) super.clone();
118 clone.mValues = mValues.clone();
122 return clone;
H A DLongSparseLongArray.java78 public LongSparseLongArray clone() { method in class:LongSparseLongArray
79 LongSparseLongArray clone = null;
81 clone = (LongSparseLongArray) super.clone();
82 clone.mKeys = mKeys.clone();
83 clone.mValues = mValues.clone();
87 return clone;
H A DSparseLongArray.java76 public SparseLongArray clone() { method in class:SparseLongArray
77 SparseLongArray clone = null;
79 clone = (SparseLongArray) super.clone();
80 clone.mKeys = mKeys.clone();
81 clone.mValues = mValues.clone();
85 return clone;
H A DSparseBooleanArray.java73 public SparseBooleanArray clone() { method in class:SparseBooleanArray
74 SparseBooleanArray clone = null;
76 clone = (SparseBooleanArray) super.clone();
77 clone.mKeys = mKeys.clone();
78 clone.mValues = mValues.clone();
82 return clone;
H A DSparseIntArray.java78 public SparseIntArray clone() { method in class:SparseIntArray
79 SparseIntArray clone = null;
81 clone = (SparseIntArray) super.clone();
82 clone.mKeys = mKeys.clone();
83 clone.mValues = mValues.clone();
87 return clone;
H A DIntArray.java134 public IntArray clone() throws CloneNotSupportedException { method in class:IntArray
135 final IntArray clone = (IntArray) super.clone();
136 clone.mValues = mValues.clone();
137 return clone;
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DArcShape.java74 public ArcShape clone() throws CloneNotSupportedException { method in class:ArcShape
75 return (ArcShape) super.clone();
H A DOvalShape.java48 public OvalShape clone() throws CloneNotSupportedException { method in class:OvalShape
49 return (OvalShape) super.clone();
H A DPathShape.java72 public PathShape clone() throws CloneNotSupportedException { method in class:PathShape
73 final PathShape shape = (PathShape) super.clone();
H A DRectShape.java61 public RectShape clone() throws CloneNotSupportedException { method in class:RectShape
62 final RectShape shape = (RectShape) super.clone();
H A DShape.java31 * Custom Shape classes must implement {@link #clone()} and return an instance
115 public Shape clone() throws CloneNotSupportedException { method in class:Shape
116 return (Shape) super.clone();
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodInfoTest.java43 final InputMethodInfo clone = cloneViaParcel(imi);
45 assertThat(clone.equals(imi), is(true));
46 assertThat(clone.hashCode(), equalTo(imi.hashCode()));
55 final InputMethodInfo clone = cloneViaParcel(imi);
57 assertThat(clone.supportsSwitchingToNextInputMethod(), is(false));
66 final InputMethodInfo clone = cloneViaParcel(imi);
68 assertThat(clone.supportsSwitchingToNextInputMethod(), is(true));
/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java73 mColors = colors.clone();
74 mPositions = stops != null ? stops.clone() : null;
120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
121 mPositions != null ? mPositions.clone() : null, mTileMode);
H A DSweepGradient.java67 mColors = colors.clone();
68 mPositions = positions != null ? positions.clone() : null;
105 copy = new SweepGradient(mCx, mCy, mColors.clone(),
106 mPositions != null ? mPositions.clone() : null);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
H A DNativeScanResult.java46 ssid = source.ssid.clone();
47 bssid = source.bssid.clone();
48 infoElement = source.infoElement.clone();
52 capability = (BitSet) source.capability.clone();
/frameworks/base/core/java/com/android/internal/util/
H A DCallbackRegistry.java355 public synchronized CallbackRegistry<C, T, A> clone() { method in class:CallbackRegistry
356 CallbackRegistry<C, T, A> clone = null;
358 clone = (CallbackRegistry<C, T, A>) super.clone();
359 clone.mFirst64Removed = 0;
360 clone.mRemainderRemoved = null;
361 clone.mNotificationLevel = 0;
362 clone.mCallbacks = new ArrayList<C>();
366 clone.mCallbacks.add(mCallbacks.get(i));
372 return clone;
[all...]

Completed in 5337 milliseconds

1234567891011