Home
last modified time | relevance | path

Searched refs:newHeight (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/
Dvideo_player.js255 var newHeight = video.videoHeight + TITLE_HEIGHT;
258 var shrinkY = newHeight / window.screen.availHeight;
261 newHeight = newHeight / shrinkY;
262 newWidth = (newHeight - TITLE_HEIGHT) * aspect;
265 newHeight = newWidth / aspect + TITLE_HEIGHT;
280 appWindow.resizeTo(newWidth, newHeight);
282 oldTop - (newHeight - oldHeight) / 2);
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DUiUtils.java131 int newHeight = (int) originalHeight; in generateScaledScreenshot() local
135 newHeight = (int) Math.round(originalHeight * scale); in generateScaledScreenshot()
138 Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); in generateScaledScreenshot()
150 int newHeight = (int) originalHeight; in generateScaledScreenshot() local
154 newHeight = (int) Math.round(originalHeight * scale); in generateScaledScreenshot()
156 Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig); in generateScaledScreenshot()
159 (float) (newHeight / originalHeight)); in generateScaledScreenshot()
/external/chromium/chrome/browser/ui/cocoa/
Danimatable_view.mm65 - (void)setHeight:(CGFloat)newHeight {
69 int height = floor(newHeight);
70 [resizeDelegate_ resizeView:self newHeight:height];
73 - (void)animateToNewHeight:(CGFloat)newHeight
78 finalHeight:newHeight
Danimatable_view.h43 - (void)setHeight:(CGFloat)newHeight;
47 - (void)animateToNewHeight:(CGFloat)newHeight
Dspeech_input_window_controller.mm71 CGFloat newHeight = cancelSize.height + kBubbleControlVerticalSpacing;
90 newHeight += size.height;
103 newHeight += textSize.height + kBubbleControlVerticalSpacing;
109 newHeight += size.height;
114 newHeight + 3 * kBubbleControlVerticalSpacing);
Dview_resizer.h19 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height;
Dview_resizer_pong.h19 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height;
Dbrowser_window_controller_unittest.mm357 [controller_ resizeView:infobar newHeight:60];
361 [controller_ resizeView:toolbar newHeight:64];
365 [controller_ resizeView:download newHeight:30];
369 [controller_ resizeView:infobar newHeight:0];
370 [controller_ resizeView:toolbar newHeight:39];
406 [controller_ resizeView:bookmark newHeight:40];
410 [controller_ resizeView:infobar newHeight:60];
414 [controller_ resizeView:toolbar newHeight:64];
418 [controller_ resizeView:download newHeight:30];
424 [controller_ resizeView:bookmark newHeight:0];
[all …]
Dview_resizer_pong.mm13 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height {
/external/chromium_org/chrome/browser/ui/cocoa/
Danimatable_view.mm65 - (void)setHeight:(CGFloat)newHeight {
69 int height = floor(newHeight);
70 [resizeDelegate_ resizeView:self newHeight:height];
73 - (void)animateToNewHeight:(CGFloat)newHeight
78 finalHeight:newHeight
Danimatable_view.h41 - (void)setHeight:(CGFloat)newHeight;
45 - (void)animateToNewHeight:(CGFloat)newHeight
Dspeech_recognition_window_controller.mm75 CGFloat newHeight = cancelSize.height + kBubbleControlVerticalSpacing;
94 newHeight += size.height;
107 newHeight += textSize.height + kBubbleControlVerticalSpacing;
113 newHeight += size.height;
118 newHeight + 3 * kBubbleControlVerticalSpacing);
Dview_resizer.h18 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height;
Dview_resizer_pong.h18 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height;
Dview_resizer_pong.mm13 - (void)resizeView:(NSView*)view newHeight:(CGFloat)height {
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
DButtonPropertyEditorPresentationImpl.java167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) { in setBounds() argument
171 if (newY + newHeight < 0) { in setBounds()
190 control.setData("oldHeight", newHeight); in setBounds()
195 if (oldWidth == newWidth && oldHeight == newHeight) { in setBounds()
201 control.setBounds(newX, newY, newWidth, newHeight); in setBounds()
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
DSDL_riscossprite.c218 int newWidth, newHeight; in WIMP_ModeChanged() local
232 newHeight = (currHeight >> oldYeig) << this->hidden->yeig; in WIMP_ModeChanged()
236 if (currHeight <= newHeight) in WIMP_ModeChanged()
238 extent[1] = -newHeight; in WIMP_ModeChanged()
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
DAwtPanel.java45 private int newHeight = 1; field in AwtPanel
62 if (newWidth != newWidth2 || newHeight != newHeight2){ in AwtPanel()
64 newHeight = newHeight2; in AwtPanel()
66 System.out.println("EDT: componentResized " + newWidth + ", " + newHeight); in AwtPanel()
266 reshapeInThread(newWidth, newHeight); in postFrame()
/external/chromium_org/third_party/angle/samples/gles2_book/MipMap2D/
DMipMap2D.c176 newHeight; in CreateMipMappedTexture2D() local
180 &newWidth, &newHeight ); in CreateMipMappedTexture2D()
184 newWidth, newHeight, 0, GL_RGB, in CreateMipMappedTexture2D()
196 height = newHeight; in CreateMipMappedTexture2D()
/external/mesa3d/src/mesa/main/
Dframebuffer.c347 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
356 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
364 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
373 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dframebuffer.c347 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
356 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
364 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
373 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
/external/chromium_org/native_client_sdk/src/resources/
Dindex.js78 var newHeight = Math.max(wrapperHeight - 4, bodyHeight);
79 iframeEl.style.height = newHeight + 'px';
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
DImageFrame.cpp106 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize() argument
111 m_bitmap->bitmap().setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight); in setSize()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/
Dinfo.js44 var newHeight = Math.min(document.body.offsetHeight + 140, 700);
46 height: newHeight,
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglCanvas.java211 int newHeight = Math.max(canvas.getHeight(), 1); in runLoop() local
212 if (width != newWidth || height != newHeight){ in runLoop()
214 height = newHeight; in runLoop()

123