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

12345678910

/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.java68 Keyframes clone(); method in interface:Keyframes
H A DPathKeyframes.java134 public Keyframes clone() { method in class:PathKeyframes
135 Keyframes clone = null;
137 clone = (Keyframes) super.clone();
139 return clone;
226 public Keyframes clone() { method in class:PathKeyframes.SimpleKeyframes
227 Keyframes clone = null;
229 clone = (Keyframes) super.clone();
231 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();
589 final Animator clone = mAnimator.clone();
590 clone.mConstantState = this;
591 return clone;
/frameworks/base/core/tests/coretests/src/android/view/
H A DRemoteViewsTest.java69 RemoteViews clone = original.clone();
70 View inflated = clone.apply(mContext, mContainer);
80 RemoteViews clone = original.clone();
82 clone.apply(mContext, mContainer);
89 RemoteViews clone = original.clone();
91 View inflated = clone.apply(mContext, mContainer);
105 RemoteViews clone
[all...]
/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 DPathShape.java69 public PathShape clone() throws CloneNotSupportedException { method in class:PathShape
70 PathShape shape = (PathShape) super.clone();
H A DRectShape.java60 public RectShape clone() throws CloneNotSupportedException { method in class:RectShape
61 final RectShape shape = (RectShape) super.clone();
H A DShape.java105 public Shape clone() throws CloneNotSupportedException { method in class:Shape
106 return (Shape) super.clone();
H A DRoundRectShape.java130 public RoundRectShape clone() throws CloneNotSupportedException { method in class:RoundRectShape
131 RoundRectShape shape = (RoundRectShape) super.clone();
132 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null;
133 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null;
/frameworks/base/tools/aapt2/
H A DResourceValues.h109 virtual Value* clone(StringPool* newPool) const = 0;
138 virtual Item* clone(StringPool* newPool) const override = 0;
178 Reference* clone(StringPool* newPool) const override;
189 Id* clone(StringPool* newPool) const override;
205 RawString* clone(StringPool* newPool) const override;
216 String* clone(StringPool* newPool) const override;
227 StyledString* clone(StringPool* newPool) const override;
244 FileReference* clone(StringPool* newPool) const override;
260 BinaryPrimitive* clone(StringPool* newPool) const override;
278 Attribute* clone(StringPoo
[all...]
/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...]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DCallbackRegistry.java373 public synchronized CallbackRegistry<C, T, A> clone() { method in class:CallbackRegistry
374 CallbackRegistry<C, T, A> clone = null;
376 clone = (CallbackRegistry<C, T, A>) super.clone();
377 clone.mFirst64Removed = 0;
378 clone.mRemainderRemoved = null;
379 clone.mNotificationLevel = 0;
380 clone.mCallbacks = new ArrayList<C>();
384 clone.mCallbacks.add(mCallbacks.get(i));
390 return clone;
[all...]
/frameworks/base/tools/aapt2/test/
H A DContext.h157 std::unique_ptr<SymbolTable::Symbol> clone = util::make_unique<SymbolTable::Symbol>(); local
158 clone->id = sym->id;
160 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->clone(nullptr));
162 clone->isPublic = sym->isPublic;
163 return clone;
/frameworks/base/core/java/android/gesture/
H A DGesturePoint.java48 public Object clone() { method in class:GesturePoint

Completed in 425 milliseconds

12345678910