Searched refs:surfaceWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageGLWallpaper.java | 225 int surfaceWidth = surface.width(); in adjustTextureCoordinates() local 230 if (surfaceWidth > scissorWidth) { in adjustTextureCoordinates() 232 float pixelS = (float) Math.round((surfaceWidth - scissorWidth) * xOffset); in adjustTextureCoordinates() 234 float coordinateS = pixelS / surfaceWidth; in adjustTextureCoordinates() 236 float surfacePercentageW = (float) scissorWidth / surfaceWidth; in adjustTextureCoordinates() 263 if (surfaceWidth < scissorWidth) { in adjustTextureCoordinates() 265 surfacePercentageH *= (float) surfaceWidth / scissorWidth; in adjustTextureCoordinates()
|
/frameworks/base/libs/input/ |
D | SpriteController.h | 157 surfaceWidth(0), surfaceHeight(0), surfaceDrawn(false), surfaceVisible(false) { in SpriteState() 172 int32_t surfaceWidth; member 215 mLocked.state.surfaceWidth = width; in setSurfaceLocked()
|
D | SpriteController.cpp | 128 update.state.surfaceWidth = update.state.icon.width(); in doUpdateSprites() 133 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites() 152 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites() 158 update.state.surfaceWidth = desiredWidth; in doUpdateSprites() 291 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/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/view/ |
D | SurfaceView.java | 838 final int surfaceWidth = mSurfaceFrame.right; in updateSurface() local 840 realSizeChanged = mLastSurfaceWidth != surfaceWidth in updateSurface() 842 mLastSurfaceWidth = surfaceWidth; in updateSurface()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 533 final int surfaceWidth = in obtainSurfaces() local 539 surfaceWidth, surfaceHeight, surfaceInsets, true); in obtainSurfaces()
|