Searched refs:newWidth (Results 1 – 9 of 9) sorted by relevance
/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/Launcher2/src/com/android/launcher2/ |
D | PagedViewCellLayout.java | 210 int newWidth = widthSpecSize; in onMeasure() local 213 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + in onMeasure() 217 setMeasuredDimension(newWidth, newHeight); in onMeasure() 224 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - in onMeasure() 232 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
D | AppWidgetResizeFrame.java | 373 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft - in snapToWidget() local 391 lp.width = newWidth; in snapToWidget() 401 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth); in snapToWidget()
|
D | CellLayout.java | 949 int newWidth = widthSpecSize; in onMeasure() local 952 newWidth = getPaddingLeft() + getPaddingRight() + (mCountX * mCellWidth) + in onMeasure() 956 setMeasuredDimension(newWidth, newHeight); in onMeasure() 962 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - in onMeasure() 968 setMeasuredDimension(newWidth, newHeight); in onMeasure()
|
/packages/apps/Phone/src/com/android/phone/ |
D | ContactsAsyncHelper.java | 267 int newWidth = (int) (orgWidth / ratio); in getPhotoIconWhenAppropriate() local 271 if (newWidth <= 0 || newHeight <= 0) { in getPhotoIconWhenAppropriate() 278 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true); in getPhotoIconWhenAppropriate()
|
/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/Nfc/src/com/android/nfc/ |
D | SendUi.java | 484 int newWidth = bitmap.getWidth(); in createScreenshot() local 492 newWidth = bitmap.getWidth() - navBarWidth; in createScreenshot() 494 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
|
/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 959 newExif.setAttribute(ExifInterface.TAG_IMAGE_WIDTH, String.valueOf(newWidth)); in copyExif() 968 private static void copyExif(String source, String destination, int newWidth, int newHeight) { in copyExif() argument 973 newExif.setAttribute(ExifInterface.TAG_IMAGE_WIDTH, String.valueOf(newWidth)); in copyExif()
|