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

1 2 3 4

  /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/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 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;
  /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,
  /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 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/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);
  /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
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 576 int32_t newWidth = getWindowProp(code->nativeWindow.get(),
580 if (newWidth != code->lastWindowWidth
  /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/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...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ScrollingTabContainerView.java 130 final int newWidth = getMeasuredWidth();
132 if (lockedExpanded && oldWidth != newWidth) {
  /packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java 407 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft -
432 lp.width = newWidth;
442 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth);
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);

Completed in 629 milliseconds

1 2 3 4