/external/webkit/Source/WebCore/platform/gtk/ |
DragImageGtk.cpp | 49 int newHeight = scale.height() * cairo_image_surface_get_height(image); 50 cairo_surface_t* scaledSurface = cairo_surface_create_similar(image, CAIRO_CONTENT_COLOR_ALPHA, newWidth, newHeight);
|
/external/qemu/distrib/sdl-1.2.12/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;
|
/external/webkit/Source/WebCore/rendering/ |
RenderVideo.cpp | 173 int newHeight = renderBox.width() * elementSize.height() / elementSize.width(); 174 if (renderBox.height() - newHeight > 2) 175 renderBox.setHeight(newHeight);
|
RenderFlexibleBox.cpp | [all...] |
RenderFrameSet.cpp | 580 int newHeight = yPos - borderThickness; 584 int dHeight = (height() - newHeight) / rows; 605 setHeight(max(height(), newHeight));
|
RenderBox.cpp | [all...] |
/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);
|
/packages/apps/Phone/src/com/android/phone/ |
ContactsAsyncHelper.java | 268 int newHeight = (int) (orgHeight / ratio); 271 if (newWidth <= 0 || newHeight <= 0) { 278 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 | 490 int newWidth, newHeight; 493 newHeight = newLongSize; 496 newHeight = newShortSize; 500 float sh = height/(float)newHeight; 508 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;
|
MediaImageItem.java | 180 int newHeight = mScaledHeight; 189 while (tmp < 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;
|
/frameworks/native/libs/gui/ |
SurfaceTexture.cpp | 668 int32_t newHeight = mCurrentCrop.height(); 670 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 671 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 673 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 674 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 675 ST_LOGV("too tall: newHeight = %d", newHeight); 684 } else if (newHeight < mCurrentCrop.height()) { 685 int32_t dh = (newHeight - mCurrentCrop.height())/2;
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 247 int newHeight = mBalloonView.getMeasuredHeight() + getPaddingTop() 250 setHeight(newHeight);
|
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 866 int32_t newHeight = getWindowProp(code->nativeWindow.get(), 869 || newHeight != code->lastWindowHeight) { [all...] |
/frameworks/base/media/java/android/media/ |
RemoteControlClient.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ExpandHelper.java | 250 float newHeight = clamp(target); 251 mScaler.setHeight(newHeight); 253 setGlow(calculateGlow(target, newHeight)); 440 final float newHeight = clamp(rawHeight); 459 mScaler.setHeight(newHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 380 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - 395 if (newY + newHeight > mDragLayer.getHeight()) { 397 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 404 lp.height = newHeight; 415 newHeight);
|
PagedViewCellLayout.java | 211 int newHeight = heightSpecSize; 215 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + 217 setMeasuredDimension(newWidth, newHeight); 227 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() - 232 setMeasuredDimension(newWidth, newHeight);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseViewRule.java | 151 final String newHeight = height; 177 final String newAttrValue = getValue(valueId, newHeight); [all...] |
/frameworks/base/core/java/android/widget/ |
ImageView.java | 794 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 796 if (newHeight <= heightSize) { 797 heightSize = newHeight; [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
SendUi.java | 485 int newHeight = bitmap.getHeight(); 488 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; 491 newHeight = bitmap.getHeight() - statusBarHeight; 494 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionsView.java | 258 final int newHeight = getMoreSuggestionsHeight(); 259 return newHeight; [all...] |