Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DSpriteController.h185 surfaceWidth(0), surfaceHeight(0), surfaceDrawn(false), surfaceVisible(false) { in SpriteState()
200 int32_t surfaceWidth; member
243 mLocked.state.surfaceWidth = width; in setSurfaceLocked()
DSpriteController.cpp133 update.state.surfaceWidth = update.state.icon.bitmap.getInfo().width; in doUpdateSprites()
138 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites()
157 if (update.state.surfaceWidth < desiredWidth in doUpdateSprites()
163 update.state.surfaceWidth = desiredWidth; in doUpdateSprites()
323 update.state.surfaceWidth, update.state.surfaceHeight, in doUpdateSprites()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DImageWallpaperTest.java157 int surfaceWidth, int surfaceHeight) {
170 verify(mSurfaceHolder, times(1)).setFixedSize(surfaceWidth, surfaceHeight);
/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/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp163 const int surfaceWidth = ceilf(node->getWidth() / float(LAYER_SIZE)) * LAYER_SIZE; in createOrUpdateLayer() local
167 if (!layer || layer->width() != surfaceWidth || layer->height() != surfaceHeight) { in createOrUpdateLayer()
169 info = SkImageInfo::Make(surfaceWidth, surfaceHeight, getSurfaceColorType(), in createOrUpdateLayer()
/frameworks/base/core/java/android/widget/
DMagnifier.java644 final int surfaceWidth = in obtainSurfaces() local
650 surfaceWidth, surfaceHeight, surfaceInsets, true); in obtainSurfaces()
994 final int surfaceWidth = mContentWidth + 2 * mOffsetX; in InternalPopupWindow() local
999 .setBufferSize(surfaceWidth, surfaceHeight) in InternalPopupWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java911 float surfaceWidth = mSurfaceController.getWidth(); in setSurfaceBoundariesLocked() local
919 float surfaceContentWidth = surfaceWidth - hInsets; in setSurfaceBoundariesLocked()
983 insets.left + (int)(surfaceWidth in setSurfaceBoundariesLocked()
984 - (tw* (surfaceWidth - mTmpSourceBounds.right))), in setSurfaceBoundariesLocked()
/frameworks/base/core/java/android/view/
DSurfaceView.java1108 final int surfaceWidth = mSurfaceFrame.right; in updateSurface() local
1110 realSizeChanged = mLastSurfaceWidth != surfaceWidth in updateSurface()
1112 mLastSurfaceWidth = surfaceWidth; in updateSurface()