/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscossprite.c | 218 int newWidth, newHeight; 232 newHeight = (currHeight >> oldYeig) << this->hidden->yeig; 236 if (currHeight <= newHeight) 238 extent[1] = -newHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 69 int newHeight = orig_h * p / 100; 72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { 75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
|
/external/chromium_org/third_party/skia/bench/ |
ETCBitmapBench.cpp | 49 etc1_uint32 newHeight = origHeight * factor; 51 etc1_uint32 newDataSz = etc1_get_encoded_data_size(newWidth, newHeight); 54 etc1_pkm_format_header(newData, newWidth, newHeight); 63 etc1_uint32 newBlocksY = (newHeight >> 2);
|
/external/chromium_org/third_party/skia/gm/ |
etc1bitmap.cpp | 46 int newHeight = (blockHeight - 1) << 2; 48 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; 53 etc1_pkm_format_header(newData, newWidth, newHeight); 66 *height = newHeight;
|
/external/skia/bench/ |
ETCBitmapBench.cpp | 49 etc1_uint32 newHeight = origHeight * factor; 51 etc1_uint32 newDataSz = etc1_get_encoded_data_size(newWidth, newHeight); 54 etc1_pkm_format_header(newData, newWidth, newHeight); 63 etc1_uint32 newBlocksY = (newHeight >> 2);
|
/external/skia/gm/ |
etc1bitmap.cpp | 46 int newHeight = (blockHeight - 1) << 2; 48 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; 53 etc1_pkm_format_header(newData, newWidth, newHeight); 66 *height = newHeight;
|
/frameworks/av/media/libstagefright/omx/ |
SoftVideoDecoderOMXComponent.cpp | 365 uint32_t newHeight = video_def->nFrameHeight; 366 if (newWidth != oldWidth || newHeight != oldHeight) { 371 (mIsAdaptive && outputPort) ? mAdaptiveMaxHeight : newHeight; 378 mHeight = newHeight; 382 mCropHeight = newHeight;
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
ImfBaseTestCase.java | 125 int newHeight; 133 newHeight = rootView.getHeight(); 135 while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) { 136 newHeight = rootView.getHeight(); 139 return (Math.abs(origHeight - newHeight) >= IME_MIN_HEIGHT);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
framebuffer.c | 347 GLuint newWidth, newHeight; 353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { 358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); 364 GLuint newWidth, newHeight; 370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { 375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
UiUtils.java | 168 int newHeight = (int) originalHeight; 172 newHeight = (int) Math.round(originalHeight * scale); 175 Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); 187 int newHeight = (int) originalHeight; 191 newHeight = (int) Math.round(originalHeight * scale); 193 Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig); 196 (float) (newHeight / originalHeight));
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
TransformationUtils.java | 249 final int newHeight = Math.round(newRect.height()); 251 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig()); 253 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig());
|
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 347 GLuint newWidth, newHeight; 353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { 358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); 364 GLuint newWidth, newHeight; 370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { 375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollState.java | 107 int newHeight = state.height; 151 if (height != newHeight) { 152 child.setActualHeight(newHeight, false /* notifyListeners */); 173 updateChildClip(child, newHeight, state.topOverLap);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
ContactsAsyncHelper.java | 182 int newHeight = (int) (orgHeight / ratio); 185 if (newWidth <= 0 || newHeight <= 0) { 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 80 final int newHeight = (int) ((mNumRows * cellHeight) + ((mNumRows - 1) * mCellGapY)) + 83 setMeasuredDimension(width, newHeight);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 226 final int newHeight = (int) (cropHeight * 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 | 182 int newHeight = (int) (orgHeight / ratio); 185 if (newWidth <= 0 || newHeight <= 0) { 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 494 int newWidth, newHeight; 497 newHeight = newLongSize; 500 newHeight = newShortSize; 504 float sh = height/(float)newHeight; 512 outDm.heightPixels = newHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
BoundedRect.java | 304 float newHeight = Math.abs(fixed_y - p[1]); 305 newWidth = Math.max(newWidth, aspRatio * newHeight);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderDeprecatedFlexibleBox.cpp | [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrAARectRenderer.cpp | 622 SkScalar newHeight = SkScalarHalf(rect.height() * vec[1].length()) + SK_ScalarHalf; 643 verts[i].fWidthHeight.fY = newHeight; [all...] |
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 703 int newHeight = 0; 706 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &newHeight); 710 newHeight != m_glRenderTarget.getHeight()) 713 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); 715 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight,
|
/external/deqp/modules/egl/ |
teglResizeTests.cpp | 263 const int newHeight = newSurface.getHeight(); 265 const int minHeight = de::min(oldHeight, newHeight); 275 const int newY = yCorner == 0 ? 0 : newHeight - minHeight;
|
/external/skia/src/gpu/ |
GrAARectRenderer.cpp | 622 SkScalar newHeight = SkScalarHalf(rect.height() * vec[1].length()) + SK_ScalarHalf; 643 verts[i].fWidthHeight.fY = newHeight; [all...] |
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 527 int32_t newHeight = getWindowProp(code->nativeWindow.get(), 530 || newHeight != code->lastWindowHeight) {
|