Home
last modified time | relevance | path

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

/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java75 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/
DWidget.java277 …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/
DCameraConnectionFragment.java579 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.c855 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/
Dped.py49 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/
DCamera2BasicFragment.java788 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()