Home
last modified time | relevance | path

Searched refs:newHeight (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java375 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - in snapToWidget() local
383 newHeight -= -newY; in snapToWidget()
386 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
387 newHeight -= newY + newHeight - mDragLayer.getHeight(); in snapToWidget()
392 lp.height = newHeight; in snapToWidget()
403 newHeight); in snapToWidget()
DPagedViewCellLayout.java211 int newHeight = heightSpecSize; in onMeasure() local
215 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + in onMeasure()
217 setMeasuredDimension(newWidth, newHeight); in onMeasure()
227 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure()
232 setMeasuredDimension(newWidth, newHeight); in onMeasure()
DCellLayout.java950 int newHeight = heightSpecSize; in onMeasure() local
954 newHeight = getPaddingTop() + getPaddingBottom() + (mCountY * mCellHeight) + in onMeasure()
956 setMeasuredDimension(newWidth, newHeight); in onMeasure()
964 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure()
968 setMeasuredDimension(newWidth, newHeight); in onMeasure()
/packages/apps/Phone/src/com/android/phone/
DContactsAsyncHelper.java268 int newHeight = (int) (orgHeight / ratio); in getPhotoIconWhenAppropriate() local
271 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate()
278 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
/packages/apps/Nfc/src/com/android/nfc/
DSendUi.java485 int newHeight = bitmap.getHeight(); in createScreenshot() local
488 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; in createScreenshot()
491 newHeight = bitmap.getHeight() - statusBarHeight; in createScreenshot()
494 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DBalloonHint.java247 int newHeight = mBalloonView.getMeasuredHeight() + getPaddingTop() in setBalloonSize() local
250 setHeight(newHeight); in setBalloonSize()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java955 private static void copyExif(MediaItem item, String destination, int newWidth, int newHeight) { in copyExif() argument
960 newExif.setAttribute(ExifInterface.TAG_IMAGE_LENGTH, String.valueOf(newHeight)); in copyExif()
968 private static void copyExif(String source, String destination, int newWidth, int newHeight) { in copyExif() argument
974 newExif.setAttribute(ExifInterface.TAG_IMAGE_LENGTH, String.valueOf(newHeight)); in copyExif()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionsView.java258 final int newHeight = getMoreSuggestionsHeight(); in setMoreSuggestionsHeight() local
259 return newHeight; in setMoreSuggestionsHeight()