Home
last modified time | relevance | path

Searched refs:mWidth (Results 1 – 25 of 26) 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()
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/chromium_org/third_party/angle/src/libEGL/
DSurface.cpp42 mWidth = -1; in Surface()
50 …: mDisplay(display), mWindow(NULL), mConfig(config), mShareHandle(shareHandle), mWidth(width), mHe… in Surface()
116 width = mWidth; in resetSwapChain()
155 mWidth = backbufferWidth; in resizeSwapChain()
178 mWidth = backbufferWidth; in resetSwapChain()
192 if (x + width > mWidth) in swapRect()
194 width = mWidth - x; in swapRect()
345 return swapRect(0, 0, mWidth, mHeight); in swap()
361 return mWidth; in getWidth()
DSurface.h86 EGLint mWidth; // Width of surface variable
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DRenderTarget.h22 mWidth = 0; in RenderTarget()
31 GLsizei getWidth() { return mWidth; } in getWidth()
44 GLsizei mWidth;
DSwapChain11.cpp37 mWidth = -1; in SwapChain11()
184 const int previousWidth = mWidth; in resetOffscreenTexture()
335 mWidth = backbufferWidth; in resetOffscreenTexture()
342 sourceBox.right = std::min(previousWidth, mWidth); in resetOffscreenTexture()
356 swapRect(0, 0, mWidth, mHeight); in resetOffscreenTexture()
618 float x1 = (x / float(mWidth)) * 2.0f - 1.0f; in swapRect()
620 float x2 = ((x + width) / float(mWidth)) * 2.0f - 1.0f; in swapRect()
623 float u1 = x / float(mWidth); in swapRect()
625 float u2 = (x + width) / float(mWidth); in swapRect()
661 viewport.Width = mWidth; in swapRect()
DSwapChain9.cpp26 mWidth = -1; in SwapChain9()
172 mWidth, mHeight in reset()
271 mWidth = backbufferWidth; in reset()
320 D3DVIEWPORT9 viewport = {0, 0, mWidth, mHeight, 0.0f, 1.0f}; in swapRect()
328 float u1 = x / float(mWidth); in swapRect()
330 float u2 = (x + width) / float(mWidth); in swapRect()
DSwapChain11.h38 EGLint getWidth() const { return mWidth; } in getWidth()
53 EGLint mWidth; variable
DRenderTarget9.cpp30 mWidth = description.Width; in RenderTarget9()
81 mWidth = width; in RenderTarget9()
DRenderTarget11.cpp156 mWidth = width; in RenderTarget11()
183 mWidth = width; in RenderTarget11()
289 mWidth = width; in RenderTarget11()
DImage11.cpp128 if (mWidth != width || in redefine()
135 mWidth = width; in redefine()
386 if (mWidth != 0 && mHeight != 0) in createStagingTexture()
388 GLsizei width = mWidth; in createStagingTexture()
DSwapChain9.h44 EGLint mWidth; variable
DImage9.cpp146 if (mWidth != width || in redefine()
153 mWidth = width; in redefine()
185 if (mWidth != 0 && mHeight != 0) in createSurface()
188 GLsizei requestWidth = mWidth; in createSurface()
278 if ((GLsizei)desc.Width == mWidth && (GLsizei)desc.Height == mHeight) in setManagedSurface()
DImage.h33 GLsizei getWidth() const { return mWidth; } in getWidth()
118 GLsizei mWidth;
DImage.cpp19 mWidth = 0; in Image()
/external/chromium_org/third_party/angle/src/libGLESv2/
DRenderbuffer.cpp320 mWidth = 0; in RenderbufferStorage()
343 return mWidth; in getWidth()
389 mWidth = mRenderTarget->getWidth(); in Colorbuffer()
403 mWidth = width; in Colorbuffer()
434 mWidth = mDepthStencil->getWidth(); in DepthStencilbuffer()
447 mWidth = mDepthStencil->getWidth(); in DepthStencilbuffer()
DRenderbuffer.h153 GLsizei mWidth;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DMediaResourceGetter.java33 private final int mWidth; field in MediaResourceGetter.MediaMetadata
39 mWidth = width; in MediaMetadata()
48 private int getWidth() { return mWidth; } in getWidth()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAndroidViewIntegrationTest.java29 private int mWidth; field in AndroidViewIntegrationTest.OnContentSizeChangedHelper
34 return mWidth; in getWidth()
43 mWidth = widthCss; in onContentSizeChanged()
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DVideoCapture.java29 public int mWidth = 0; field in VideoCapture.CaptureCapability
177 mCurrentCapability.mWidth = matchedWidth; in allocate()
235 return mCurrentCapability.mWidth; in queryWidth()

12