Searched defs:mArrowMatrix (Results 1 - 2 of 2) sorted by last modified time

/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java125 private final Matrix mArrowMatrix = new Matrix(); field in class:LockPatternView
1019 mArrowMatrix.setTranslate(leftX + offsetX, topY + offsetY); // transform to cell position
1020 mArrowMatrix.preTranslate(mBitmapWidth/2, mBitmapHeight/2);
1021 mArrowMatrix.preScale(sx, sy);
1022 mArrowMatrix.preTranslate(-mBitmapWidth/2, -mBitmapHeight/2);
1023 mArrowMatrix.preRotate(angle, cellWidth / 2.0f, cellHeight / 2.0f); // rotate about cell center
1024 mArrowMatrix.preTranslate((cellWidth - arrow.getWidth()) / 2.0f, 0.0f); // translate to 12:00 pos
1025 canvas.drawBitmap(arrow, mArrowMatrix, mPaint);
H A DRotarySelector.java93 final Matrix mArrowMatrix = new Matrix(); field in class:RotarySelector
314 mArrowMatrix.reset();
320 mArrowMatrix.setTranslate(0, 0);
322 mArrowMatrix.preRotate(-90, 0, 0);
323 mArrowMatrix.postTranslate(0, height);
325 canvas.drawBitmap(mArrowLongLeft, mArrowMatrix, mPaint);
328 mArrowMatrix.setTranslate(0, 0);
330 mArrowMatrix.preRotate(-90, 0, 0);
332 mArrowMatrix.postTranslate(0, height + (mBackgroundWidth - height));
334 canvas.drawBitmap(mArrowLongRight, mArrowMatrix, mPain
[all...]

Completed in 45 milliseconds