Home
last modified time | relevance | path

Searched refs:mTo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java42 int[] mTo; field in SimpleCursorAdapterTest
58 mTo = new int[]{com.android.internal.R.id.text1, com.android.internal.R.id.text2}; in setUp()
92 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testCreateLive()
103 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); in testCreateNull()
114 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorLive()
133 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorNull()
153 mFrom, mTo); in testChangeCursorColumns()
191 ca.changeCursorAndColumns(mCursor2x2, mFrom, mTo); in testChangeNullToMapped()
212 mFrom, mTo); in testChangeMapping()
267 return mTo; in getTo()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java68 private int mTo; field in TransitionDrawable
112 mTo = 255; in startTransition()
141 if (mTo == 0) { in reverseTransition()
143 mTo = 255; in reverseTransition()
148 mTo = 0; in reverseTransition()
160 mTo = mReverse ? 0 : 255; in reverseTransition()
183 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
/frameworks/base/services/core/java/com/android/server/wm/
DBoundsAnimationController.java138 private final Rect mTo = new Rect(); field in BoundsAnimationController.BoundsAnimator
179 mTo.set(to); in BoundsAnimator()
192 mFrozenTaskWidth = mTo.width(); in BoundsAnimator()
193 mFrozenTaskHeight = mTo.height(); in BoundsAnimator()
261 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f); in onAnimationUpdate()
262 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f); in onAnimationUpdate()
263 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f); in onAnimationUpdate()
264 mTmpRect.bottom = (int) (mFrom.bottom * remains + mTo.bottom * value + 0.5f); in onAnimationUpdate()
266 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value in onAnimationUpdate()
315 SCHEDULE_PIP_MODE_CHANGED_ON_END, !mSkipFinalResize ? mTo : null, in onAnimationEnd()
[all …]
/frameworks/av/media/libstagefright/
DDataConverter.cpp106 if (mTo == kAudioEncodingPcm8bit && mFrom == kAudioEncodingPcm16bit) { in safeConvert()
108 } else if (mTo == kAudioEncodingPcm8bit && mFrom == kAudioEncodingPcmFloat) { in safeConvert()
110 } else if (mTo == kAudioEncodingPcm16bit && mFrom == kAudioEncodingPcm8bit) { in safeConvert()
112 } else if (mTo == kAudioEncodingPcm16bit && mFrom == kAudioEncodingPcmFloat) { in safeConvert()
114 } else if (mTo == kAudioEncodingPcmFloat && mFrom == kAudioEncodingPcm8bit) { in safeConvert()
116 } else if (mTo == kAudioEncodingPcmFloat && mFrom == kAudioEncodingPcm16bit) { in safeConvert()
/frameworks/base/core/java/android/widget/
DSimpleCursorAdapter.java60 protected int[] mTo; field in SimpleCursorAdapter
79 mTo = to; in SimpleCursorAdapter()
105 mTo = to; in SimpleCursorAdapter()
137 final int count = mTo.length; in bindView()
139 final int[] to = mTo; in bindView()
362 mTo = to; in changeCursorAndColumns()
DSimpleAdapter.java57 private int[] mTo; field in SimpleAdapter
92 mTo = to; in SimpleAdapter()
190 final int[] to = mTo; in bindView()
385 int len = mTo.length; in performFiltering()
/frameworks/support/core-ui/java/android/support/v4/widget/
DSimpleCursorAdapter.java50 protected int[] mTo; field in SimpleCursorAdapter
69 mTo = to; in SimpleCursorAdapter()
95 mTo = to; in SimpleCursorAdapter()
126 final int count = mTo.length; in bindView()
128 final int[] to = mTo; in bindView()
351 mTo = to; in changeCursorAndColumns()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java193 private Rect mTo; field in BoundsAnimationControllerTests.BoundsAnimationDriver
241 boolean toSameBounds = mAnimator.isStarted() && to.equals(mTo); in restart()
264 mTo = new Rect(to); in startImpl()
266 mLargerBounds = getLargerBounds(mFrom, mTo); in startImpl()
284 } else if (mTo.equals(mLargerBounds)) { in startImpl()
306 assertEquals(mTo, mTarget.mStackBounds); in update()
309 assertNotEquals(mTo, mTarget.mStackBounds); in update()
341 assertEquals(mTo, mTarget.mStackBounds); in end()
/frameworks/av/media/libstagefright/include/
DDataConverter.h72 mTo(target) { } in AudioConverter()
74 AudioEncoding mTo; member