Home
last modified time | relevance | path

Searched refs:mScreenHeight (Results 1 – 12 of 12) 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/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.java56 private int mScreenHeight; field in ListScenario
83 return mScreenHeight; in getScreenHeight()
308 mScreenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
367 …mListView.setFadingEdgeLength((int) (params.mFadingEdgeScreenSizeFactor * mScreenHeight)); … in onCreate()
369 mListView.setFadingEdgeLength((int) ((64.0 / 480) * mScreenHeight)); in onCreate()
471 "screen height of " + mScreenHeight); in readAndValidateParams()
501 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); in getHeightForPosition()
503 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()
/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/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/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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java151 private int mScreenHeight = 1280; field in ConfigGenerator
170 if (mScreenWidth > mScreenHeight) { in getFolderConfig()
172 mScreenHeight)); in getFolderConfig()
174 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenHeight, in getFolderConfig()
198 return new HardwareConfig(mScreenWidth, mScreenHeight, mDensity, mXdpi, mYdpi, mSize, in getHardwareConfig()
259 mScreenHeight = height; in setScreenHeight()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java681 int mScreenHeight = size.y; in startProcessor() local
686 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
688 float s2 = (float)th / (float)mScreenHeight; in startProcessor()
/frameworks/rs/java/tests/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()