/external/webkit/Source/WebCore/html/ |
HTMLTableColElement.cpp | 71 int newWidth = width().toInt(); 72 if (newWidth != col->width())
|
/external/webkit/Source/WebCore/platform/gtk/ |
DragImageGtk.cpp | 48 int newWidth = scale.width() * cairo_image_surface_get_width(image); 50 cairo_surface_t* scaledSurface = cairo_surface_create_similar(image, CAIRO_CONTENT_COLOR_ALPHA, newWidth, newHeight);
|
RenderThemeGtk.cpp | 659 int newWidth = max(2, progressRect.width() / progressActivityBlocks); 660 int movableWidth = progressRect.width() - newWidth; 661 progressRect.setWidth(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/webkit/Source/WebCore/rendering/ |
RenderVideo.cpp | 167 int newWidth = renderBox.height() * elementSize.width() / elementSize.height(); 169 if (renderBox.width() - newWidth > 2) 170 renderBox.setWidth(newWidth);
|
RenderFrameSet.cpp | 579 int newWidth = maxWidth - borderThickness; 583 int dWidth = (width() - newWidth) / cols; 606 setWidth(max(width(), newWidth));
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ElementsPanel.js | [all...] |
ScriptsPanel.js | 695 var newWidth = Number.constrain(window.innerWidth - x, Preferences.minScriptsSidebarWidth, window.innerWidth * 0.66); 696 this.setSidebarWidth(newWidth); 700 setSidebarWidth: function(newWidth) 702 this.sidebarElement.style.width = newWidth + "px"; 703 this.sidebarButtonsElement.style.width = newWidth + "px"; 704 this.viewsContainerElement.style.right = newWidth + "px"; 705 this.sidebarResizeWidgetElement.style.right = newWidth + "px"; 706 this.sidebarResizeElement.style.right = (newWidth - 3) + "px"; [all...] |
/packages/apps/Phone/src/com/android/phone/ |
ContactsAsyncHelper.java | 267 int newWidth = (int) (orgWidth / 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 | 223 final int newWidth = (int) (cropWidth * scaleFactor); 225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
|
/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);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 495 int newWidth, newHeight; 497 newWidth = newShortSize; 500 newWidth = newLongSize; 504 float sw = width/(float)newWidth; 512 outDm.widthPixels = newWidth;
|
/frameworks/base/media/java/android/media/videoeditor/ |
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;
|
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;
|
MediaImageItem.java | 179 int newWidth = mScaledWidth; 184 final int [] framingBuffer = new int[newWidth]; 191 tmp, newWidth, 1); 193 intBuffer.put(framingBuffer, 0, newWidth); [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
FlyoutControlComposite.java | 468 int newWidth = width; 470 newWidth = event.x + RESIZE_WIDTH / 2; 472 newWidth = width - event.x + RESIZE_WIDTH / 2; 474 newWidth = event.y + RESIZE_WIDTH / 2; 476 newWidth = width - event.y + RESIZE_WIDTH / 2; 479 if (newWidth != width) { 480 m_preferences.setWidth(newWidth); [all...] |
/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;
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 198 final int newWidth = Math.max(0, childWidth - delta); 199 mImposedTabWidths[i] = newWidth; 201 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
/frameworks/native/libs/gui/ |
SurfaceTexture.cpp | 706 int32_t newWidth = mCurrentCrop.width(); 709 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) { 710 newWidth = newHeight * mDefaultWidth / mDefaultHeight; 711 ST_LOGV("too wide: newWidth = %d", newWidth); 712 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) { 713 newHeight = newWidth * mDefaultHeight / mDefaultWidth; 718 if (newWidth < mCurrentCrop.width()) { 719 int32_t dw = (newWidth - mCurrentCrop.width())/2;
|
/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;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 121 final int newWidth = getMeasuredWidth(); 123 if (lockedExpanded && oldWidth != newWidth) {
|
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 864 int32_t newWidth = getWindowProp(code->nativeWindow.get(), 868 if (newWidth != code->lastWindowWidth [all...] |
/frameworks/base/media/java/android/media/ |
RemoteControlClient.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 405 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft - 430 lp.width = newWidth; 440 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth);
|
PagedViewCellLayout.java | 210 int newWidth = widthSpecSize; 213 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + 217 setMeasuredDimension(newWidth, newHeight); 224 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - 232 setMeasuredDimension(newWidth, newHeight);
|