Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Launcher2/src/com/android/launcher2/
DFastBitmapDrawable.java31 private int mHeight; field in FastBitmapDrawable
39 mHeight = mBitmap.getHeight(); in FastBitmapDrawable()
41 mWidth = mHeight = 0; in FastBitmapDrawable()
82 return mHeight; in getIntrinsicHeight()
92 return mHeight; in getMinimumHeight()
99 mHeight = mBitmap.getHeight(); in setBitmap()
101 mWidth = mHeight = 0; in setBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DColorTexture.java26 private int mHeight; field in ColorTexture
31 mHeight = 1; in ColorTexture()
36 draw(canvas, x, y, mWidth, mHeight); in draw()
51 mHeight = height; in setSize()
61 return mHeight; in getHeight()
DSurfaceTextureScreenNail.java36 private int mWidth, mHeight; field in SurfaceTextureScreenNail
45 mExtTexture.setSize(mWidth, mHeight); in acquireSurfaceTexture()
47 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in acquireSurfaceTexture()
85 mHeight = height; in setSize()
90 mExtTexture.setSize(mWidth, mHeight); in resizeTexture()
91 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in resizeTexture()
102 return mHeight; in getHeight()
DFadeTexture.java31 private final int mHeight; field in FadeTexture
37 mHeight = height; in FadeTexture()
45 draw(canvas, x, y, mWidth, mHeight); in draw()
60 return mHeight; in getHeight()
DProgressSpinner.java29 private final int mHeight; field in ProgressSpinner
40 mHeight = Math.max(mOuter.getHeight(), mInner.getHeight()); in ProgressSpinner()
48 return mHeight; in getHeight()
71 canvas.translate(x + mWidth / 2, y + mHeight / 2); in draw()
DTiledScreenNail.java48 private int mHeight; field in TiledScreenNail
56 mHeight = bitmap.getHeight(); in TiledScreenNail()
81 mHeight = Math.round(scale * height); in setSize()
105 mHeight = newer.mHeight; in combine()
131 return mHeight; in getHeight()
DTiledTexture.java61 private final int mHeight; field in TiledTexture
124 mHeight = height + 2 * BORDER_SIZE; in setSize()
196 mHeight = bitmap.getHeight(); in TiledTexture()
200 for (int y = 0, h = mHeight; y < h; y += CONTENT_SIZE) { in TiledTexture()
207 Math.min(CONTENT_SIZE, mHeight - y)); in TiledTexture()
273 float scaleY = (float) height / mHeight; in drawMixed()
292 float scaleY = (float) height / mHeight; in draw()
336 return mHeight; in getHeight()
341 draw(canvas, x, y, mWidth, mHeight); in draw()
/packages/apps/Browser/src/com/android/browser/view/
DPieListView.java47 mHeight = mChildHeight * mAdapter.getCount(); in layout()
49 mTop = Math.max(anchorY - mHeight / 2, 0); in layout()
50 if (mTop + mHeight > pHeight) { in layout()
51 mTop = pHeight - mHeight; in layout()
69 canvas.drawRect(mLeft, mTop, mLeft + mWidth, mTop + mHeight, mBgPaint); in draw()
79 final int ix = (y - mTop) * mViews.size() / mHeight; in findChildAt()
DStopProgressView.java18 int mHeight; field in StopProgressView
76 mHeight = (bottom - top) * 2 / 3; in onLayout()
84 int t = (getHeight() - mHeight) / 2; in onDraw()
85 mOverlayDrawable.setBounds(l, t, l + mWidth, t + mHeight); in onDraw()
DPieStackView.java65 mHeight = mChildHeight + (mViews.size() - 1) * mMinHeight; in layout()
67 mTop = anchorY - mHeight / 2; in layout()
76 int dy = (n == 1) ? 0 : (mHeight - mChildHeight) / (n - 1); in layoutChildrenLinear()
100 final int ix = (y - mTop) * mViews.size() / mHeight; in findChildAt()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
DRenderScriptScene.java28 protected int mHeight; field in RenderScriptScene
36 mHeight = height; in RenderScriptScene()
55 return mHeight; in getHeight()
82 mHeight = height; in resize()
/packages/wallpapers/Basic/src/com/android/wallpaper/
DRenderScriptScene.java27 protected int mHeight; field in RenderScriptScene
35 mHeight = height; in RenderScriptScene()
54 return mHeight; in getHeight()
81 mHeight = height; in resize()
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
DRenderScriptScene.java28 protected int mHeight; field in RenderScriptScene
37 mHeight = height; in RenderScriptScene()
56 return mHeight; in getHeight()
85 mHeight = height; in resize()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBitmapPool.java34 private final int mWidth, mHeight; // only used if mOneSize is true field in BitmapPool
39 mHeight = height; in BitmapPool()
48 mHeight = -1; in BitmapPool()
79 (bitmap.getHeight() != mHeight))) { in recycle()
/packages/apps/Mms/src/com/android/mms/model/
DRegionModel.java27 private int mHeight; field in RegionModel
47 mHeight = height; in RegionModel()
122 return mHeight; in getHeight()
129 mHeight = height; in setHeight()
DImageModel.java67 private int mHeight; field in ImageModel
94 mHeight = uriImage.getHeight(); in initModelFromUri()
107 mHeight = uriImage.getHeight(); in decodeImageBounds()
110 Log.v(TAG, "Image bounds: " + mWidth + "x" + mHeight); in decodeImageBounds()
131 return mHeight; in getHeight()
156 byte[] data = UriImage.getResizedImageData(mWidth, mHeight, in createBitmap()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallTypeIconsView.java41 private int mHeight; field in CallTypeIconsView
55 mHeight = 0; in clear()
64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight()); in add()
95 setMeasuredDimension(mWidth, mHeight); in onMeasure()
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemPhotoEntry.java33 private final int mHeight; field in StreamItemPhotoEntry
43 mHeight = height; in StreamItemPhotoEntry()
55 mHeight = getInt(cursor, PhotoFiles.HEIGHT, -1); in StreamItemPhotoEntry()
77 return mHeight; in getHeight()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImage.java56 private int mHeight = UNKNOWN_LENGTH; field in BaseImage
149 mHeight = options.outHeight; in setupDimension()
152 mHeight = 0; in setupDimension()
164 if (mHeight == UNKNOWN_LENGTH) setupDimension(); in getHeight()
165 return mHeight; in getHeight()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DFrameBuffer.cpp15 mHeight = 0; in Reset()
63 mHeight = height; in Init()
95 return mHeight; in GetHeight()
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/
DFallRS.java132 proj.loadProjectionNormalized(mWidth, mHeight); in resize()
157 final int width = mWidth > mHeight ? mHeight : mWidth; in createMesh()
158 final int height = mWidth > mHeight ? mWidth : mHeight; in createMesh()
218 mWorldState.height = mHeight; in createState()
226 mWorldState.rotate = mWidth > mHeight ? 1 : 0; in createState()
300 proj.loadProjectionNormalized(mWidth, mHeight); in createProgramVertex()
377 int dropY = (int) ((y / mHeight) * mMeshHeight); in addDrop()
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/
DFrameBuffer.cpp15 mHeight = 0; in Reset()
65 mHeight = height; in Init()
97 return mHeight; in GetHeight()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java136 protected int mHeight = DEFAULT_HEIGHT; field in SimpleWeekView
220 mHeight = params.get(VIEW_PARAMS_HEIGHT); in setWeekParams()
221 if (mHeight < MIN_HEIGHT) { in setWeekParams()
222 mHeight = MIN_HEIGHT; in setWeekParams()
414 r.bottom = mHeight - 1; in drawBackground()
430 int y = ((mHeight + MINI_DAY_NUMBER_TEXT_SIZE) / 2) - DAY_SEPARATOR_WIDTH; in drawWeekNums()
476 r.bottom = mHeight - 1; in drawDaySeparators()
489 canvas.drawLine(x, 0, x, mHeight, p); in drawDaySeparators()
520 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mHeight); in onMeasure() local
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java64 private int mHeight; field in TouchInterceptor
139 mHeight = getHeight(); in onInterceptTouchEvent()
141 mUpperBound = Math.min(y - touchSlop, mHeight / 3); in onInterceptTouchEvent()
142 mLowerBound = Math.max(y + touchSlop, mHeight * 2 /3); in onInterceptTouchEvent()
195 if (y >= mHeight / 3) { in adjustScrollBounds()
196 mUpperBound = mHeight / 3; in adjustScrollBounds()
198 if (y <= mHeight * 2 / 3) { in adjustScrollBounds()
199 mLowerBound = mHeight * 2 / 3; in adjustScrollBounds()
342 speed = y > (mHeight + mLowerBound) / 2 ? 16 : 4; in onTouchEvent()
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java41 private int mHeight; field in GalaxyRS
61 mHeight = height; in init()
147 mHeight = h; in updateProjectionMatrices()
149 proj.loadOrthoWindow(mWidth, mHeight); in updateProjectionMatrices()
150 Matrix4f projNorm = getProjectionNormalized(mWidth, mHeight); in updateProjectionMatrices()
162 proj.loadOrthoWindow(mWidth, mHeight); in createProgramVertex()
169 updateProjectionMatrices(mWidth, mHeight); in createProgramVertex()
268 mHeight = height; in resize()

123