Home
last modified time | relevance | path

Searched refs:getHeight (Results 1 – 25 of 247) sorted by relevance

12345678910

/packages/apps/Gallery/src/com/android/camera/
DRotateBitmap.java61 int cy = mBitmap.getHeight() / 2; in getRotateMatrix()
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2); in getRotateMatrix()
73 public int getHeight() { in getHeight() method in RotateBitmap
77 return mBitmap.getHeight(); in getHeight()
83 return mBitmap.getHeight(); in getWidth()
DImageViewTouchBase.java195 mBitmapDisplayed.getBitmap().getHeight()); in center()
205 int viewHeight = getHeight(); in center()
211 deltaY = getHeight() - rect.bottom; in center()
261 float viewHeight = getHeight(); in getProperBaseMatrix()
264 float h = bitmap.getHeight(); in getProperBaseMatrix()
302 float fh = (float) mBitmapDisplayed.getHeight() / (float) mThisHeight; in maxZoom()
342 float cy = getHeight() / 2F; in zoomTo()
349 float cy = getHeight() / 2F; in zoomToPoint()
372 float cy = getHeight() / 2F; in zoomIn()
384 float cy = getHeight() / 2F; in zoomOut()
DUtil.java68 (float) b.getWidth() / 2, (float) b.getHeight() / 2); in rotate()
71 b, 0, 0, b.getWidth(), b.getHeight(), m, true); in rotate()
157 int deltaY = source.getHeight() - targetHeight; in transform()
175 deltaYHalf + Math.min(targetHeight, source.getHeight())); in transform()
190 float bitmapHeightF = source.getHeight(); in transform()
215 source.getWidth(), source.getHeight(), scaler, true); in transform()
225 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DProgressSpinner.java40 mHeight = Math.max(mOuter.getHeight(), mInner.getHeight()); in ProgressSpinner()
47 public int getHeight() { in getHeight() method in ProgressSpinner
73 mOuter.draw(canvas, -mOuter.getWidth() / 2, -mOuter.getHeight() / 2); in draw()
75 mInner.draw(canvas, -mInner.getWidth() / 2, -mInner.getHeight() / 2); in draw()
DSlideshowView.java69 mCurrentTexture.getWidth(), mCurrentTexture.getHeight(), in next()
73 mCurrentTexture.getHeight(), mCurrentTexture.getWidth(), in next()
107 -mPrevTexture.getHeight() / 2); in render()
117 -mCurrentTexture.getHeight() / 2); in render()
143 int viewHeight = getHeight(); in apply()
DAbstractSlotRenderer.java59 (float) height / content.getHeight()); in drawContent()
70 float scale = (float) height / v.getHeight(); in drawVideoOverlay()
72 int h = Math.round(scale * v.getHeight()); in drawVideoOverlay()
82 int h = Math.round(scale * mPanoramaBorder.getHeight()); in drawPanoramaBorder()
DUndoBarView.java99 int h = getHeight(); in render()
106 y = (mBarHeight - mUndoText.getHeight()) / 2; in render()
119 y = (mBarHeight - mDeletedText.getHeight()) / 2; in render()
151 int h = getHeight(); in inUndoButton()
DFadeTexture.java39 mHeight = mTexture.getHeight(); in FadeTexture()
61 public int getHeight() { in getHeight() method in FadeTexture
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DZoomControl.java147 final float y = -(ev.getY() - (getHeight() / 2)); in onTouchEvent()
157 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()
161 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()
165 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()
169 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()
246 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in progressToPosition()
250 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in progressToPosition()
254 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in progressToPosition()
258 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in progressToPosition()
DImageViewTouchBase.java265 final float viewHeight = getHeight(); in getProperBaseMatrix()
268 final float h = bitmap.getHeight(); in getProperBaseMatrix()
315 final float fh = (float)mBitmapDisplayed.getHeight() / mThisHeight; in maxZoom()
377 final float cy = getHeight() / 2F; in zoomTo()
391 final float cy = getHeight() / 2F; in zoomToPoint()
432 float cy = getHeight() / 2F; in zoomIn()
454 float cy = getHeight() / 2F; in zoomOut()
484 mBitmapDisplayed.getHeight()); in center()
493 int viewHeight = getHeight(); in center()
499 deltaY = getHeight() - rect.bottom; in center()
DProgressBar.java70 mProgressLeftBitmap.getHeight()); in ProgressBar()
76 public int getHeight() { in getHeight() method in ProgressBar
77 return mProgressLeftBitmap.getHeight(); in getHeight()
DTransitionView.java119 layoutHeight - progressBar.getHeight() - getPaddingBottom(), 0, in TransitionView()
270 getHeight() - getPaddingBottom()); in onDraw()
282 getWidth() - getPaddingRight(), getHeight() - getPaddingBottom()); in onDraw()
293 getHeight() - getPaddingBottom(), mSeparatorPaint); in onDraw()
363 final int thumbnailHeight = getHeight() - getPaddingTop() - getPaddingBottom(); in requestThumbnails()
DMediaItemView.java138 layoutHeight - progressBar.getHeight() - getPaddingBottom(), 0, in MediaItemView()
273 final int thumbnailHeight = getHeight() - getPaddingTop() - getPaddingBottom(); in getShadowWidth()
275 mMediaItem.getHeight(); in getShadowWidth()
283 return getHeight(); in getShadowHeight()
358 mThumbnailHeight = getHeight() - getPaddingTop() - getPaddingBottom(); in onLayoutPerformed()
359 mThumbnailWidth = (mThumbnailHeight * mMediaItem.getWidth()) / mMediaItem.getHeight(); in onLayoutPerformed()
417 getHeight() - getPaddingBottom()); in onDraw()
470 int spacing = (getHeight() - getPaddingTop() - getPaddingBottom() - in drawThumbnails()
/packages/apps/Phone/src/com/android/phone/
DBitmapUtils.java68 if (DBG) log("- input bitmap: " + bitmap.getWidth() + " x " + bitmap.getHeight()); in createBlurredBitmap()
76 if (DBG) log("- after resize: " + bitmap.getWidth() + " x " + bitmap.getHeight()); in createBlurredBitmap()
79 if (DBG) log("- after blur: " + bitmap.getWidth() + " x " + bitmap.getHeight()); in createBlurredBitmap()
94 int height = source.getHeight(); in gaussianBlur()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilRegionElementImpl.java106 int bbh = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight(); in getTop()
157 public int getHeight() { in getHeight() method in SmilRegionElementImpl
161 ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight() : in getHeight()
168 int bbh = ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight(); in getHeight()
262 … value *= ((SMILDocument) getOwnerDocument()).getLayout().getRootLayout().getHeight(); in parseRegionLength()
279 + ", height=" + getHeight() in toString()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java119 int height = Math.round(bitmap.getHeight() * scale); in resizeBitmapByScale()
121 && height == bitmap.getHeight()) return bitmap; in resizeBitmapByScale()
142 int srcHeight = bitmap.getHeight(); in resizeDownBySideLength()
151 int h = bitmap.getHeight(); in resizeAndCropCenter()
160 int height = Math.round(scale * bitmap.getHeight()); in resizeAndCropCenter()
182 int h = source.getHeight(); in rotateBitmap()
/packages/apps/Mms/src/com/android/mms/model/
DImageModel.java96 mHeight = uriImage.getHeight(); in initModelFromUri()
109 mHeight = uriImage.getHeight(); in decodeImageBounds()
132 public int getHeight() { in getHeight() method in ImageModel
197 if (image.getHeight() > image.getWidth()) { in resizeMedia()
206 + " image.getHeight(): " + image.getHeight() in resizeMedia()
218 image.getHeight() <= heightLimit && in resizeMedia()
/packages/apps/Email/src/com/android/email/activity/
DMessageListItemCoordinates.java164 public static int getHeight(Context context, int mode) { in getHeight() method in MessageListItemCoordinates
214 public static int getHeight(View view, boolean includeMargins) { in getHeight() method in MessageListItemCoordinates
216 return view.getHeight() + (includeMargins ? params.topMargin + params.bottomMargin : 0); in getHeight()
223 return textView.getHeight() / textView.getLineHeight(); in getLineCount()
258 int height = getHeight(context, mode); in forWidth()
299 coordinates.chipHeight = getHeight(chip, false); in forWidth()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java233 final int bottomEdge = getHeight() - mPaddingBottom; in getBottomFadingEdgeStrength()
297 return getHeight() < child.getHeight() + mPaddingTop + mPaddingBottom; in canScroll()
915 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange()
947 …final int bottomWithoutFadingEdge = top + (mHorizontal ? getWidth() : getHeight()) - fadingEdgeLen… in findFocusableViewInMyBounds()
1060 int height = getHeight(); in pageScroll()
1096 int height = getHeight(); in fullScroll()
1128 int height = getHeight(); in scrollAndFocus()
1166 if (nextFocused != null && isWithinDeltaOfScreen(nextFocused, maxJump, getHeight())) { in arrowScroll()
1181 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1221 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java165 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight()); in onMeasure()
176 canvas.drawRect(0, 0, getWidth(), getHeight(), p); in onDraw()
190 float sY = (mBitmap.getHeight() * 1.0f) / mCrossFadeBitmap.getHeight(); in onDraw()
253 lp.height = mBitmap.getHeight(); in show()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DProjectPickerAdapter.java172 final int left = 0, top = bitmap.getHeight() - mOverlayHeight, in drawBottomOverlay()
173 right = bitmap.getWidth(), bottom = bitmap.getHeight(); in drawBottomOverlay()
185 bitmap.getHeight() - mOverlayHeight + mOverlayVerticalInset, in drawBottomOverlay()
191 bitmap.getHeight() - mOverlayHeight + mOverlayVerticalInset, in drawBottomOverlay()
222 final int y = (mItemHeight - newProjectIcon.getHeight()) / 2; in renderNewProjectThumbnail()
288 (mHeight - previewBitmap.getHeight()) / 2, in doInBackground()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java52 final int offset = victim.getHeight(); in removeEditorView()
95 final int offset = organizationSectionViewContainer.getHeight() - in expandOrganization()
96 addOrganizationButton.getHeight(); in expandOrganization()
132 final int offset = view.getHeight(); in showAddFieldFooter()
155 final int offset = victim.getHeight(); in hideAddFieldFooter()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java250 sy = (v.getTop() + v.getBottom() - getHeight()) / 2; in snapToSelected()
276 target = mHorizontal ? -getHeight() : -getWidth(); in animateOut()
278 target = mHorizontal ? getHeight() : getWidth(); in animateOut()
284 int gap = mHorizontal ? v.getWidth() : v.getHeight(); in animateOut()
394 return v.getTop() + v.getHeight() / 2; in getViewCenter()
402 return getScrollY() + getHeight() / 2; in getScreenCenter()
444 if (Math.abs(diff) > (mHorizontal ? downView.getHeight() : downView.getWidth()) / 2) { in onOrthoDragFinished()
474 return 1 - (float) Math.abs(distance) / (mHorizontal ? v.getHeight() : v.getWidth()); in getAlpha()
514 final int height = mHorizontal ? getWidth() : getHeight(); in onPull()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java183 transformHeight(r.getHeight())); in presentText()
196 int transformedHeight = transformWidth(r.getHeight()); in presentImage()
200 + ", r.getHeight: " + r.getHeight() + in presentImage()
206 view.setImage(image.getSrc(), image.getBitmap(r.getWidth(), r.getHeight())); in presentImage()
236 transformHeight(r.getHeight())); in presentVideo()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java91 int height = decoder.getHeight();
116 bundle.decoder.getWidth(), bundle.decoder.getHeight()); in onDecodeLargeComplete()
133 setScreenNail(backup, backup.getWidth(), backup.getHeight()); in onDecodeThumbComplete()
171 size.height = mItem.getHeight(); in getImageSize()

12345678910