/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.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;
|
/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));
|
/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);
|
/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/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);
|
/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,
|
/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 | 495 int newWidth, newHeight; 498 newHeight = newLongSize; 501 newHeight = newShortSize; 505 float sh = height/(float)newHeight; 513 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 | 707 int32_t newHeight = mCurrentCrop.height(); 709 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 710 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 712 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 713 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 714 ST_LOGV("too tall: newHeight = %d", newHeight); 723 } else if (newHeight < mCurrentCrop.height()) { 724 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 | 243 float newHeight = clamp(target); 244 mScaler.setHeight(newHeight); 246 setGlow(calculateGlow(target, newHeight)); 440 final float newHeight = clamp(rawHeight); 459 mScaler.setHeight(newHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 407 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - 422 if (newY + newHeight > mDragLayer.getHeight()) { 424 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 431 lp.height = newHeight; 442 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 | 154 final String newHeight = height; 180 final String newAttrValue = getValue(valueId, newHeight); [all...] |
/frameworks/base/core/java/android/widget/ |
ImageView.java | 800 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 802 if (newHeight <= heightSize) { 803 heightSize = newHeight; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCrop.java | 323 float newHeight = cbounds.height(); 325 if (newWidth < (minWidthHeight * aw) || newHeight < (minWidthHeight * ah)) { 327 newHeight = minWidthHeight * ah; 333 if (newHeight < minWidthHeight) { 334 newHeight = minWidthHeight; 342 newHeight = pbounds.height(); 345 cbounds.set(cbounds.left, cbounds.top, cbounds.left + newWidth, cbounds.top + newHeight);
|