Home
last modified time | relevance | path

Searched refs:mWidth (Results 1 – 18 of 18) sorted by relevance

/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
DOnCameraFrameRender.java61 private int mWidth; field in ComparisonFrameRender
66 mWidth = width; in ComparisonFrameRender()
78 …undistortedFrame.colRange(new Range(0, mWidth / 2)).copyTo(comparisonFrame.colRange(new Range(mWid… in render()
80 final int shift = (int)(mWidth * 0.005); in render()
81 … border.add(new MatOfPoint(new Point(mWidth / 2 - shift, 0), new Point(mWidth / 2 + shift, 0), in render()
82 new Point(mWidth / 2 + shift, mHeight), new Point(mWidth / 2 - shift, mHeight))); in render()
85 …Imgproc.putText(comparisonFrame, mResources.getString(R.string.original), new Point(mWidth * 0.1, … in render()
87 …t(comparisonFrame, mResources.getString(R.string.undistorted), new Point(mWidth * 0.6, mHeight * 0… in render()
DCameraCalibrationActivity.java45 private int mWidth; field in CameraCalibrationActivity
143 … new OnCameraFrameRender(new ComparisonFrameRender(mCalibrator, mWidth, mHeight, getResources())); in onOptionsItemSelected()
196 if (mWidth != width || mHeight != height) { in onCameraViewStarted()
197 mWidth = width; in onCameraViewStarted()
199 mCalibrator = new CameraCalibrator(mWidth, mHeight); in onCameraViewStarted()
/external/replicaisland/src/com/replica/replicaisland/
DDrawableBitmap.java28 private int mWidth; field in DrawableBitmap
38 mWidth = width; in DrawableBitmap()
111 final float width = mWidth; in draw()
162 mWidth = width; in resize()
168 return mWidth; in getWidth()
172 mWidth = width; in setWidth()
219 if (position.x + mWidth < 0 || position.x > mViewWidth in visibleAtPosition()
228 setCrop(horzFlip ? mWidth : 0, in setFlip()
230 horzFlip ? -mWidth : mWidth, in setFlip()
DSpriteComponent.java29 private int mWidth; field in SpriteComponent
43 mWidth = width; in SpriteComponent()
59 mWidth = 0; in reset()
111 bitmap.setWidth(mWidth); in update()
170 return mWidth; in getWidth()
178 mWidth = width; in setSize()
DScrollerComponent.java25 private int mWidth; field in ScrollerComponent
59 mWidth = 0; in reset()
78 mWidth = width; in setup()
102 background.setWidth(mWidth); in update()
DGameRenderer.java39 private int mWidth; field in GameRenderer
67 mWidth = gameWidth; in GameRenderer()
204 DrawableBitmap.beginDrawing(gl, mWidth, mHeight); in onDrawFrame()
272 float scaleX = (float)w / mWidth; in onSurfaceChanged()
274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged()
286 float ratio = (float) mWidth / mHeight; in onSurfaceChanged()
DBackgroundCollisionComponent.java28 private int mWidth; field in BackgroundCollisionComponent
60 mWidth = width; in BackgroundCollisionComponent()
105 mWidth = width; in setSize()
144 final int right = left + mWidth; in update()
146 final float centerOffsetX = ((mWidth) / 2.0f) + left; in update()
DTiledVertexGrid.java28 private int mWidth; field in TiledVertexGrid
44 mWidth = width; in TiledVertexGrid()
189 final int horzTileCount = (int)Math.ceil((float)mWidth / mTileWidth); in draw()
DGLSurfaceView.java1081 mWidth = 0; in GLThread()
1181 && (mWidth > 0) && (mHeight > 0) in guardedRun()
1209 w = mWidth; in guardedRun()
1385 mWidth = w; in onWindowResize()
1522 private int mWidth; field in GLSurfaceView.GLThread
/external/opencv3/modules/java/generator/src/java/
Dandroid+FpsMeter.java23 int mWidth = 0; field in FpsMeter
47 if (mWidth != 0 && mHeight != 0) in measure()
48 …mStrfps = FPS_FORMAT.format(fps) + " FPS@" + Integer.valueOf(mWidth) + "x" + Integer.valueOf(mHeig… in measure()
57 mWidth = width; in setResolution()
Dandroid+JavaCameraView.java299 return mYuvFrameData.submat(0, mHeight, 0, mWidth); in gray()
310 mWidth = width; in JavaCameraFrame()
322 private int mWidth; field in JavaCameraView.JavaCameraFrame
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
DSDLActivity.java1001 protected static float mWidth, mHeight; field in SDLSurface
1022 mWidth = 1.0f; in SDLSurface()
1111 mWidth = width; in surfaceChanged()
1126 if (mWidth > mHeight) { in surfaceChanged()
1130 if (mWidth < mHeight) { in surfaceChanged()
1137 double min = Math.min(mWidth, mHeight); in surfaceChanged()
1138 double max = Math.max(mWidth, mHeight); in surfaceChanged()
1254 x = event.getX(i) / mWidth; in onTouch()
1278 x = event.getX(i) / mWidth; in onTouch()
1292 x = event.getX(i) / mWidth; in onTouch()
/external/robolectric/v3/runtime/
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...