Searched refs:viewRect (Results 1 – 6 of 6) sorted by relevance
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 75 Rect viewRect = new Rect(); in onTouchEvent() local 78 viewRect.set( in onTouchEvent() 80 if (viewRect.contains((int) ev.getX(), (int) ev.getY())) { in onTouchEvent()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
D | Widget.java | 277 …public PointF getElementCoordinates(float height, float width, RectF viewRect, PositionMetrics met… in getElementCoordinates() argument 278 float x = metrics.getXPositionMetric().getPixelValue(viewRect.width()) + viewRect.left; in getElementCoordinates() 279 float y = metrics.getYPositionMetric().getPixelValue(viewRect.height()) + viewRect.top; in getElementCoordinates()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 579 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() local 581 final float centerX = viewRect.centerX(); in configureTransform() 582 final float centerY = viewRect.centerY(); in configureTransform() 585 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|
/external/python/cpython2/Mac/Modules/te/ |
D | _TEmodule.c | 855 return Py_BuildValue("O&", PyMac_BuildRect, &(*self->ob_itself)->viewRect); in TEObj_get_viewRect() 1085 Rect viewRect; in TE_TENew() local 1091 PyMac_GetRect, &viewRect)) in TE_TENew() 1094 &viewRect); in TE_TENew() 1130 Rect viewRect; in TE_TEStyleNew() local 1136 PyMac_GetRect, &viewRect)) in TE_TEStyleNew() 1139 &viewRect); in TE_TEStyleNew()
|
/external/python/cpython2/Mac/Demo/textedit/ |
D | ped.py | 49 vr = self.ted.viewRect 65 delta = (self.ted.viewRect[3]-self.ted.lineHeight) 71 delta = -(self.ted.viewRect[3]-self.ted.lineHeight)
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 788 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() local 790 float centerX = viewRect.centerX(); in configureTransform() 791 float centerY = viewRect.centerY(); in configureTransform() 794 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
|