Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/base/core/tests/coretests/src/android/transition/
DTransitionTest.java79 Fade clone = (Fade) fade.clone(); in testClone() local
80 assertEquals(fade.mStartDelay, clone.mStartDelay); in testClone()
81 assertEquals(fade.mDuration, clone.mDuration); in testClone()
82 assertEquals(fade.mInterpolator, clone.mInterpolator); in testClone()
83 assertEquals(fade.mPropagation, clone.mPropagation); in testClone()
84 assertEquals(fade.getPathMotion(), clone.getPathMotion()); in testClone()
85 assertEquals(fade.getEpicenterCallback(), clone.getEpicenterCallback()); in testClone()
86 assertEquals(fade.mNameOverrides, clone.mNameOverrides); in testClone()
87 assertEquals(fade.mMatchOrder, clone.mMatchOrder); in testClone()
89 assertEquals(fade.mTargets, clone.mTargets); in testClone()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DRemoteViewsTest.java69 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap() local
70 View inflated = clone.apply(mContext, mContainer); in clone_doesNotCopyBitmap()
80 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied() local
82 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied()
89 RemoteViews clone = original.clone(); in clone_clones() local
91 View inflated = clone.apply(mContext, mContainer); in clone_clones()
105 RemoteViews clone = child.clone(); in clone_child_fails() local
112 original.clone(); in clone_repeatedly()
113 original.clone(); in clone_repeatedly()
122 RemoteViews clone = original.clone().clone(); in clone_chained() local
[all …]
/frameworks/base/core/java/android/animation/
DStateListAnimator.java136 public StateListAnimator clone() { in clone() method in StateListAnimator
138 StateListAnimator clone = (StateListAnimator) super.clone(); in clone() local
139 clone.mTuples = new ArrayList<Tuple>(mTuples.size()); in clone()
140 clone.mLastMatch = null; in clone()
141 clone.mRunningAnimator = null; in clone()
142 clone.mViewRef = null; in clone()
143 clone.mAnimatorListener = null; in clone()
144 clone.initAnimatorListener(); in clone()
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
[all …]
DPathKeyframes.java134 public Keyframes clone() { in clone() method in PathKeyframes
135 Keyframes clone = null; in clone() local
137 clone = (Keyframes) super.clone(); in clone()
139 return clone; in clone()
226 public Keyframes clone() {
227 Keyframes clone = null;
229 clone = (Keyframes) super.clone();
231 return clone;
DAnimator.java117 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in pause()
141 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in resume()
396 public Animator clone() { in clone() method in Animator
398 final Animator anim = (Animator) super.clone(); in clone()
589 final Animator clone = mAnimator.clone(); in newInstance() local
590 clone.mConstantState = this; in newInstance()
591 return clone; in newInstance()
DLayoutTransition.java296 defaultChangeOut = defaultChangeIn.clone(); in LayoutTransition()
299 defaultChange = defaultChangeIn.clone(); in LayoutTransition()
848 final Animator anim = baseAnimator.clone(); in setupChangeAnimation()
966 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
987 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
1015 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in startChangingAnimations()
1034 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in endChangingAnimations()
1076 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in cancel()
1084 (LinkedHashMap<View, Animator>) currentAppearingAnimations.clone(); in cancel()
1092 (LinkedHashMap<View, Animator>) currentDisappearingAnimations.clone(); in cancel()
[all …]
/frameworks/base/core/java/android/util/
DLongSparseLongArray.java78 public LongSparseLongArray clone() { in clone() method in LongSparseLongArray
79 LongSparseLongArray clone = null; in clone() local
81 clone = (LongSparseLongArray) super.clone(); in clone()
82 clone.mKeys = mKeys.clone(); in clone()
83 clone.mValues = mValues.clone(); in clone()
87 return clone; in clone()
DSparseLongArray.java76 public SparseLongArray clone() { in clone() method in SparseLongArray
77 SparseLongArray clone = null; in clone() local
79 clone = (SparseLongArray) super.clone(); in clone()
80 clone.mKeys = mKeys.clone(); in clone()
81 clone.mValues = mValues.clone(); in clone()
85 return clone; in clone()
DSparseIntArray.java78 public SparseIntArray clone() { in clone() method in SparseIntArray
79 SparseIntArray clone = null; in clone() local
81 clone = (SparseIntArray) super.clone(); in clone()
82 clone.mKeys = mKeys.clone(); in clone()
83 clone.mValues = mValues.clone(); in clone()
87 return clone; in clone()
DLongArray.java114 public LongArray clone() { in clone() method in LongArray
115 LongArray clone = null; in clone() local
117 clone = (LongArray) super.clone(); in clone()
118 clone.mValues = mValues.clone(); in clone()
122 return clone; in clone()
DSparseBooleanArray.java73 public SparseBooleanArray clone() { in clone() method in SparseBooleanArray
74 SparseBooleanArray clone = null; in clone() local
76 clone = (SparseBooleanArray) super.clone(); in clone()
77 clone.mKeys = mKeys.clone(); in clone()
78 clone.mValues = mValues.clone(); in clone()
82 return clone; in clone()
DLongSparseArray.java87 public LongSparseArray<E> clone() { in clone() method in LongSparseArray
88 LongSparseArray<E> clone = null; in clone() local
90 clone = (LongSparseArray<E>) super.clone(); in clone()
91 clone.mKeys = mKeys.clone(); in clone()
92 clone.mValues = mValues.clone(); in clone()
96 return clone; in clone()
DIntArray.java134 public IntArray clone() throws CloneNotSupportedException { in clone() method in IntArray
135 final IntArray clone = (IntArray) super.clone(); in clone() local
136 clone.mValues = mValues.clone(); in clone()
137 return clone; in clone()
DSparseArray.java87 public SparseArray<E> clone() { in clone() method in SparseArray
88 SparseArray<E> clone = null; in clone() local
90 clone = (SparseArray<E>) super.clone(); in clone()
91 clone.mKeys = mKeys.clone(); in clone()
92 clone.mValues = mValues.clone(); in clone()
96 return clone; in clone()
/frameworks/base/tools/aapt2/
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(StringPool* newPool) const override;
[all …]
DResourceValues.cpp50 RawString* RawString::clone(StringPool* newPool) const { in clone() function in aapt::RawString
93 Reference* Reference::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Reference
127 Id* Id::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Id
157 String* String::clone(StringPool* newPool) const { in clone() function in aapt::String
198 StyledString* StyledString::clone(StringPool* newPool) const { in clone() function in aapt::StyledString
233 FileReference* FileReference::clone(StringPool* newPool) const { in clone() function in aapt::FileReference
267 BinaryPrimitive* BinaryPrimitive::clone(StringPool* /*newPool*/) const { in clone() function in aapt::BinaryPrimitive
320 Attribute* Attribute::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Attribute
535 Style* Style::clone(StringPool* newPool) const { in clone() function in aapt::Style
544 std::unique_ptr<Item>(entry.value->clone(newPool)) in clone()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java355 public synchronized CallbackRegistry<C, T, A> clone() { in clone() method in CallbackRegistry
356 CallbackRegistry<C, T, A> clone = null; in clone() local
358 clone = (CallbackRegistry<C, T, A>) super.clone(); in clone()
359 clone.mFirst64Removed = 0; in clone()
360 clone.mRemainderRemoved = null; in clone()
361 clone.mNotificationLevel = 0; in clone()
362 clone.mCallbacks = new ArrayList<C>(); in clone()
366 clone.mCallbacks.add(mCallbacks.get(i)); in clone()
372 return clone; in clone()
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java373 public synchronized CallbackRegistry<C, T, A> clone() { in clone() method in CallbackRegistry
374 CallbackRegistry<C, T, A> clone = null; in clone() local
376 clone = (CallbackRegistry<C, T, A>) super.clone(); in clone()
377 clone.mFirst64Removed = 0; in clone()
378 clone.mRemainderRemoved = null; in clone()
379 clone.mNotificationLevel = 0; in clone()
380 clone.mCallbacks = new ArrayList<C>(); in clone()
384 clone.mCallbacks.add(mCallbacks.get(i)); in clone()
390 return clone; in clone()
/frameworks/support/compat/java/android/support/v4/util/
DLongSparseArray.java79 public LongSparseArray<E> clone() { in clone() method in LongSparseArray
80 LongSparseArray<E> clone = null; in clone() local
82 clone = (LongSparseArray<E>) super.clone(); in clone()
83 clone.mKeys = mKeys.clone(); in clone()
84 clone.mValues = mValues.clone(); in clone()
88 return clone; in clone()
DSparseArrayCompat.java59 public SparseArrayCompat<E> clone() { in clone() method in SparseArrayCompat
60 SparseArrayCompat<E> clone = null; in clone() local
62 clone = (SparseArrayCompat<E>) super.clone(); in clone()
63 clone.mKeys = mKeys.clone(); in clone()
64 clone.mValues = mValues.clone(); in clone()
68 return clone; in clone()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprTest.java115 BitSet clone = (BitSet) model.getInvalidateAnyBitSet().clone(); in testBasicInvalidationFlag() local
116 clone.and(d.getInvalidFlags()); in testBasicInvalidationFlag()
117 assertEquals(1, clone.cardinality()); in testBasicInvalidationFlag()
187 BitSet clone = (BitSet) bitSet.clone(); in assertFlags() local
188 clone.and(expr.getInvalidFlags()); in assertFlags()
190 .getUniqueKey(), expr.getInvalidFlags(), clone); in assertFlags()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DPositionMap.java61 public PositionMap<E> clone() { in clone() method in PositionMap
62 PositionMap<E> clone = null; in clone() local
64 clone = (PositionMap<E>) super.clone(); in clone()
65 clone.mKeys = mKeys.clone(); in clone()
66 clone.mValues = mValues.clone(); in clone()
70 return clone; in clone()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java57 public TriData(TriData clone) { in TriData() argument
59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData()
60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
DVrState.java41 public void clone(VrState src) { in clone() method in VrState
49 mCubeVolume.clone(src.mCubeVolume); in clone()
55 mTransform.clone(src.mTransform); in clone()
111 mCubeVolume.clone(src.mCubeVolume); in copyData()
115 mTransform.clone(src.mTransform); in copyData()
/frameworks/base/tools/aapt2/test/
DContext.h157 std::unique_ptr<SymbolTable::Symbol> clone = util::make_unique<SymbolTable::Symbol>(); in cloneSymbol() local
158 clone->id = sym->id; in cloneSymbol()
160 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->clone(nullptr)); in cloneSymbol()
162 clone->isPublic = sym->isPublic; in cloneSymbol()
163 return clone; in cloneSymbol()

1234567891011