Searched refs:mArrowMatrix (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
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...]
H A DLockPatternView.java128 private final Matrix mArrowMatrix = new Matrix(); field in class:LockPatternView
958 mArrowMatrix.setTranslate(leftX + offsetX, topY + offsetY); // transform to cell position
959 mArrowMatrix.preTranslate(mBitmapWidth/2, mBitmapHeight/2);
960 mArrowMatrix.preScale(sx, sy);
961 mArrowMatrix.preTranslate(-mBitmapWidth/2, -mBitmapHeight/2);
962 mArrowMatrix.preRotate(angle, cellWidth / 2.0f, cellHeight / 2.0f); // rotate about cell center
963 mArrowMatrix.preTranslate((cellWidth - arrow.getWidth()) / 2.0f, 0.0f); // translate to 12:00 pos
964 canvas.drawBitmap(arrow, mArrowMatrix, mPaint);

Completed in 341 milliseconds