Home
last modified time | relevance | path

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

12

/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()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DRenderTarget.h23 mWidth = 0; in RenderTarget()
33 GLsizei getWidth() const { return mWidth; } in getWidth()
39 gl::Extents getExtents() const { return gl::Extents(mWidth, mHeight, mDepth); } in getExtents()
51 GLsizei mWidth;
DImage.h35 GLsizei getWidth() const { return mWidth; } in getWidth()
66 GLsizei mWidth;
DImage.cpp19 mWidth = 0; in Image()
/external/chromium_org/third_party/angle/src/libGLESv2/
DRenderbuffer.cpp27 mWidth = 0; in RenderbufferStorage()
55 return mWidth; in getWidth()
106 mWidth = mRenderTarget->getWidth(); in Colorbuffer()
120 mWidth = width; in Colorbuffer()
146 mWidth = mDepthStencil->getWidth(); in DepthStencilbuffer()
159 mWidth = mDepthStencil->getWidth(); in DepthStencilbuffer()
/external/chromium_org/third_party/angle/samples/angle/sample_util/
DWindow.cpp10 : mWidth(0), in Window()
17 return mWidth; in getWidth()
44 mWidth = event.Size.Width; in pushEvent()
DSampleApplication.cpp22 mWidth(width), in SampleApplication()
81 if (!mWindow->initialize(mName, mWidth, mHeight, mRequestedRenderer)) in run()
/external/chromium_org/third_party/angle/src/libEGL/
DSurface.cpp42 mWidth = width; in Surface()
51 …: mDisplay(display), mWindow(NULL), mConfig(config), mShareHandle(shareHandle), mWidth(width), mHe… in Surface()
119 width = mWidth; in resetSwapChain()
158 mWidth = backbufferWidth; in resizeSwapChain()
181 mWidth = backbufferWidth; in resetSwapChain()
195 if (x + width > mWidth) in swapRect()
197 width = mWidth - x; in swapRect()
352 return swapRect(0, 0, mWidth, mHeight); in swap()
397 return mWidth; in getWidth()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DMediaResourceGetter.java44 private final int mWidth; field in MediaResourceGetter.MediaMetadata
50 mWidth = width; in MediaMetadata()
62 int getWidth() { return mWidth; } in getWidth()
74 + ", width=" + mWidth in toString()
87 result = prime * result + mWidth; in hashCode()
106 if (mWidth != other.mWidth) in equals()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
DSwapChain9.cpp27 mWidth = -1; in SwapChain9()
132 mWidth, mHeight in reset()
231 mWidth = backbufferWidth; in reset()
280 D3DVIEWPORT9 viewport = {0, 0, mWidth, mHeight, 0.0f, 1.0f}; in swapRect()
288 float u1 = x / float(mWidth); in swapRect()
290 float u2 = (x + width) / float(mWidth); in swapRect()
DRenderTarget9.cpp32 mWidth = description.Width; in RenderTarget9()
105 mWidth = width; in RenderTarget9()
DImage9.cpp134 if (mWidth != width || in redefine()
142 mWidth = width; in redefine()
173 if (mWidth != 0 && mHeight != 0) in createSurface()
176 GLsizei requestWidth = mWidth; in createSurface()
201 entireRect.right = mWidth; in createSurface()
209 initializeFunc(mWidth, mHeight, 1, lockedRect.pBits, lockedRect.Pitch, 0); in createSurface()
289 if ((GLsizei)desc.Width == mWidth && (GLsizei)desc.Height == mHeight) in setManagedSurface()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
DSwapChain11.cpp39 mWidth = -1; in SwapChain11()
100 const int previousWidth = mWidth; in resetOffscreenTexture()
278 mWidth = backbufferWidth; in resetOffscreenTexture()
285 sourceBox.right = std::min(previousWidth, mWidth); in resetOffscreenTexture()
299 swapRect(0, 0, mWidth, mHeight); in resetOffscreenTexture()
531 float x1 = (x / float(mWidth)) * 2.0f - 1.0f; in swapRect()
533 float x2 = ((x + width) / float(mWidth)) * 2.0f - 1.0f; in swapRect()
536 float u1 = x / float(mWidth); in swapRect()
538 float u2 = (x + width) / float(mWidth); in swapRect()
574 viewport.Width = mWidth; in swapRect()
DSwapChain11.h39 EGLint getWidth() const { return mWidth; } in getWidth()
54 EGLint mWidth; variable
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DVideoCaptureAndroid.java57 format.mWidth = (buggyDevice.mMinWidth > format.mWidth) in applyMinDimensions()
58 ? buggyDevice.mMinWidth : format.mWidth; in applyMinDimensions()
166 mExpectedFrameSize = mCaptureFormat.mWidth * mCaptureFormat.mHeight * in allocateBuffers()
DVideoCapture.java31 int mWidth; field in VideoCapture.CaptureFormat
38 mWidth = width; in CaptureFormat()
45 return mWidth; in getWidth()
176 parameters.setPreviewSize(mCaptureFormat.mWidth, in allocate()
297 return mCaptureFormat.mWidth; in queryWidth()
DVideoCaptureTango.java87 mCaptureFormat = new CaptureFormat(s_CAM_PARAMS[mTangoCameraId].mWidth, in setCaptureParameters()
99 mCaptureFormat.mWidth * mCaptureFormat.mHeight * 3 / 2); in allocateBuffers()
144 j < mCaptureFormat.mWidth * mCaptureFormat.mHeight - in onPreviewFrame()
DVideoCaptureFactory.java34 final int mWidth; field in VideoCaptureFactory.CamParams
40 mWidth = width; in CamParams()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DExternalVideoSurfaceContainer.java80 private int mWidth; field in ExternalVideoSurfaceContainer
153 mWidth = 0; in initializeCurrentPositionOfSurfaceView()
234 if (mX == x && mY == y && mWidth == width && mHeight == height) return; in layOutSurfaceView()
237 mWidth = width; in layOutSurfaceView()
/external/chromium_org/third_party/angle/tests/angle_tests/
DANGLETest.cpp5 mWidth(1280), in ANGLETest()
23 ReizeWindow(mWidth, mHeight); in SetUp()
156 mWidth = width; in setWindowWidth()
206 return mWidth; in getWindowWidth()

12