Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DBoundsAnimationController.java100 private final Rect mTo; field in BoundsAnimationController.BoundsAnimator
121 mTo = to; in BoundsAnimator()
132 mFrozenTaskWidth = mTo.width(); in BoundsAnimator()
133 mFrozenTaskHeight = mTo.height(); in BoundsAnimator()
141 if (mFrom.width() * mFrom.height() > mTo.width() * mTo.height()) { in animatingToLargerSize()
151 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f); in onAnimationUpdate()
152 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f); in onAnimationUpdate()
153 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f); in onAnimationUpdate()
154 mTmpRect.bottom = (int) (mFrom.bottom * remains + mTo.bottom * value + 0.5f); in onAnimationUpdate()
156 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value in onAnimationUpdate()
[all …]
/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/av/media/libstagefright/
DDataConverter.cpp105 if (mTo == kAudioEncodingPcm8bit && mFrom == kAudioEncodingPcm16bit) { in safeConvert()
107 } else if (mTo == kAudioEncodingPcm8bit && mFrom == kAudioEncodingPcmFloat) { in safeConvert()
109 } else if (mTo == kAudioEncodingPcm16bit && mFrom == kAudioEncodingPcm8bit) { in safeConvert()
111 } else if (mTo == kAudioEncodingPcm16bit && mFrom == kAudioEncodingPcmFloat) { in safeConvert()
113 } else if (mTo == kAudioEncodingPcmFloat && mFrom == kAudioEncodingPcm8bit) { in safeConvert()
115 } 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/v4/java/android/support/v4/widget/
DSimpleCursorAdapter.java45 protected int[] mTo; field in SimpleCursorAdapter
64 mTo = to; in SimpleCursorAdapter()
90 mTo = to; in SimpleCursorAdapter()
121 final int count = mTo.length; in bindView()
123 final int[] to = mTo; in bindView()
346 mTo = to; in changeCursorAndColumns()
/frameworks/av/media/libstagefright/include/
DDataConverter.h72 mTo(target) { } in AudioConverter()
74 AudioEncoding mTo; member