Home
last modified time | relevance | path

Searched refs:mDelta (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/os/
DLongArrayMultiStateCounterPerfTest.java57 private final long[] mDelta; field in LongArrayMultiStateCounterPerfTest.TestLongArrayMultiStateCounter
68 mDelta = new long[mArrayLength]; in TestLongArrayMultiStateCounter()
91 if (delta(mLastTimeInFreq, timeInFreq, mDelta)) { in updateValue()
96 add(mStates[i].mCounter, mDelta, timeInState, timeSinceUpdate); in updateValue()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java101 private int mDelta; field in PipResizeGestureHandler
186 mDelta = res.getDimensionPixelSize(R.dimen.pip_resize_edge_size); in reloadResources()
192 mDragCornerSize.set(0, 0, mDelta, mDelta); in resetDragCorners()
306 mTmpTopLeftCorner.offset(currentPipBounds.left - mDelta / 2, in isWithinDragResizeRegion()
307 currentPipBounds.top - mDelta / 2); in isWithinDragResizeRegion()
308 mTmpTopRightCorner.offset(currentPipBounds.right - mDelta / 2, in isWithinDragResizeRegion()
309 currentPipBounds.top - mDelta / 2); in isWithinDragResizeRegion()
310 mTmpBottomLeftCorner.offset(currentPipBounds.left - mDelta / 2, in isWithinDragResizeRegion()
311 currentPipBounds.bottom - mDelta / 2); in isWithinDragResizeRegion()
312 mTmpBottomRightCorner.offset(currentPipBounds.right - mDelta / 2, in isWithinDragResizeRegion()
[all …]
DPipTouchHandler.java831 private final PointF mDelta = new PointF();
841 mDelta.set(0f, 0f);
871 float lastX = mStartPosition.x + mDelta.x; in onMove()
872 float lastY = mStartPosition.y + mDelta.y; in onMove()
877 mDelta.x += left - lastX; in onMove()
878 mDelta.y += top - lastY; in onMove()
/frameworks/rs/toolkit/
DTestTaskProcessor.cpp10 uint8_t mDelta; member in SimpleTask
16 : Task{sizeX, sizeY, vectorSize, false, nullptr}, mBuffer{buffer}, mDelta{delta} {} in SimpleTask()
34 mBuffer[index + i] += newValue(x, y, mDelta + i); in processData()