Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java986 private int mMeshWidth; field in Magnifier.InternalPopupWindow
1119 mMeshWidth = 1; in createMeshMatrixForFishEyeEffect()
1121 mMeshLeft = new float[2 * (mMeshWidth + 1) * (mMeshHeight + 1)]; in createMeshMatrixForFishEyeEffect()
1122 mMeshRight = new float[2 * (mMeshWidth + 1) * (mMeshHeight + 1)]; in createMeshMatrixForFishEyeEffect()
1127 mMeshWidth = 1; in fillMeshMatrix()
1133 for (int i = 0; i < 2 * (mMeshWidth + 1) * (mMeshHeight + 1); i += 2) { in fillMeshMatrix()
1135 final int colIndex = i % (2 * (mMeshWidth + 1)) / 2; in fillMeshMatrix()
1136 mMeshLeft[i] = (float) colIndex * mRamp / mMeshWidth; in fillMeshMatrix()
1137 mMeshRight[i] = w - mRamp + colIndex * mRamp / mMeshWidth; in fillMeshMatrix()
1140 final int rowIndex = i / 2 / (mMeshWidth + 1); in fillMeshMatrix()
[all …]