Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp138 if (mScreenWidth == 0 || mScreenHeight == 0) { in setProportionalScale()
140 mScreenWidth, mScreenHeight); in setProportionalScale()
143 float tallest = mScreenWidth > mScreenHeight ? mScreenWidth : mScreenHeight; in setProportionalScale()
256 if (mScreenWidth == 0 || mScreenHeight == 0) { in drawWrappedString()
258 mScreenWidth, mScreenHeight); in drawWrappedString()
270 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos; in drawWrappedString()
273 xpos, mBorderWidth, mScreenWidth); in drawWrappedString()
289 (float) (mScreenWidth - mBorderWidth - xposAdj)); in drawWrappedString()
DTextRenderer.h42 mScreenWidth(0), in TextRenderer()
52 mScreenWidth = width; in setScreenSize()
128 uint32_t mScreenWidth; variable
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceTargetFilter.java54 private int mScreenWidth; field in SurfaceTargetFilter
125 MutableFrameFormat screenFormat = ImageFormat.create(mScreenWidth, in prepare()
185 mScreen.setViewport(0, 0, mScreenWidth, mScreenHeight); in fieldPortValueUpdated()
202 if (mScreenWidth > 0 && mScreenHeight > 0 && mProgram != null) { in updateTargetRect()
203 float screenAspectRatio = (float)mScreenWidth / mScreenHeight; in updateTargetRect()
DSurfaceRenderFilter.java70 private int mScreenWidth; field in SurfaceRenderFilter
221 mScreenWidth = width; in surfaceChanged()
223 mScreen.setViewport(0, 0, mScreenWidth, mScreenHeight); in surfaceChanged()
234 if (mScreenWidth > 0 && mScreenHeight > 0 && mProgram != null) { in updateTargetRect()
235 float screenAspectRatio = (float)mScreenWidth / mScreenHeight; in updateTargetRect()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java56 private int mScreenWidth; field in SurfaceTextureTarget
146 screenFormat.setDimensions(mScreenWidth, mScreenHeight); in prepare()
160 mSurfaceTexture, mScreenWidth, mScreenHeight); in open()
268 if (mScreenWidth > 0 && mScreenHeight > 0 && mProgram != null) { in updateTargetRect()
269 float screenAspectRatio = (float)mScreenWidth / mScreenHeight; in updateTargetRect()
272 Log.v(TAG, "UTR. screen w = " + (float)mScreenWidth + " x screen h = " + in updateTargetRect()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java123 private int mScreenWidth = 768; field in ConfigGenerator
141 if (mScreenWidth > mScreenHeight) { in getFolderConfig()
142 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenWidth, in getFolderConfig()
146 mScreenWidth)); in getFolderConfig()
170 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mSize, in getHardwareConfig()
236 mScreenWidth = width; in setScreenWidth()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java678 int mScreenWidth = size.x; in startProcessor() local
684 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
685 float s1 = (float)tw / (float)mScreenWidth; in startProcessor()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java154 private int mScreenWidth; field in GLES20Canvas
354 mScreenWidth = width; in setSize()
865 setSize(mScreenWidth, mScreenHeight); in setRenderTarget()