HomeSort by relevance Sort by last modified time
    Searched refs:newWidth (Results 26 - 50 of 79) sorted by null

12 3 4

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
BoundedRect.java 303 float newWidth = Math.abs(fixed_x - p[0]);
305 newWidth = Math.max(newWidth, aspRatio * newHeight);
306 if (newWidth < widthSoFar)
307 widthSoFar = newWidth;
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 199 int newWidth = widthSpecSize;
202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) +
206 setMeasuredDimension(newWidth, newHeight);
213 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() -
221 setMeasuredDimension(newWidth, newHeight);
AppWidgetResizeFrame.java 407 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft -
432 lp.width = newWidth;
442 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth);
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewCellLayout.java 193 int newWidth = widthSpecSize;
196 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) +
200 setMeasuredDimension(newWidth, newHeight);
207 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() -
215 setMeasuredDimension(newWidth, newHeight);
AppWidgetResizeFrame.java 399 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft -
428 lp.width = newWidth;
438 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth);
  /frameworks/base/core/java/android/widget/
TabWidget.java 198 final int newWidth = Math.max(0, childWidth - delta);
199 mImposedTabWidths[i] = newWidth;
201 extraWidth -= childWidth - newWidth; // delta may have been clamped
ImageView.java 829 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) +
834 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec);
837 if (newWidth <= widthSize) {
838 widthSize = newWidth;
    [all...]
  /frameworks/native/libs/gui/
GLConsumer.cpp 917 int32_t newWidth = mCurrentCrop.width();
920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
921 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
922 ST_LOGV("too wide: newWidth = %d", newWidth);
923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
924 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
929 if (newWidth < mCurrentCrop.width()) {
930 int32_t dw = (newWidth - mCurrentCrop.width())/2;
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaLinearLayout.java     [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
FlyoutControlComposite.java 468 int newWidth = width;
470 newWidth = event.x + RESIZE_WIDTH / 2;
472 newWidth = width - event.x + RESIZE_WIDTH / 2;
474 newWidth = event.y + RESIZE_WIDTH / 2;
476 newWidth = width - event.y + RESIZE_WIDTH / 2;
479 if (newWidth != width) {
480 m_preferences.setWidth(newWidth);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 457 int newWidth, newHeight;
463 newWidth = viewWidth;
469 newWidth = (int) (viewHeight * ((double) mOptimalSize.height /
473 LayoutParams layoutParams = new LayoutParams(newWidth, newHeight);
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
ImageFrame.h 107 bool setSize(int newWidth, int newHeight);
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 469 uint32_t newWidth = needSwap ? kFallbackHeight : kFallbackWidth;
471 if (gVideoWidth != newWidth && gVideoHeight != newHeight) {
474 gVideoWidth, gVideoHeight, newWidth, newHeight);
475 gVideoWidth = newWidth;
  /frameworks/base/media/java/android/media/videoeditor/
MediaImageItem.java 179 int newWidth = mScaledWidth;
184 final int [] framingBuffer = new int[newWidth];
191 tmp, newWidth, 1);
193 intBuffer.put(framingBuffer, 0, newWidth);
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
SendUi.java 605 int newWidth = bitmap.getWidth();
607 float smallestWidth = (float)Math.min(newWidth, newHeight);
619 newWidth = bitmap.getWidth() - navBarWidth;
622 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight);
  /development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
InteractiveLineGraphView.java 672 float newWidth = lastSpanX / spanX * mCurrentViewport.width();
681 - newWidth * (focusX - mContentRect.left)
688 mCurrentViewport.right = mCurrentViewport.left + newWidth;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMathUtils.java 204 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) {
205 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) {
208 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ScrollingTabContainerView.java 114 final int newWidth = getMeasuredWidth();
116 if (lockedExpanded && oldWidth != newWidth) {
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 613 final void resize(int newWidth, int newHeight) {
627 if (totalGap + totalWidth > newWidth) {
629 float scaleFactor = (float)(newWidth - totalGap) / totalWidth;
638 mTotalWidth = newWidth;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java 484 public ResolutionQuality(int newSizeId, int newWidth, int newHeight) {
486 width = newWidth;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderImage.cpp 236 LayoutUnit newWidth = computedValues.m_extent;
240 imageSizeChanged = width() != newWidth || height() != newHeight;
  /frameworks/base/core/java/com/android/internal/widget/
ScrollingTabContainerView.java 123 final int newWidth = getMeasuredWidth();
125 if (lockedExpanded && oldWidth != newWidth) {
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 511 int32_t newWidth = getWindowProp(code->nativeWindow.get(),
515 if (newWidth != code->lastWindowWidth
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
Utils.java     [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texcompress_fxt1.c     [all...]

Completed in 3108 milliseconds

12 3 4