Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/tests/coretests/src/android/content/pm/
DContainerEncryptionParamsTest.java97 new String(ENC_ALGORITHM), new IvParameterSpec(IV_BYTES.clone()), in testEquals_Success()
98 new SecretKeySpec(ENC_KEY_BYTES.clone(), "RAW"), new String(MAC_ALGORITHM), null, in testEquals_Success()
99 new SecretKeySpec(MAC_KEY_BYTES.clone(), "RAW"), MAC_TAG, AUTHENTICATED_START, in testEquals_Success()
111 "AES-256/CBC/PKCS7Padding"), new IvParameterSpec(IV_BYTES.clone()), in testEquals_EncAlgo_Failure()
112 new SecretKeySpec(ENC_KEY_BYTES.clone(), "RAW"), new String(MAC_ALGORITHM), null, in testEquals_EncAlgo_Failure()
113 new SecretKeySpec(MAC_KEY_BYTES.clone(), "RAW"), MAC_TAG, AUTHENTICATED_START, in testEquals_EncAlgo_Failure()
126 new SecretKeySpec(ENC_KEY_BYTES.clone(), "RAW"), new String(MAC_ALGORITHM), null, in testEquals_EncParams_Failure()
127 new SecretKeySpec(MAC_KEY_BYTES.clone(), "RAW"), MAC_TAG, AUTHENTICATED_START, in testEquals_EncParams_Failure()
139 new String(ENC_ALGORITHM), new IvParameterSpec(IV_BYTES.clone()), in testEquals_EncKey_Failure()
141 new SecretKeySpec(MAC_KEY_BYTES.clone(), "RAW"), MAC_TAG, AUTHENTICATED_START, in testEquals_EncKey_Failure()
[all …]
/frameworks/base/core/java/android/animation/
DStateListAnimator.java135 public StateListAnimator clone() { in clone() method in StateListAnimator
137 StateListAnimator clone = (StateListAnimator) super.clone(); in clone() local
138 clone.mTuples = new ArrayList<Tuple>(mTuples.size()); in clone()
139 clone.mLastMatch = null; in clone()
140 clone.mRunningAnimator = null; in clone()
141 clone.mViewRef = null; in clone()
142 clone.mAnimatorListener = null; in clone()
143 clone.initAnimatorListener(); in clone()
147 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
149 clone.addState(tuple.mSpecs, animatorClone); in clone()
[all …]
DPathKeyframes.java133 public Keyframes clone() { in clone() method in PathKeyframes
134 Keyframes clone = null; in clone() local
136 clone = (Keyframes) super.clone(); in clone()
138 return clone; in clone()
225 public Keyframes clone() {
226 Keyframes clone = null;
228 clone = (Keyframes) super.clone();
230 return clone;
DAnimator.java111 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in pause()
135 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in resume()
373 public Animator clone() { in clone() method in Animator
375 final Animator anim = (Animator) super.clone(); in clone()
562 final Animator clone = mAnimator.clone(); in newInstance() local
563 clone.mConstantState = this; in newInstance()
564 return clone; in newInstance()
DLayoutTransition.java292 defaultChangeOut = defaultChangeIn.clone(); in LayoutTransition()
295 defaultChange = defaultChangeIn.clone(); in LayoutTransition()
844 final Animator anim = baseAnimator.clone(); in setupChangeAnimation()
962 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
983 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
1011 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in startChangingAnimations()
1030 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in endChangingAnimations()
1072 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in cancel()
1080 (LinkedHashMap<View, Animator>) currentAppearingAnimations.clone(); in cancel()
1088 (LinkedHashMap<View, Animator>) currentDisappearingAnimations.clone(); in cancel()
[all …]
DAnimatorSet.java325 tmpListeners = (ArrayList<AnimatorListener>) mListeners.clone(); in cancel()
378 (ArrayList<AnimatorListener>) mListeners.clone(); in end()
579 node.tmpDependencies = (ArrayList<Dependency>) node.dependencies.clone(); in start()
613 (ArrayList<AnimatorListener>) mListeners.clone(); in start()
625 (ArrayList<AnimatorListener>) mListeners.clone(); in start()
635 public AnimatorSet clone() { in clone() method in AnimatorSet
636 final AnimatorSet anim = (AnimatorSet) super.clone(); in clone()
662 Node nodeClone = node.clone(); in clone()
688 final Node clone = node.mTmpClone; in clone() local
690 clone.dependencies = new ArrayList<Dependency>(node.dependencies.size()); in clone()
[all …]
/frameworks/base/libs/hwui/
DTreeInfo.h69 explicit TreeInfo(TraversalMode mode, const TreeInfo& clone) in TreeInfo() argument
72 , runAnimations(clone.runAnimations) in TreeInfo()
73 , damageAccumulator(clone.damageAccumulator) in TreeInfo()
74 , renderState(clone.renderState) in TreeInfo()
75 , renderer(clone.renderer) in TreeInfo()
76 , errorHandler(clone.errorHandler) in TreeInfo()
77 , canvasContext(clone.canvasContext) in TreeInfo()
/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.java76 public SparseIntArray clone() { in clone() method in SparseIntArray
77 SparseIntArray clone = null; in clone() local
79 clone = (SparseIntArray) super.clone(); in clone()
80 clone.mKeys = mKeys.clone(); in clone()
81 clone.mValues = mValues.clone(); in clone()
85 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()
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()
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.cpp42 RawString* RawString::clone(StringPool* newPool) const { in clone() function in aapt::RawString
74 Reference* Reference::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Reference
109 Id* Id::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Id
131 String* String::clone(StringPool* newPool) const { in clone() function in aapt::String
152 StyledString* StyledString::clone(StringPool* newPool) const { in clone() function in aapt::StyledString
173 FileReference* FileReference::clone(StringPool* newPool) const { in clone() function in aapt::FileReference
189 BinaryPrimitive* BinaryPrimitive::clone(StringPool* /*newPool*/) const { in clone() function in aapt::BinaryPrimitive
227 Attribute* Attribute::clone(StringPool* /*newPool*/) const { in clone() function in aapt::Attribute
345 Style* Style::clone(StringPool* newPool) const { in clone() function in aapt::Style
352 std::unique_ptr<Item>(entry.value->clone(newPool)) in clone()
[all …]
DResourceValues.h66 virtual Value* clone(StringPool* newPool) const = 0;
95 virtual Item* clone(StringPool* newPool) const override = 0;
135 Reference* clone(StringPool* newPool) const override;
145 Id* clone(StringPool* newPool) const override;
160 RawString* clone(StringPool* newPool) const override;
170 String* clone(StringPool* newPool) const override;
180 StyledString* clone(StringPool* newPool) const override;
191 FileReference* clone(StringPool* newPool) const override;
205 BinaryPrimitive* clone(StringPool* newPool) const override;
224 virtual Attribute* clone(StringPool* newPool) const override;
[all …]
/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/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/compiler/src/test/java/android/databinding/tool/expr/
DExprTest.java94 BitSet clone = (BitSet) model.getInvalidateAnyBitSet().clone(); in testBasicInvalidationFlag() local
95 clone.and(d.getInvalidFlags()); in testBasicInvalidationFlag()
96 assertEquals(1, clone.cardinality()); in testBasicInvalidationFlag()
166 BitSet clone = (BitSet) bitSet.clone(); in assertFlags() local
167 clone.and(expr.getInvalidFlags()); in assertFlags()
169 .getUniqueKey(), expr.getInvalidFlags(), clone); in assertFlags()
/frameworks/support/v4/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/main/java/android/databinding/tool/expr/
DExpr.java143 BitSet bitSet = (BitSet) mModel.getInvalidateAnyBitSet().clone(); in resolveInvalidFlags()
475 BitSet clone = (BitSet) mShouldReadWithConditionals.clone(); in markAsReadIfDone() local
477 clone.andNot(mReadSoFar); in markAsReadIfDone()
478 mRead = clone.isEmpty(); in markAsReadIfDone()
487 for (int i = clone.nextSetBit(0); i != -1; i = clone.nextSetBit(i + 1)) { in markAsReadIfDone()
496 clone.andNot(readForConditional); in markAsReadIfDone()
497 final BitSet invalidFlags = (BitSet) getInvalidFlags().clone(); in markAsReadIfDone()
499 mRead = invalidFlags.isEmpty() || clone.isEmpty(); in markAsReadIfDone()
662 final BitSet clone = (BitSet) readSoFar.clone(); in areAllPathsSatisfied() local
663 clone.and(mBitSet); in areAllPathsSatisfied()
[all …]
/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()

123456789