Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java43 int[] mTo; field in SimpleCursorAdapterTest
59 mTo = new int[]{com.android.internal.R.id.text1, com.android.internal.R.id.text2}; in setUp()
93 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testCreateLive()
104 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); in testCreateNull()
115 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorLive()
134 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorNull()
154 mFrom, mTo); in testChangeCursorColumns()
192 ca.changeCursorAndColumns(mCursor2x2, mFrom, mTo); in testChangeNullToMapped()
213 mFrom, mTo); in testChangeMapping()
268 return mTo; in getTo()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java70 private int mTo; field in TransitionDrawable
116 mTo = 255; in startTransition()
157 if (mTo == 0) { in reverseTransition()
159 mTo = 255; in reverseTransition()
164 mTo = 0; in reverseTransition()
176 mTo = mReverse ? 0 : 255; in reverseTransition()
199 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
/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/services/core/java/com/android/server/wm/
DBoundsAnimationController.java153 private final Rect mTo = new Rect(); field in BoundsAnimationController.BoundsAnimator
196 mTo.set(to); in BoundsAnimator()
210 mFrozenTaskWidth = mTo.width(); in BoundsAnimator()
211 mFrozenTaskHeight = mTo.height(); in BoundsAnimator()
310 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f); in onAnimationUpdate()
311 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f); in onAnimationUpdate()
312 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f); in onAnimationUpdate()
313 mTmpRect.bottom = (int) (mFrom.bottom * remains + mTo.bottom * value + 0.5f); in onAnimationUpdate()
315 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value in onAnimationUpdate()
364 SCHEDULE_PIP_MODE_CHANGED_ON_END, !mSkipFinalResize ? mTo : null, in onAnimationEnd()
[all …]
DWindowState.java5280 private Point mTo = new Point(); field in WindowState.MoveAnimationSpec
5289 mTo.set(toX, toY); in MoveAnimationSpec()
5301 t.setPosition(leash, mFrom.x + (mTo.x - mFrom.x) * v, in apply()
5302 mFrom.y + (mTo.y - mFrom.y) * v); in apply()
5308 + " to=" + mTo in dump()
5316 mTo.writeToProto(proto, TO); in writeToProtoInner()
/frameworks/base/core/java/android/widget/
DSimpleCursorAdapter.java64 protected int[] mTo; field in SimpleCursorAdapter
83 mTo = to; in SimpleCursorAdapter()
109 mTo = to; in SimpleCursorAdapter()
141 final int count = mTo.length; in bindView()
143 final int[] to = mTo; in bindView()
366 mTo = to; in changeCursorAndColumns()
DSimpleAdapter.java59 private int[] mTo; field in SimpleAdapter
95 mTo = to; in SimpleAdapter()
193 final int[] to = mTo; in bindView()
388 int len = mTo.length; in performFiltering()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java212 private Rect mTo; field in BoundsAnimationControllerTests.BoundsAnimationDriver
263 boolean toSameBounds = mAnimator.isStarted() && to.equals(mTo); in restart()
294 mTo = new Rect(to); in startImpl()
296 mLargerBounds = getLargerBounds(mFrom, mTo); in startImpl()
316 } else if (mTo.equals(mLargerBounds)) { in startImpl()
340 assertEquals(mTo, mTarget.mStackBounds); in update()
343 assertNotEquals(mTo, mTarget.mStackBounds); in update()
379 assertEquals(mTo, mTarget.mStackBounds); in end()
/frameworks/av/media/libstagefright/include/
DDataConverter.h72 mTo(target) { } in AudioConverter()
74 AudioEncoding mTo; member
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.h122 uint32_t mTo; member
129 mTo(to), in Pending()
135 return isBufferInRange(mFrom, mTo, bufferId) && --mLeft == 0; in isInvalidated()
DAccessorImpl.cpp352 channel.postInvalidation(msgId, it->mFrom, it->mTo); in onBufferInvalidated()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt84150 Landroid/widget/SimpleAdapter;->mTo:[I