Searched refs:surfaceWidth (Results 1 - 8 of 8) sorted by relevance

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

Completed in 152 milliseconds