/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
EmbeddedContentContainer.java | 39 protected void onSizeChanged(int newWidth, int newHeight, int oldWidth, int oldHeight) { 40 super.onSizeChanged(newWidth, newHeight, oldWidth, oldHeight); 42 mSizeChangeListener.onSizeChanged(newWidth, newHeight);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
ManualLayoutFrame.java | 39 int newWidth = mWidth; 43 newWidth = Math.min(mWidth, MeasureSpec.getSize(widthMeasureSpec)); 46 newWidth = MeasureSpec.getSize(widthMeasureSpec); 49 if (newWidth != mWidth) { 50 mWidth = newWidth;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeSelectorItem.java | 165 * @param newWidth new visible width 167 public void setVisibleWidth(int newWidth) { 169 newWidth = Math.max(newWidth, 0); 171 newWidth = Math.min(newWidth, fullyShownIconWidth); 173 if (mVisibleWidth != newWidth) { 174 mVisibleWidth = newWidth; 176 mListener.onVisibleWidthChanged(newWidth);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 68 int newWidth = orig_w * p / 100; 72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { 75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
CustomViewToolbar.java | 142 final int newWidth; 144 newWidth = coords[0] + mCustomView.getWidth() - xEnd; 146 newWidth = xEnd - coords[0]; 150 if (mCustomView.getWidth() != newWidth) { 152 params.width = newWidth;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationMessageBubbleView.java | 97 public void kickOffMorphAnimation(final int oldWidth, final int newWidth) { 99 mAnimator.setIntValues(mRunningStartWidth, newWidth); 103 mAnimator = ObjectAnimator.ofInt(this, "morphWidth", oldWidth, newWidth);
|
/cts/apps/CtsVerifier/include/colorchecker/ |
testingimage.h | 36 int newHeight, int newWidth);
|
/packages/apps/UnifiedEmail/assets/ |
script.js | 216 var newWidth = elWidth; 248 newWidth = el.scrollWidth; 249 console.log("ran div-width munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth 252 transformText += " DIV:newW=" + newWidth; 254 if (newWidth <= docWidth) { 264 newWidth = el.scrollWidth; 265 console.log("ran img munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth 268 transformText += " IMG:newW=" + newWidth; 270 if (newWidth <= docWidth) { 284 newWidth = el.scrollWidth [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
ContactsAsyncHelper.java | 169 int newWidth = (int) (orgWidth / ratio); 173 if (newWidth <= 0 || newHeight <= 0) { 180 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/frameworks/base/core/java/android/app/ |
WallpaperColors.java | 404 int newWidth = (int) (width * scale); 408 if (newWidth == 0) { 409 newWidth = 1; 415 return new Size(newWidth, newHeight);
|
/packages/apps/Dialer/java/com/android/incallui/ |
ContactsAsyncHelper.java | 252 int newWidth = (int) (orgWidth / ratio); 256 if (newWidth <= 0 || newHeight <= 0) { 263 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 225 final int newWidth = (int) (cropWidth * scaleFactor); 227 if (newWidth <= 0 || newHeight <= 0) { 230 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 508 int newWidth, newHeight; 510 newWidth = newShortSize; 513 newWidth = newLongSize; 517 float sw = width/(float)newWidth; 525 outDm.widthPixels = newWidth;
|
/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);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
TransformationUtils.java | 268 final int newWidth = Math.round(newRect.width()); 271 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig()); 273 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig());
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 199 final int newWidth = Math.max(0, childWidth - delta); 200 mImposedTabWidths[i] = newWidth; 202 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
/external/skia/include/core/ |
SkImageInfo.h | 253 SkImageInfo makeWH(int newWidth, int newHeight) const { 254 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace);
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 951 uint32_t newWidth = static_cast<uint32_t>(mCurrentCrop.width()); 954 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 955 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 956 GLC_LOGV("too wide: newWidth = %d", newWidth); 957 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 958 newHeight = newWidth * mDefaultHeight / mDefaultWidth [all...] |
/packages/apps/Dialer/java/com/android/dialer/animation/ |
AnimUtils.java | 216 * @param newWidth The new width of the view. 219 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { 224 final int deltaWidth = newWidth - oldWidth;
|
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
AnimUtils.java | 196 * @param newWidth The new width of the view. 199 public static void changeDimensions(final View view, final int newWidth, final int newHeight) { 204 final int deltaWidth = newWidth - oldWidth;
|
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 525 int newWidth = 0; 528 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); 532 if (newWidth != m_glRenderTarget.getWidth() || 536 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); 538 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight,
|
/frameworks/av/media/libstagefright/omx/ |
SoftVideoDecoderOMXComponent.cpp | 486 uint32_t newWidth = video_def->nFrameWidth; 491 if (newWidth > 32768 || newHeight > 32768 496 if (newWidth != oldWidth || newHeight != oldHeight) { 500 mWidth = newWidth; 510 def->format.video.nFrameWidth = newWidth;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 466 int newWidth, newHeight; 472 newWidth = viewWidth; 478 newWidth = (int) (viewHeight * ((double) mOptimalSize.height / 482 LayoutParams layoutParams = new LayoutParams(newWidth, newHeight);
|
/external/mesa3d/include/HaikuGL/ |
GLView.h | 69 virtual void FrameResized(float newWidth, float newHeight);
|