Home
last modified time | relevance | path

Searched refs:mScreenHeight (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java42 private int mScreenHeight; field in ListOfInternalSelectionViews
92 return mScreenHeight; in getScreenHeight()
117 mScreenHeight = size.y; in onCreate()
170 item.setDesiredHeight((int) (mScreenHeight * mItemScreenSizeFactor)); in getView()
/frameworks/av/cmds/screenrecord/
DTextRenderer.h43 mScreenHeight(0) in TextRenderer()
53 mScreenHeight = height; in setScreenSize()
129 uint32_t mScreenHeight; variable
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()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceTargetFilter.java58 private int mScreenHeight; field in SurfaceTargetFilter
126 mScreenHeight, 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.java71 private int mScreenHeight; field in SurfaceRenderFilter
222 mScreenHeight = height; 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/core/tests/coretests/src/android/util/
DGridScenario.java50 private int mScreenHeight; field in GridScenario
67 return mScreenHeight; in getScreenHeight()
82 return (int) (mScreenHeight * mItemScreenSizeFactor); in getDesiredItemHeight()
236 mScreenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
298 "screen height of " + mScreenHeight); in readAndValidateParams()
365 … desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getView()
DListScenario.java57 private int mScreenHeight; field in ListScenario
84 return mScreenHeight; in getScreenHeight()
309 mScreenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
369 (int) (params.mFadingEdgeScreenSizeFactor * mScreenHeight)); in onCreate()
371 mListView.setFadingEdgeLength((int) ((64.0 / 480) * mScreenHeight)); in onCreate()
474 "screen height of " + mScreenHeight); in readAndValidateParams()
504 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition()
506 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java34 private int mScreenHeight; field in RemoteHardwareConfig
56 mScreenHeight = screenHeight; in RemoteHardwareConfig()
68 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mScreenSize, in getHardwareConfig()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java60 private int mScreenHeight; 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()
273 (float)mScreenHeight + " Screen AR: " + screenAspectRatio + in updateTargetRect()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java151 private int mScreenHeight = 1280; field in ConfigGenerator
169 if (mScreenWidth > mScreenHeight) { in getFolderConfig()
171 mScreenHeight)); in getFolderConfig()
173 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenHeight, in getFolderConfig()
197 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mSize, in getHardwareConfig()
258 mScreenHeight = height; in setScreenHeight()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java676 int mScreenHeight = size.y; in startProcessor() local
681 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
683 float s2 = (float)th / (float)mScreenHeight; in startProcessor()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java721 int mScreenHeight = size.y; in startProcessor() local
726 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
728 float s2 = (float)th / (float)mScreenHeight; in startProcessor()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java155 private int mScreenHeight; field in GLES20Canvas
355 mScreenHeight = height; in setSize()
865 setSize(mScreenWidth, mScreenHeight); in setRenderTarget()