/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/angle/samples/gles2_book/MipMap2D/ |
MipMap2D.c | 176 newHeight; 180 &newWidth, &newHeight ); 184 newWidth, newHeight, 0, GL_RGB, 196 height = 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 | 131 int newHeight = (int) originalHeight; 135 newHeight = (int) Math.round(originalHeight * scale); 138 Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); 150 int newHeight = (int) originalHeight; 154 newHeight = (int) Math.round(originalHeight * scale); 156 Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig); 159 (float) (newHeight / originalHeight));
|
/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/phone/ |
QuickSettingsContainerView.java | 98 int newHeight = (int) ((numRows * cellHeight) + ((numRows - 1) * mCellGap)) + 100 setMeasuredDimension(width, newHeight);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
ContactsAsyncHelper.java | 253 int newHeight = (int) (orgHeight / 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 | 224 final int newHeight = (int) (cropHeight * scaleFactor); 225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
|
/packages/services/Telephony/src/com/android/phone/ |
ContactsAsyncHelper.java | 284 int newHeight = (int) (orgHeight / ratio); 287 if (newWidth <= 0 || newHeight <= 0) { 294 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/ |
AwtPanel.java | 45 private int newHeight = 1; 62 if (newWidth != newWidth2 || newHeight != newHeight2){ 64 newHeight = newHeight2; 66 System.out.println("EDT: componentResized " + newWidth + ", " + newHeight); 266 reshapeInThread(newWidth, newHeight);
|
/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;
|
/frameworks/base/media/java/android/media/videoeditor/ |
OverlayFrame.java | 367 int newHeight = ((overlayCanvas.getWidth() * overlayBitmap.getHeight()) 370 top = (overlayCanvas.getHeight() - newHeight) / 2; 372 bottom = top + newHeight; 396 int newHeight = ((overlayBitmap.getWidth() * overlayCanvas.getHeight()) 400 top = (overlayBitmap.getHeight() - newHeight) / 2; 402 bottom = top + newHeight;
|
VideoEditor.java | 255 int newHeight = ((overlayCanvas.getWidth() * mOverlayBitmap.getHeight()) 258 top = (overlayCanvas.getHeight() - newHeight) / 2; 260 bottom = top + newHeight; 284 int newHeight = ((mOverlayBitmap.getWidth() * overlayCanvas.getHeight()) 288 top = (mOverlayBitmap.getHeight() - newHeight) / 2; 290 bottom = top + newHeight;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
BoundedRect.java | 302 float newHeight = Math.abs(fixed_y - p[1]); 303 newWidth = Math.max(newWidth, aspRatio * 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...] |
RenderImage.cpp | 238 LayoutUnit newHeight = computedValues.m_extent; 240 imageSizeChanged = width() != newWidth || height() != newHeight;
|
/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/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglCanvas.java | 211 int newHeight = Math.max(canvas.getHeight(), 1);
212 if (width != newWidth || height != newHeight){
214 height = newHeight;
|
/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 | 513 int32_t newHeight = getWindowProp(code->nativeWindow.get(), 516 || newHeight != code->lastWindowHeight) {
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 918 int32_t newHeight = mCurrentCrop.height(); 920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 921 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 924 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 925 ST_LOGV("too tall: newHeight = %d", newHeight); 934 } else if (newHeight < mCurrentCrop.height()) { 935 int32_t dh = (newHeight - mCurrentCrop.height())/2; [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 247 int newHeight = mBalloonView.getMeasuredHeight() + getPaddingTop() 250 setHeight(newHeight);
|