/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDownsample.java | 66 int newHeight = orig_h * p / 100; in apply() local 69 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { in apply() 72 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true); in apply()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | SendUi.java | 606 int newHeight = bitmap.getHeight(); in createScreenshot() local 607 float smallestWidth = (float)Math.min(newWidth, newHeight); in createScreenshot() 611 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; in createScreenshot() 616 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeightLandscape; in createScreenshot() 618 newHeight = bitmap.getHeight() - statusBarHeight; in createScreenshot() 622 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 200 int newHeight = heightSpecSize; in onMeasure() local 204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + in onMeasure() 206 setMeasuredDimension(newWidth, newHeight); in onMeasure() 216 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure() 221 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
D | AppWidgetResizeFrame.java | 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - in snapToWidget() local 424 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget() 426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget() 433 lp.height = newHeight; in snapToWidget() 444 newHeight); in snapToWidget()
|
D | CellLayout.java | 1006 int newHeight = heightSpecSize; in onMeasure() local 1010 newHeight = getPaddingTop() + getPaddingBottom() + (mCountY * mCellHeight) + in onMeasure() 1012 setMeasuredDimension(newWidth, newHeight); in onMeasure() 1020 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - in onMeasure() 1024 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
/packages/apps/Phone/src/com/android/phone/ |
D | ContactsAsyncHelper.java | 284 int newHeight = (int) (orgHeight / ratio); in getPhotoIconWhenAppropriate() local 287 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate() 294 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMath.java | 131 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) { in scale() argument 134 return Math.min(newWidth / oldWidth, newHeight / oldHeight); in scale()
|
D | ImageCrop.java | 249 float newHeight = cbounds.height(); in setCropBounds() local 260 if (newWidth < minWidthHeight || newHeight < minWidthHeight) { in setCropBounds()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 224 final int newHeight = (int) (cropHeight * scaleFactor); in getNormalizedBitmap() local 225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight, in getNormalizedBitmap()
|
/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/filtershow/crop/ |
D | BoundedRect.java | 304 float newHeight = Math.abs(fixed_y - p[1]); in fixedAspectResizeInner() local 305 newWidth = Math.max(newWidth, aspRatio * newHeight); in fixedAspectResizeInner()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 229 final int newHeight = getMoreSuggestionsHeight(); in setMoreSuggestionsHeight() local 230 return newHeight; in setMoreSuggestionsHeight()
|