Home
last modified time | relevance | path

Searched refs:viewRect (Results 1 – 8 of 8) 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/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DCameraConnectionFragment.java573 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() local
575 final float centerX = viewRect.centerX(); in configureTransform()
576 final float centerY = viewRect.centerY(); in configureTransform()
579 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
/external/tensorflow/tensorflow/examples/android/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.java796 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform() local
798 float centerX = viewRect.centerX(); in configureTransform()
799 float centerY = viewRect.centerY(); in configureTransform()
802 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_nsopengl.mm1199 NSRect mainDisplayRect, viewRect;
1216 viewRect = NSMakeRect(0.0, 0.0, mainDisplayRect.size.width, mainDisplayRect.size.height);
1217 …fullScreenView = [[MyOpenGLView alloc] initWithFrame:viewRect shareContext:[openGLView openGLConte…
1224 [scene setViewportRect:viewRect];