/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | MediaLinearLayout.java | 2308 int newWidth = mTrimmedView.getRight() - position; 2309 if (newWidth == mTrimmedView.getWidth()) { 2315 (newWidth * mProject.computeDuration()) / 2324 newWidth = (int)(((newDurationMs - mTransitionsDurationMs) * 2327 position = mTrimmedView.getRight() - newWidth; 2330 newWidth = (int)(((newDurationMs - mTransitionsDurationMs) * 2333 position = mTrimmedView.getRight() - newWidth; 2350 mHalfParentWidth - (newWidth - mOriginalWidth)); 2478 int newWidth = position - mTrimmedView.getLeft(); 2479 if (newWidth == mTrimmedView.getWidth()) { [all …]
|
D | OverlayLinearLayout.java | 883 final int newWidth = position - overlayView.getLeft(); 886 long newDurationMs = (newWidth * mProject.computeDuration()) /
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDownsample.java | 65 int newWidth = orig_w * 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/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | BoundedRect.java | 303 float newWidth = Math.abs(fixed_x - p[0]); in fixedAspectResizeInner() local 305 newWidth = Math.max(newWidth, aspRatio * newHeight); in fixedAspectResizeInner() 306 if (newWidth < widthSoFar) in fixedAspectResizeInner() 307 widthSoFar = newWidth; in fixedAspectResizeInner()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 199 int newWidth = widthSpecSize; in onMeasure() local 202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + in onMeasure() 206 setMeasuredDimension(newWidth, newHeight); in onMeasure() 213 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - in onMeasure() 221 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
D | AppWidgetResizeFrame.java | 407 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft - in snapToWidget() local 432 lp.width = newWidth; in snapToWidget() 442 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth); in snapToWidget()
|
D | CellLayout.java | 1005 int newWidth = widthSpecSize; in onMeasure() local 1008 newWidth = getPaddingLeft() + getPaddingRight() + (mCountX * mCellWidth) + in onMeasure() 1012 setMeasuredDimension(newWidth, newHeight); in onMeasure() 1018 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - in onMeasure() 1024 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | BalloonHint.java | 245 int newWidth = mBalloonView.getMeasuredWidth() + getPaddingLeft() in setBalloonSize() local 249 setWidth(newWidth); in setBalloonSize() 264 mForceDismiss = oldWidth - newWidth > 1 || newWidth - oldWidth > 1; in setBalloonSize()
|
/packages/apps/Phone/src/com/android/phone/ |
D | ContactsAsyncHelper.java | 283 int newWidth = (int) (orgWidth / ratio); in getPhotoIconWhenAppropriate() local 287 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate() 294 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | SendUi.java | 605 int newWidth = bitmap.getWidth(); in createScreenshot() local 607 float smallestWidth = (float)Math.min(newWidth, newHeight); in createScreenshot() 619 newWidth = bitmap.getWidth() - navBarWidth; in createScreenshot() 622 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
|
/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 | 248 float newWidth = cbounds.width(); in setCropBounds() local 260 if (newWidth < minWidthHeight || newHeight < minWidthHeight) { in setCropBounds()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 223 final int newWidth = (int) (cropWidth * scaleFactor); in getNormalizedBitmap() local 225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight, in getNormalizedBitmap()
|