Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java29 private double mScreenWidth; field in ViewMatrix
56 mScreenWidth = src.mScreenWidth; in clone()
114 Log.v(LOGTAG, "mScreenWidth: " + toStr(mScreenWidth)); in print()
154 return mScreenWidth; in getScreenWidth()
158 this.mScreenWidth = screenWidth; in setScreenWidth()
169 double scale = mScreenWidth / mScreenDim[0]; in calcMatrix()
239 mScreenWidth = Math.max(voxelDim[0] * (maxx - minx), in calcLook()
258 mScreenWidth = 2 * Math.max((maxx - minx), Math.max((maxy - miny), (maxz - minz))); in calcLook()
275 mEyePoint = new double[]{mLookPoint[0] + 2 * mScreenWidth * dx, in look()
276 mLookPoint[1] + 2 * mScreenWidth * dy, in look()
[all …]
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp140 if (mScreenWidth == 0 || mScreenHeight == 0) { in setProportionalScale()
142 mScreenWidth, mScreenHeight); in setProportionalScale()
145 float tallest = mScreenWidth > mScreenHeight ? mScreenWidth : mScreenHeight; in setProportionalScale()
258 if (mScreenWidth == 0 || mScreenHeight == 0) { in drawWrappedString()
260 mScreenWidth, mScreenHeight); in drawWrappedString()
272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos; in drawWrappedString()
275 xpos, mBorderWidth, mScreenWidth); in drawWrappedString()
291 (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/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java33 private int mScreenWidth; field in RemoteHardwareConfig
55 mScreenWidth = screenWidth; in RemoteHardwareConfig()
68 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mScreenSize, in getHardwareConfig()
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java152 private int mScreenWidth = 768; field in ConfigGenerator
169 if (mScreenWidth > mScreenHeight) { in getFolderConfig()
170 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenWidth, in getFolderConfig()
174 mScreenWidth)); in getFolderConfig()
197 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mSize, in getHardwareConfig()
263 mScreenWidth = width; in setScreenWidth()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java675 int mScreenWidth = size.x; in startProcessor() local
681 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
682 float s1 = (float)tw / (float)mScreenWidth; in startProcessor()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java720 int mScreenWidth = size.x; in startProcessor() local
726 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
727 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()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md110 path.lineTo(mScreenWidth, 0);