/frameworks/base/core/tests/coretests/src/android/transition/ |
D | TransitionTest.java | 84 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/base/core/java/android/animation/ |
D | StateListAnimator.java | 136 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 …]
|
D | PathKeyframes.java | 130 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;
|
D | Animator.java | 118 (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()
|
D | LayoutTransition.java | 298 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 …]
|
D | Keyframe.java | 257 public abstract Keyframe clone(); in clone() method in Keyframe 286 public ObjectKeyframe clone() { in clone() method in Keyframe.ObjectKeyframe 332 public IntKeyframe clone() { in clone() method in Keyframe.IntKeyframe 379 public FloatKeyframe clone() { in clone() method in Keyframe.FloatKeyframe
|
/frameworks/base/core/tests/coretests/src/android/view/autofill/ |
D | AutofillIdTest.java | 41 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/ |
D | InputMethodInfoTest.java | 46 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/ |
D | LongSparseLongArray.java | 83 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()
|
D | SparseIntArray.java | 83 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()
|
D | SparseLongArray.java | 76 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()
|
D | SparseBooleanArray.java | 75 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()
|
D | LongSparseArray.java | 87 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()
|
D | LongArray.java | 157 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()
|
D | SparseArray.java | 94 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()
|
D | IntArray.java | 170 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/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 84 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/ |
D | CallbackRegistry.java | 355 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/base/core/tests/coretests/src/android/app/assist/ |
D | AssistStructureTest.java | 110 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/ |
D | TriData.java | 57 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()
|
D | VrState.java | 41 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/ |
D | RadioAccessSpecifier.java | 76 this.mBands = bands.clone(); in RadioAccessSpecifier() 81 this.mChannels = channels.clone(); in RadioAccessSpecifier() 105 return mBands == null ? null : mBands.clone(); in getBands() 110 return mChannels == null ? null : mChannels.clone(); in getChannels()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 163 final ContentCaptureEvent clone = cloneThroughParcel(event); in testSessionStarted_throughParcel() local 164 assertSessionStartedEvent(clone); in testSessionStarted_throughParcel() 203 final ContentCaptureEvent clone = cloneThroughParcel(event); in testSessionFinished_throughParcel() local 204 assertSessionFinishedEvent(clone); in testSessionFinished_throughParcel() 232 final ContentCaptureEvent clone = cloneThroughParcel(event); in testContextUpdated_throughParcel() local 233 assertContextUpdatedEvent(clone); in testContextUpdated_throughParcel() 325 ContentCaptureEvent clone = ContentCaptureEvent.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local 326 assertThat(clone).isNotNull(); in cloneThroughParcel() 327 return clone; in cloneThroughParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
D | NativeScanResult.java | 48 ssid = source.ssid.clone(); in NativeScanResult() 49 bssid = source.bssid.clone(); in NativeScanResult() 50 infoElement = source.infoElement.clone(); in NativeScanResult() 54 capability = (BitSet) source.capability.clone(); in NativeScanResult()
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 189 std::unique_ptr<SymbolTable::Symbol> clone = util::make_unique<SymbolTable::Symbol>(); in CloneSymbol() local 190 clone->id = sym->id; in CloneSymbol() 192 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->Clone(nullptr)); in CloneSymbol() 194 clone->is_public = sym->is_public; in CloneSymbol() 195 return clone; in CloneSymbol()
|