Home
last modified time | relevance | path

Searched refs:mTemp (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DJournaledFile.java33 File mTemp; field in JournaledFile
38 mTemp = temp; in JournaledFile()
51 if (mTemp.exists()) { in chooseForRead()
52 mTemp.delete(); in chooseForRead()
54 } else if (mTemp.exists()) { in chooseForRead()
55 result = mTemp; in chooseForRead()
56 mTemp.renameTo(mReal); in chooseForRead()
88 if (mTemp.exists()) { in chooseForWrite()
89 mTemp.delete(); in chooseForWrite()
92 return mTemp; in chooseForWrite()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java42 private float[][] mTemp = new float[3][3]; field in MotionSensorWTime
93 mTemp[0][mCounter] = mValues[0]; in onProcess()
94 mTemp[1][mCounter] = mValues[1]; in onProcess()
95 mTemp[2][mCounter] = mValues[2]; in onProcess()
100 mAvgValues[0] = (mTemp[0][0] + mTemp[0][1] + mTemp[0][2]) / 3; in onProcess()
101 mAvgValues[1] = (mTemp[1][0] + mTemp[1][1] + mTemp[1][2]) / 3; in onProcess()
102 mAvgValues[2] = (mTemp[2][0] + mTemp[2][1] + mTemp[2][2]) / 3; in onProcess()
/frameworks/base/core/java/android/os/
DFileBridge.java137 private final byte[] mTemp = new byte[MSG_LENGTH]; field in FileBridge.FileBridgeOutputStream
164 Memory.pokeInt(mTemp, 0, cmd, ByteOrder.BIG_ENDIAN); in writeCommandAndBlock()
165 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH); in writeCommandAndBlock()
168 if (IoBridge.read(mClient, mTemp, 0, MSG_LENGTH) == MSG_LENGTH) { in writeCommandAndBlock()
169 if (Memory.peekInt(mTemp, 0, ByteOrder.BIG_ENDIAN) == cmd) { in writeCommandAndBlock()
180 Memory.pokeInt(mTemp, 0, CMD_WRITE, ByteOrder.BIG_ENDIAN); in write()
181 Memory.pokeInt(mTemp, 4, byteCount, ByteOrder.BIG_ENDIAN); in write()
182 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH); in write()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java384 private final NetworkStatsCollection mTemp; field in NetworkStatsRecorder.RemoveUidRewriter
388 mTemp = new NetworkStatsCollection(bucketDuration); in RemoveUidRewriter()
394 mTemp.reset(); in reset()
399 mTemp.read(in); in read()
400 mTemp.clearDirty(); in read()
401 mTemp.removeUids(mUids); in read()
406 return mTemp.isDirty(); in shouldWrite()
411 mTemp.write(new DataOutputStream(out)); in write()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java262 private final State mTemp = new State(); field in EpicenterTranslateClipReveal.StateEvaluator
266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); in evaluate()
267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); in evaluate()
268 mTemp.trans = startValue.trans + (int) ((endValue.trans - startValue.trans) * fraction); in evaluate()
269 return mTemp; in evaluate()
/frameworks/base/core/java/android/widget/
DSearchView.java120 private int[] mTemp = new int[2]; field in SearchView
850 view.getLocationInWindow(mTemp); in getChildBoundsWithinSearchView()
852 final int top = mTemp[1] - mTemp2[1]; in getChildBoundsWithinSearchView()
853 final int left = mTemp[0] - mTemp2[0]; in getChildBoundsWithinSearchView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java138 private int[] mTemp = new int[2]; field in SearchView
887 view.getLocationInWindow(mTemp); in getChildBoundsWithinSearchView()
889 final int top = mTemp[1] - mTemp2[1]; in getChildBoundsWithinSearchView()
890 final int left = mTemp[0] - mTemp2[0]; in getChildBoundsWithinSearchView()