Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/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/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.java152 private int mScreenWidth = 768; field in ConfigGenerator
170 if (mScreenWidth > mScreenHeight) { in getFolderConfig()
171 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenWidth, in getFolderConfig()
175 mScreenWidth)); in getFolderConfig()
198 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mSize, in getHardwareConfig()
264 mScreenWidth = width; in setScreenWidth()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java680 int mScreenWidth = size.x; in startProcessor() local
686 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
687 float s1 = (float)tw / (float)mScreenWidth; in startProcessor()
/frameworks/rs/java/tests/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()