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

1 2

  /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;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterDownsample.java 66 int newHeight = orig_h * p / 100;
69 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) {
72 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
  /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 284 int newHeight = (int) (orgHeight / ratio);
287 if (newWidth <= 0 || newHeight <= 0) {
294 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...]
  /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/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/base/core/jni/
android_app_NativeActivity.cpp 509 int32_t newHeight = getWindowProp(code->nativeWindow.get(),
512 || newHeight != code->lastWindowHeight) {
  /frameworks/native/libs/gui/
GLConsumer.cpp 726 int32_t newHeight = mCurrentCrop.height();
728 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
729 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
731 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
732 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
733 ST_LOGV("too tall: newHeight = %d", newHeight);
742 } else if (newHeight < mCurrentCrop.height()) {
743 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/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 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop -
424 if (newY + newHeight > mDragLayer.getHeight()) {
426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
433 lp.height = newHeight;
444 newHeight);
PagedViewCellLayout.java 200 int newHeight = heightSpecSize;
204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) +
206 setMeasuredDimension(newWidth, newHeight);
216 MeasureSpec.makeMeasureSpec(newHeight - getPaddingTop() -
221 setMeasuredDimension(newWidth, newHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
BaseViewRule.java 153 final String newHeight = height;
179 final String newAttrValue = getValue(valueId, newHeight);
    [all...]
  /development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
InteractiveLineGraphView.java 673 float newHeight = lastSpanY / spanY * mCurrentViewport.height();
684 - newHeight * (mContentRect.bottom - focusY)
689 mCurrentViewport.bottom = mCurrentViewport.top + newHeight;
    [all...]

Completed in 806 milliseconds

1 2