HomeSort by relevance Sort by last modified time
    Searched defs:newWidth (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /frameworks/base/core/tests/coretests/src/android/text/
TextLineTest.java 43 final float newWidth = tl.metrics(null);
45 return Math.abs(newWidth - expandedWidth) < 0.5;
  /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/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/Dialer/java/com/android/incallui/
ContactsAsyncHelper.java 195 int newWidth = (int) (orgWidth / ratio);
199 if (newWidth <= 0 || newHeight <= 0) {
208 return Bitmap.createScaledBitmap(orgBitmap, 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;
  /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/av/media/libstagefright/omx/
SoftVideoDecoderOMXComponent.cpp 499 uint32_t newWidth = video_def->nFrameWidth;
504 if (newWidth > 32768 || newHeight > 32768
509 if (newWidth != oldWidth || newHeight != oldHeight) {
513 mWidth = newWidth;
523 def->format.video.nFrameWidth = newWidth;
  /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,
  /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);
  /external/deqp/framework/egl/
egluGLContextFactory.cpp 557 int newWidth = 0;
560 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth);
564 if (newWidth != m_glRenderTarget.getWidth() ||
568 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight);
570 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight,
  /frameworks/base/core/java/android/app/
WallpaperColors.java 411 int newWidth = (int) (width * scale);
415 if (newWidth == 0) {
416 newWidth = 1;
422 return new Size(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;
  /external/deqp/modules/egl/
teglResizeTests.cpp 277 const int newWidth = newSurface.getWidth();
279 const int minWidth = de::min(oldWidth, newWidth);
285 const int newX = xCorner == 0 ? 0 : newWidth - minWidth;
  /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
ImageView.java     [all...]
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 584 int32_t newWidth = getWindowProp(code->nativeWindow.get(),
588 if (newWidth != code->lastWindowWidth
  /frameworks/native/libs/gui/
GLConsumer.cpp 878 uint32_t newWidth = static_cast<uint32_t>(crop.width());
881 if (newWidth * bufferHeight > newHeight * bufferWidth) {
882 newWidth = newHeight * bufferWidth / bufferHeight;
883 ALOGV("too wide: newWidth = %d", newWidth);
884 } else if (newWidth * bufferHeight < newHeight * bufferWidth) {
885 newHeight = newWidth * bufferHeight / bufferWidth;
893 if (newWidth < currentWidth) {
894 uint32_t dw = currentWidth - newWidth;
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 834 int newWidth = size;
836 newWidth = Math.max(size, mDesiredWidth);
838 newWidth = mDesiredWidth;
840 setMeasuredDimension(newWidth, getMeasuredHeight());
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboRenderTest.cpp     [all...]
  /external/mesa3d/src/mesa/main/
mipmap.c     [all...]
texcompress_fxt1.c     [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ScrollingTabContainerView.java 120 final int newWidth = getMeasuredWidth();
122 if (lockedExpanded && oldWidth != newWidth) {
  /frameworks/base/media/java/android/media/session/
MediaSessionLegacyHelper.java 302 int newWidth = Math.round(scale * width);
308 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SmartReplyView.java 460 final int newWidth = button.getMeasuredWidth();
463 if (button.getLineCount() > 2 || newWidth >= oldWidth) {
468 return oldWidth - newWidth;
486 int newWidth = child.getMeasuredWidth();
492 newWidth = Integer.MAX_VALUE;
499 if (newWidth != Integer.MAX_VALUE) {
502 newWidth -= mSingleToDoubleLineButtonWidthIncrease;
505 newWidth += mSingleToDoubleLineButtonWidthIncrease;
519 child.measure(MeasureSpec.makeMeasureSpec(newWidth, MeasureSpec.AT_MOST),

Completed in 1135 milliseconds

1 2 3 4