Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/tests/coretests/src/android/transition/
DTransitionTest.java84 Fade clone = (Fade) fade.clone(); in testClone() local
85 assertFieldEquals(fade, clone, "mStartDelay"); in testClone()
86 assertFieldEquals(fade, clone, "mDuration"); in testClone()
87 assertFieldEquals(fade, clone, "mInterpolator"); in testClone()
88 assertFieldEquals(fade, clone, "mPropagation"); in testClone()
89 assertEquals(fade.getPathMotion(), clone.getPathMotion()); in testClone()
90 assertEquals(fade.getEpicenterCallback(), clone.getEpicenterCallback()); in testClone()
91 assertFieldEquals(fade, clone, "mNameOverrides"); in testClone()
92 assertFieldEquals(fade, clone, "mMatchOrder"); in testClone()
94 assertFieldEquals(fade, clone, "mTargets"); in testClone()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DFieldData.java191 public final FieldData clone() { in clone() method in FieldData
192 FieldData clone = new FieldData(); in clone() local
194 clone.cachedExtension = cachedExtension; in clone()
196 clone.unknownFieldData = null; in clone()
198 clone.unknownFieldData.addAll(unknownFieldData); in clone()
207 clone.value = ((MessageNano) value).clone(); in clone()
209 clone.value = ((byte[]) value).clone(); in clone()
213 clone.value = cloneArray; in clone()
215 cloneArray[i] = valueArray[i].clone(); in clone()
218 clone.value = ((boolean[]) value).clone(); in clone()
[all …]
DFieldArray.java278 public final FieldArray clone() { in clone() method in FieldArray
281 FieldArray clone = new FieldArray(size); in clone() local
282 System.arraycopy(mFieldNumbers, 0, clone.mFieldNumbers, 0, size); in clone()
285 clone.mData[i] = mData[i].clone(); in clone()
288 clone.mSize = size; in clone()
289 return clone; in clone()
/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.java130 public Keyframes clone() { in clone() method in PathKeyframes
131 Keyframes clone = null; in clone() local
133 clone = (Keyframes) super.clone(); in clone()
135 return clone; in clone()
218 public Keyframes clone() {
219 Keyframes clone = null;
221 clone = (Keyframes) super.clone();
223 return clone;
DAnimator.java118 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in pause()
142 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in resume()
397 public Animator clone() { in clone() method in Animator
399 final Animator anim = (Animator) super.clone(); in clone()
673 final Animator clone = mAnimator.clone(); in newInstance() local
674 clone.mConstantState = this; in newInstance()
675 return clone; in newInstance()
DLayoutTransition.java298 defaultChangeOut = defaultChangeIn.clone(); in LayoutTransition()
301 defaultChange = defaultChangeIn.clone(); in LayoutTransition()
850 final Animator anim = baseAnimator.clone(); in setupChangeAnimation()
968 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
989 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
1017 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in startChangingAnimations()
1036 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in endChangingAnimations()
1079 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in cancel()
1087 (LinkedHashMap<View, Animator>) currentAppearingAnimations.clone(); in cancel()
1095 (LinkedHashMap<View, Animator>) currentDisappearingAnimations.clone(); in cancel()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java41 final AutofillId clone = cloneThroughParcel(id); in testNonVirtual() local
42 assertNonVirtual(clone, 42, NO_SESSION); in testNonVirtual()
55 final AutofillId clone = cloneThroughParcel(id); in testVirtual_int() local
56 assertThat(clone.getViewId()).isEqualTo(42); in testVirtual_int()
57 assertThat(clone.isVirtualLong()).isFalse(); in testVirtual_int()
58 assertThat(clone.isVirtualInt()).isTrue(); in testVirtual_int()
59 assertThat(clone.isNonVirtual()).isFalse(); in testVirtual_int()
60 assertThat(clone.getVirtualChildIntId()).isEqualTo(108); in testVirtual_int()
61 assertThat(clone.getVirtualChildLongId()).isEqualTo(View.NO_ID); in testVirtual_int()
74 final AutofillId clone = cloneThroughParcel(id); in testVirtual_long() local
[all …]
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodInfoTest.java46 final InputMethodInfo clone = cloneViaParcel(imi); in testEqualsAndHashCode() local
48 assertThat(clone.equals(imi), is(true)); in testEqualsAndHashCode()
49 assertThat(clone.hashCode(), equalTo(imi.hashCode())); in testEqualsAndHashCode()
58 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues() local
60 assertThat(clone.supportsSwitchingToNextInputMethod(), is(false)); in testBooleanAttributes_DefaultValues()
69 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod() local
71 assertThat(clone.supportsSwitchingToNextInputMethod(), is(true)); in testSupportsSwitchingToNextInputMethod()
80 final InputMethodInfo clone = cloneViaParcel(imi); in testIsVrOnly() local
82 assertThat(clone.isVrOnly(), is(true)); in testIsVrOnly()
/frameworks/base/core/java/android/util/
DLongSparseLongArray.java83 public LongSparseLongArray clone() { in clone() method in LongSparseLongArray
84 LongSparseLongArray clone = null; in clone() local
86 clone = (LongSparseLongArray) super.clone(); in clone()
87 clone.mKeys = mKeys.clone(); in clone()
88 clone.mValues = mValues.clone(); in clone()
92 return clone; in clone()
DSparseIntArray.java83 public SparseIntArray clone() { in clone() method in SparseIntArray
84 SparseIntArray clone = null; in clone() local
86 clone = (SparseIntArray) super.clone(); in clone()
87 clone.mKeys = mKeys.clone(); in clone()
88 clone.mValues = mValues.clone(); in clone()
92 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()
DSparseBooleanArray.java75 public SparseBooleanArray clone() { in clone() method in SparseBooleanArray
76 SparseBooleanArray clone = null; in clone() local
78 clone = (SparseBooleanArray) super.clone(); in clone()
79 clone.mKeys = mKeys.clone(); in clone()
80 clone.mValues = mValues.clone(); in clone()
84 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()
DLongArray.java157 public LongArray clone() { in clone() method in LongArray
158 LongArray clone = null; in clone() local
160 clone = (LongArray) super.clone(); in clone()
161 clone.mValues = mValues.clone(); in clone()
165 return clone; in clone()
DSparseArray.java94 public SparseArray<E> clone() { in clone() method in SparseArray
95 SparseArray<E> clone = null; in clone() local
97 clone = (SparseArray<E>) super.clone(); in clone()
98 clone.mKeys = mKeys.clone(); in clone()
99 clone.mValues = mValues.clone(); in clone()
103 return clone; in clone()
DIntArray.java170 public IntArray clone() throws CloneNotSupportedException { in clone() method in IntArray
171 final IntArray clone = (IntArray) super.clone(); in clone() local
172 clone.mValues = mValues.clone(); in clone()
173 return clone; in clone()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Drepeated_field_test.rb132 m.repeated_string += reference_arr.clone
159 m.repeated_string += reference_arr.clone
210 m.repeated_string += reference_arr.clone
227 m.repeated_string += reference_arr.clone
237 m.repeated_string += reference_arr.clone
249 m.repeated_string += reference_arr.clone
261 m.repeated_string += reference_arr.clone
272 m.repeated_string += reference_arr.clone
285 m.repeated_string += reference_arr.clone
295 m.repeated_string += reference_arr.clone
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java84 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap() local
85 View inflated = clone.apply(mContext, mContainer); in clone_doesNotCopyBitmap()
95 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied() local
97 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied()
104 RemoteViews clone = original.clone(); in clone_clones() local
106 View inflated = clone.apply(mContext, mContainer); in clone_clones()
120 RemoteViews clone = child.clone(); in clone_child_fails() local
127 original.clone(); in clone_repeatedly()
128 original.clone(); in clone_repeatedly()
137 RemoteViews clone = original.clone().clone(); in clone_chained() local
[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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs461 var clone = original.Clone(); in CloneSingleNonMessageValues()
462 Assert.AreNotSame(original, clone); in CloneSingleNonMessageValues()
463 Assert.AreEqual(original, clone); in CloneSingleNonMessageValues()
465 clone.SingleInt32 = 150; in CloneSingleNonMessageValues()
466 Assert.AreNotEqual(original, clone); in CloneSingleNonMessageValues()
492 var clone = original.Clone(); in CloneRepeatedNonMessageValues()
493 Assert.AreNotSame(original, clone); in CloneRepeatedNonMessageValues()
494 Assert.AreEqual(original, clone); in CloneRepeatedNonMessageValues()
496 clone.RepeatedDouble.Add(25.5); in CloneRepeatedNonMessageValues()
497 Assert.AreNotEqual(original, clone); in CloneRepeatedNonMessageValues()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java110 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView() local
111 assertStructureWithManySmallViews(clone, 1); in testParcelizationForAutofill_oneSmallView()
130 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews() local
131 assertStructureWithManySmallViews(clone, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
184 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneBigView() local
185 assertStructureWithOneBigView(clone); in testParcelizationForAutofill_oneBigView()
285 AssistStructure clone = AssistStructure.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
286 assertThat(clone).isNotNull(); in cloneThroughParcel()
287 return clone; in cloneThroughParcel()
/frameworks/rs/tests/java_api/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/telephony/java/android/telephony/
DRadioAccessSpecifier.java76 this.mBands = bands.clone(); in RadioAccessSpecifier()
81 this.mChannels = channels.clone(); in RadioAccessSpecifier()
104 return mBands == null ? null : mBands.clone(); in getBands()
109 return mChannels == null ? null : mChannels.clone(); in getChannels()

12345678910>>...14