Home
last modified time | relevance | path

Searched refs:surfaceWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java496 int surfaceWidth = mLayout.getWidth(); in updateSize() local
502 if (surfaceWidth * height < surfaceHeight * width) { in updateSize()
505 lp.width = surfaceWidth; in updateSize()
506 lp.height = surfaceWidth * height / width; in updateSize()
579 int surfaceWidth = getWindow().getDecorView().getWidth(); in updateSize() local
581 if (surfaceWidth * height < surfaceHeight * width) { in updateSize()
582 lp.width = surfaceWidth; in updateSize()
583 lp.height = surfaceWidth * height / width; in updateSize()
/frameworks/base/libs/input/
DSpriteController.h184 surfaceWidth(0), surfaceHeight(0), surfaceDrawn(false), surfaceVisible(false) { in SpriteState()
198 int32_t surfaceWidth; member
240 mLocked.state.surfaceWidth = width; in setSurfaceLocked()
DSpriteController.cpp139 update.state.surfaceWidth = update.state.icon.bitmap.width(); in doUpdateSprites()
144 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites()
159 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites()
169 status, update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
172 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
336 update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
/frameworks/rs/
DrsProgramVertex.cpp219 float surfaceWidth = (float)rsc->getCurrentSurfaceWidth(); in updateSize() local
223 m.loadOrtho(0, surfaceWidth, surfaceHeight, 0, -1, 1); in updateSize()
/frameworks/base/core/java/android/view/
DSurfaceView.java597 final int surfaceWidth = mSurfaceFrame.right; in updateSurface() local
599 realSizeChanged = mLastSurfaceWidth != surfaceWidth in updateSurface()
601 mLastSurfaceWidth = surfaceWidth; in updateSurface()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java210 int surfaceWidth = Math.max(displayInfo.logicalWidth, mBackgroundWidth); in updateSurfaceSize() local
217 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight); in updateSurfaceSize()
218 mLastRequestedWidth = surfaceWidth; in updateSurfaceSize()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java1393 float surfaceWidth = mSurfaceController.getWidth(); in setSurfaceBoundariesLocked() local
1399 float surfaceContentWidth = surfaceWidth - hInsets; in setSurfaceBoundariesLocked()