Searched refs:mHeight (Results 1 - 25 of 43) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
H A DFastBitmapDrawable.java28 private int mHeight; field in class:FastBitmapDrawable
34 mHeight = mBitmap.getHeight();
36 mWidth = mHeight = 0;
65 return mHeight;
75 return mHeight;
82 mHeight = mBitmap.getHeight();
84 mWidth = mHeight = 0;
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DTexture.java32 int mHeight; field in class:Texture
45 mHeight = 0;
67 return mHeight;
H A DLayer.java27 float mHeight = 0; field in class:Layer
48 return mHeight;
52 if (mWidth != width || mHeight != height) {
54 mHeight = height;
H A DCanvasTexture.java28 private int mHeight; field in class:CanvasTexture
55 return mHeight;
68 mHeight = height;
89 int height = (int) mHeight;
164 view.draw2D(x, y, 0, mWidth, mHeight);
171 float height = mHeight;
H A DBackgroundLayer.java130 view.draw2D(rightEdge, 0, Z_FAR_PLANE, mBackgroundBlitWidth, mHeight);
132 view.draw2D(anchorEdge, 0, Z_FAR_PLANE, mBackgroundBlitWidth, mHeight);
135 view.draw2D(leftEdge, 0, Z_FAR_PLANE, mBackgroundBlitWidth, mHeight);
H A DAdaptiveBackgroundTexture.java41 private final int mHeight; field in class:AdaptiveBackgroundTexture
55 mHeight = height;
63 mHeight = height;
95 int destHeight = mHeight;
H A DGridQuad.java51 private float mHeight; field in class:GridQuad
68 grid.mHeight = height;
143 return mHeight;
148 mAnimHeight = FloatUtils.animate(mAnimHeight, mHeight, timeElapsed);
156 mAnimHeight = mHeight;
205 mHeight = height;
H A DGridCamera.java55 public int mHeight; field in class:GridCamera
125 mHeight = h;
154 posYx = posYx / mHeight;
171 h = (f * mHeight) / mWidth;
/packages/apps/Camera/src/com/android/camera/ui/
H A DResourceTexture.java44 if (Util.isPowerOf2(mWidth) && Util.isPowerOf2(mHeight)) return mBitmap;
47 mBitmap = generateGLCompatibleBitmap(mWidth, mHeight);
57 if (mHeight == UNSPECIFIED) {
60 return mHeight;
65 if (mHeight == UNSPECIFIED) {
H A DNinePatchTexture.java53 if (mLastWidth != mWidth || mLastHeight != mHeight) {
55 mDelegate = new MyTexture(mWidth, mHeight);
57 mLastHeight = mHeight;
85 npd.setBounds(0, 0, mWidth, mHeight);
H A DTexture.java44 protected int mHeight = UNSPECIFIED; field in class:Texture
61 mHeight = height;
78 return mHeight;
100 int[] cropRect = {0, mHeight, mWidth, - mHeight};
140 root.drawTexture(this, x, y, mWidth, mHeight);
H A DCanvasTexture.java32 Bitmap bitmap = generateGLCompatibleBitmap(mWidth, mHeight);
/packages/apps/Mms/src/com/android/mms/model/
H A DRegionModel.java27 private int mHeight; field in class:RegionModel
47 mHeight = height;
119 * @return the mHeight
122 return mHeight;
126 * @param height the mHeight to set
129 mHeight = height;
H A DImageModel.java58 private int mHeight; field in class:ImageModel
90 mHeight = uriImage.getHeight();
103 mHeight = uriImage.getHeight();
106 Log.v(TAG, "Image bounds: " + mWidth + "x" + mHeight);
126 return mHeight;
160 int outHeight = mHeight;
/packages/wallpapers/Basic/src/com/android/wallpaper/
H A DRenderScriptScene.java27 protected int mHeight; field in class:RenderScriptScene
35 mHeight = height;
54 return mHeight;
81 mHeight = height;
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptScene.java27 protected int mHeight; field in class:RenderScriptScene
35 mHeight = height;
54 return mHeight;
81 mHeight = height;
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
H A DRenderScriptScene.java27 protected int mHeight; field in class:RenderScriptScene
35 mHeight = height;
54 return mHeight;
81 mHeight = height;
H A DGenericWaveRS.java91 mHeight = height;
110 mPVAlloc.setupProjectionNormalized(mWidth, mHeight);
141 mPVAlloc.setupProjectionNormalized(mWidth, mHeight);
/packages/apps/Phone/src/com/android/phone/
H A DButtonGridLayout.java86 private int mHeight; field in class:ButtonGridLayout
124 mHeight = ROWS * mHeightInc;
151 int y = (bottom - top) - mHeight + mPaddingTop;
167 * the full width/height should be in mWidth and mHeight and we
174 final int height = resolveSize(mHeight, heightMeasureSpec);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImage.java56 private int mHeight = UNKNOWN_LENGTH; field in class:BaseImage
149 mHeight = options.outHeight;
152 mHeight = 0;
164 if (mHeight == UNKNOWN_LENGTH) setupDimension();
165 return mHeight;
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java52 private int mHeight; field in class:TouchInterceptor
126 mHeight = getHeight();
128 mUpperBound = Math.min(y - touchSlop, mHeight / 3);
129 mLowerBound = Math.max(y + touchSlop, mHeight * 2 /3);
182 if (y >= mHeight / 3) {
183 mUpperBound = mHeight / 3;
185 if (y <= mHeight * 2 / 3) {
186 mLowerBound = mHeight * 2 / 3;
310 speed = y > (mHeight + mLowerBound) / 2 ? 16 : 4;
316 int ref = pointToPosition(0, mHeight /
[all...]
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/
H A DFallRS.java134 mPvOrthoAlloc.setupProjectionNormalized(mWidth, mHeight);
170 final int width = mWidth > mHeight ? mHeight : mWidth;
171 final int height = mWidth > mHeight ? mWidth : mHeight;
235 mWorldState.height = mHeight;
243 mWorldState.rotate = mWidth > mHeight ? 1 : 0;
327 mPvOrthoAlloc.setupProjectionNormalized(mWidth, mHeight);
412 mDrop.dropY = (int) ((y / mHeight) * mMeshHeight);
/packages/apps/Mms/src/com/android/mms/ui/
H A DUriImage.java54 private int mHeight; field in class:UriImage
143 mHeight = opt.outHeight;
172 return mHeight;
203 int outHeight = mHeight;
213 ", mWidth=" + mWidth + ", mHeight=" + mHeight +
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
H A DGalaxyRS.java165 mPvOrthoAlloc.setupOrthoWindow(mWidth, mHeight);
166 mPvProjectionAlloc.setupProjectionNormalized(mWidth, mHeight);
186 mGalaxyState.height = mHeight;
187 mGalaxyState.scale = mWidth > mHeight ? 1 : 0;
279 mPvOrthoAlloc.setupOrthoWindow(mWidth, mHeight);
287 mPvProjectionAlloc.setupProjectionNormalized(mWidth, mHeight);
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
H A DNexusRS.java108 super.resize(width, height); // updates mWidth, mHeight
117 mPvOrthoAlloc.setupOrthoWindow(mWidth, mHeight);
167 mWorldState.height = mHeight;
168 mWorldState.rotate = mWidth > mHeight ? 1 : 0;
272 mPvOrthoAlloc.setupOrthoWindow(mWidth, mHeight);

Completed in 714 milliseconds

12