Searched refs:newHeight (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppWidgetResizeFrame.java | 375 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()
|
D | PagedViewCellLayout.java | 211 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()
|
D | CellLayout.java | 950 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/ |
D | ContactsAsyncHelper.java | 268 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/ |
D | SendUi.java | 485 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/ |
D | BalloonHint.java | 247 int newHeight = mBalloonView.getMeasuredHeight() + getPaddingTop() in setBalloonSize() local 250 setHeight(newHeight); in setBalloonSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CropImage.java | 955 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/ |
D | SuggestionsView.java | 258 final int newHeight = getMoreSuggestionsHeight(); in setMoreSuggestionsHeight() local 259 return newHeight; in setMoreSuggestionsHeight()
|