Searched refs:surfaceWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageGLWallpaper.java | 229 int surfaceWidth = surface.width(); in adjustTextureCoordinates() local 234 if (surfaceWidth > scissorWidth) { in adjustTextureCoordinates() 236 float pixelS = (float) Math.round((surfaceWidth - scissorWidth) * xOffset); in adjustTextureCoordinates() 238 float coordinateS = pixelS / surfaceWidth; in adjustTextureCoordinates() 240 float surfacePercentageW = (float) scissorWidth / surfaceWidth; in adjustTextureCoordinates() 267 if (surfaceWidth < scissorWidth) { in adjustTextureCoordinates() 269 surfacePercentageH *= (float) surfaceWidth / scissorWidth; in adjustTextureCoordinates()
|
/frameworks/base/libs/input/ |
D | SpriteController.h | 188 surfaceWidth(0), surfaceHeight(0), surfaceDrawn(false), surfaceVisible(false) { in SpriteState() 203 int32_t surfaceWidth; member 246 mLocked.state.surfaceWidth = width; in setSurfaceLocked()
|
D | SpriteController.cpp | 135 update.state.surfaceWidth = update.state.icon.bitmap.width(); in doUpdateSprites() 140 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites() 159 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites() 165 update.state.surfaceWidth = desiredWidth; in doUpdateSprites() 313 update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 161 const int surfaceWidth = ceilf(node->getWidth() / float(LAYER_SIZE)) * LAYER_SIZE; in createOrUpdateLayer() local 165 if (!layer || layer->width() != surfaceWidth || layer->height() != surfaceHeight) { in createOrUpdateLayer() 167 info = SkImageInfo::Make(surfaceWidth, surfaceHeight, getSurfaceColorType(), in createOrUpdateLayer()
|
/frameworks/rs/ |
D | rsProgramVertex.cpp | 219 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/ |
D | SurfaceView.java | 692 final int surfaceWidth = mSurfaceFrame.right; in updateSurface() local 694 realSizeChanged = mLastSurfaceWidth != surfaceWidth in updateSurface() 696 mLastSurfaceWidth = surfaceWidth; in updateSurface()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowStateAnimator.java | 867 float surfaceWidth = mSurfaceController.getWidth(); in setSurfaceBoundariesLocked() local 875 float surfaceContentWidth = surfaceWidth - hInsets; in setSurfaceBoundariesLocked() 945 insets.left + (int)(surfaceWidth in setSurfaceBoundariesLocked() 946 - (tw* (surfaceWidth - mTmpSourceBounds.right))), in setSurfaceBoundariesLocked()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 535 final int surfaceWidth = in obtainSurfaces() local 541 surfaceWidth, surfaceHeight, surfaceInsets, true); in obtainSurfaces()
|