HomeSort by relevance Sort by last modified time
    Searched refs:newWidth (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterDownsample.java 68 int newWidth = orig_w * 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/WebKit/Source/core/html/
HTMLTableColElement.cpp 74 int newWidth = width().toInt();
75 if (newWidth != col->width())
  /cts/apps/CtsVerifier/include/colorchecker/
testingimage.h 36 int newHeight, int newWidth);
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscossprite.c 218 int newWidth, newHeight;
231 newWidth = (currWidth >> oldXeig) << this->hidden->xeig;
243 if (currWidth <= newWidth)
245 extent[2] = newWidth;
  /external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/
ImageFrame.cpp 103 bool ImageFrame::setSize(int newWidth, int newHeight)
108 m_bitmap->bitmap().setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight);
  /frameworks/base/media/java/android/media/videoeditor/
VideoEditor.java 262 int newWidth = ((overlayCanvas.getHeight() * mOverlayBitmap.getWidth())
264 left = (overlayCanvas.getWidth() - newWidth) / 2;
266 right = left + newWidth;
292 int newWidth = ((mOverlayBitmap.getHeight() * overlayCanvas.getWidth())
294 left = (mOverlayBitmap.getWidth() - newWidth) / 2;
296 right = left + newWidth;
OverlayFrame.java 374 int newWidth = ((overlayCanvas.getHeight() * overlayBitmap.getWidth())
376 left = (overlayCanvas.getWidth() - newWidth) / 2;
378 right = left + newWidth;
404 int newWidth = ((overlayBitmap.getHeight() * overlayCanvas.getWidth())
406 left = (overlayBitmap.getWidth() - newWidth) / 2;
408 right = left + newWidth;
  /cts/apps/CtsVerifier/lib/colorchecker/
testingimage.cpp 59 int newHeight, int newWidth) {
60 mImage = new unsigned char[newHeight * newWidth * inputChannel];
63 newHeight, newWidth, inputChannel);
65 mWidth = newWidth;
72 int widthScale = inputWidth / newWidth;
  /external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
AwtPanel.java 44 private int newWidth = 1;
62 if (newWidth != newWidth2 || newHeight != newHeight2){
63 newWidth = newWidth2;
66 System.out.println("EDT: componentResized " + newWidth + ", " + newHeight);
266 reshapeInThread(newWidth, newHeight);
  /packages/apps/UnifiedEmail/assets/
script.js 202 var newWidth = elWidth;
234 newWidth = el.scrollWidth;
235 console.log("ran div-width munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
238 transformText += " DIV:newW=" + newWidth;
240 if (newWidth <= docWidth) {
250 newWidth = el.scrollWidth;
251 console.log("ran img munger on el=" + el + " oldW=" + elWidth + " newW=" + newWidth
254 transformText += " IMG:newW=" + newWidth;
256 if (newWidth <= docWidth) {
270 newWidth = el.scrollWidth
    [all...]
  /packages/apps/Camera2/src/com/android/camera/crop/
GeometryMathUtils.java 155 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) {
156 if (oldHeight == 0 || oldWidth == 0 || (oldWidth == newWidth && oldHeight == newHeight)) {
159 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
BoundedRect.java 301 float newWidth = Math.abs(fixed_x - p[0]);
303 newWidth = Math.max(newWidth, aspRatio * newHeight);
304 if (newWidth < widthSoFar)
305 widthSoFar = newWidth;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
SidebarOverlay.js 99 * @param {number} newWidth
101 _setWidth: function(newWidth)
103 var width = Number.constrain(newWidth, this._minimalWidth, this._totalWidth);
  /external/chromium_org/chrome/browser/resources/file_manager/js/media/
video_player.js 236 var newWidth = video.videoWidth;
239 var shrinkX = newWidth / window.screen.availWidth;
244 newWidth = (newHeight - TITLE_HEIGHT) * aspect;
246 newWidth = newWidth / shrinkX;
247 newHeight = newWidth / aspect + TITLE_HEIGHT;
262 appWindow.resizeTo(newWidth, newHeight);
263 appWindow.moveTo(oldLeft - (newWidth - oldWidth) / 2,
  /external/chromium_org/third_party/angle_dx11/samples/gles2_book/MipMap2D/
MipMap2D.c 175 int newWidth,
180 &newWidth, &newHeight );
184 newWidth, newHeight, 0, GL_RGB,
195 width = newWidth;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
ButtonPropertyEditorPresentationImpl.java 167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) {
189 control.setData("oldWidth", newWidth);
195 if (oldWidth == newWidth && oldHeight == newHeight) {
201 control.setBounds(newX, newY, newWidth, newHeight);
  /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/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 );
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 223 final int newWidth = (int) (cropWidth * scaleFactor);
225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
BalloonHint.java 245 int newWidth = mBalloonView.getMeasuredWidth() + getPaddingLeft()
249 setWidth(newWidth);
264 mForceDismiss = oldWidth - newWidth > 1 || newWidth - oldWidth > 1;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderVideo.cpp 159 LayoutUnit newWidth = renderBox.height() * elementSize.width() / elementSize.height();
161 if (renderBox.width() - newWidth > 2)
162 renderBox.setWidth(newWidth);
  /external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
LwjglCanvas.java 210 int newWidth = Math.max(canvas.getWidth(), 1);
212 if (width != newWidth || height != newHeight){
213 width = newWidth;
  /packages/apps/InCallUI/src/com/android/incallui/
ContactsAsyncHelper.java 252 int newWidth = (int) (orgWidth / ratio);
256 if (newWidth <= 0 || newHeight <= 0) {
263 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /packages/services/Telephony/src/com/android/phone/
ContactsAsyncHelper.java 283 int newWidth = (int) (orgWidth / ratio);
287 if (newWidth <= 0 || newHeight <= 0) {
294 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 494 int newWidth, newHeight;
496 newWidth = newShortSize;
499 newWidth = newLongSize;
503 float sw = width/(float)newWidth;
511 outDm.widthPixels = newWidth;

Completed in 1078 milliseconds

1 2 3 4