Lines Matching refs:hv
435 HighlightView hv = new HighlightView(mImageView);
462 hv.setup(mImageMatrix, imageRect, faceRect, mCircleCrop,
465 mImageView.add(hv);
470 HighlightView hv = new HighlightView(mImageView);
493 hv.setup(mImageMatrix, imageRect, cropRect, mCircleCrop,
495 mImageView.add(hv);
569 for (HighlightView hv : mHighlightViews) {
570 hv.mMatrix.set(getImageMatrix());
571 hv.invalidate();
572 if (hv.mIsFocused) {
573 centerBasedOnHighlightView(hv);
586 for (HighlightView hv : mHighlightViews) {
587 hv.mMatrix.set(getImageMatrix());
588 hv.invalidate();
595 for (HighlightView hv : mHighlightViews) {
596 hv.mMatrix.set(getImageMatrix());
597 hv.invalidate();
604 for (HighlightView hv : mHighlightViews) {
605 hv.mMatrix.set(getImageMatrix());
606 hv.invalidate();
614 HighlightView hv = mHighlightViews.get(i);
615 hv.mMatrix.postTranslate(deltaX, deltaY);
616 hv.invalidate();
624 HighlightView hv = mHighlightViews.get(i);
625 hv.setFocus(false);
626 hv.invalidate();
630 HighlightView hv = mHighlightViews.get(i);
631 int edge = hv.getHit(event.getX(), event.getY());
633 if (!hv.hasFocus()) {
634 hv.setFocus(true);
635 hv.invalidate();
656 HighlightView hv = mHighlightViews.get(i);
657 int edge = hv.getHit(event.getX(), event.getY());
660 mMotionHighlightView = hv;
675 HighlightView hv = mHighlightViews.get(i);
676 if (hv.hasFocus()) {
677 cropImage.mCrop = hv;
684 centerBasedOnHighlightView(hv);
737 private void ensureVisible(HighlightView hv) {
738 Rect r = hv.mDrawRect;
756 private void centerBasedOnHighlightView(HighlightView hv) {
757 Rect drawRect = hv.mDrawRect;
773 float [] coordinates = new float[] {hv.mCropRect.centerX(),
774 hv.mCropRect.centerY()};
779 ensureVisible(hv);
790 public void add(HighlightView hv) {
791 mHighlightViews.add(hv);