Searched refs:surfaceHeight (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DLocalPlayer.java497 int surfaceHeight = mLayout.getHeight();
502 if (surfaceWidth * height < surfaceHeight * width) {
510 lp.width = surfaceHeight * width / height;
511 lp.height = surfaceHeight;
578 int surfaceHeight = getWindow().getDecorView().getHeight();
581 if (surfaceWidth * height < surfaceHeight * width) {
585 lp.width = surfaceHeight * width / height;
586 lp.height = surfaceHeight;
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
H A DLocalPlayer.java497 int surfaceHeight = mLayout.getHeight();
502 if (surfaceWidth * height < surfaceHeight * width) {
510 lp.width = surfaceHeight * width / height;
511 lp.height = surfaceHeight;
578 int surfaceHeight = getWindow().getDecorView().getHeight();
581 if (surfaceWidth * height < surfaceHeight * width) {
585 lp.width = surfaceHeight * width / height;
586 lp.height = surfaceHeight;
/frameworks/base/libs/input/
H A DSpriteController.h184 surfaceWidth(0), surfaceHeight(0), surfaceDrawn(false), surfaceVisible(false) {
199 int32_t surfaceHeight; member in struct:android::SpriteController::SpriteState
241 mLocked.state.surfaceHeight = height;
H A DSpriteController.cpp140 update.state.surfaceHeight = update.state.icon.bitmap.height();
144 update.state.surfaceWidth, update.state.surfaceHeight);
161 || update.state.surfaceHeight < desiredHeight) {
167 update.state.surfaceHeight = desiredHeight;
308 update.state.surfaceWidth, update.state.surfaceHeight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java160 int surfaceHeight = Math.max(displayInfo.logicalHeight, mBackgroundHeight);
165 surfaceHolder.setFixedSize(surfaceWidth, surfaceHeight);
167 mLastRequestedHeight = surfaceHeight;
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp168 const int surfaceHeight = ceilf(node->getHeight() / float(LAYER_SIZE)) * LAYER_SIZE; local
171 if (!layer || layer->width() != surfaceWidth || layer->height() != surfaceHeight) {
174 info = SkImageInfo::Make(surfaceWidth, surfaceHeight, kRGBA_F16_SkColorType,
177 info = SkImageInfo::MakeN32Premul(surfaceWidth, surfaceHeight);
/frameworks/rs/
H A DrsProgramVertex.cpp220 float surfaceHeight = (float)rsc->getCurrentSurfaceHeight(); local
223 m.loadOrtho(0, surfaceWidth, surfaceHeight, 0, -1, 1);
/frameworks/base/core/java/android/widget/
H A DMagnifier.java269 final int surfaceHeight =
272 new SurfaceInfo(mainWindowSurface, surfaceWidth, surfaceHeight, true);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowStateAnimator.java897 float surfaceHeight = mSurfaceController.getHeight();
905 float surfaceContentHeight = surfaceHeight - vInsets;
976 insets.top + (int)(surfaceHeight
977 - (th * (surfaceHeight - mTmpSourceBounds.bottom))));
/frameworks/base/core/java/android/view/
H A DSurfaceView.java605 final int surfaceHeight = mSurfaceFrame.bottom;
607 || mLastSurfaceHeight != surfaceHeight;
609 mLastSurfaceHeight = surfaceHeight;

Completed in 1523 milliseconds