/external/webkit/WebKit/mac/Misc/ |
WebNSWindowExtras.m | 45 - (frameToCenterOver.size.height - size.height) / 3 46 - size.height;
|
WebNSImageExtras.m | 45 if(originalSize.height > size.height){ 46 heightResizeDelta = size.height / originalSize.height; 53 NSSize newSize = NSMakeSize((originalSize.width * resizeDelta), (originalSize.height * resizeDelta)); 63 NSPoint point = [self isFlipped] ? NSMakePoint(0, [self size].height) : NSZeroPoint;
|
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 29 public final float height; field in class:OrientedBoundingBox 39 height = h; 59 point[1] = height / 2; 67 point[1] = -height / 2; 72 point[1] = -height / 2; 77 point[1] = height / 2;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
ErrorImageComposite.java | 26 mSize = new Point(baseImage.getBounds().width, baseImage.getBounds().height); 30 protected void drawCompositeImage(int width, int height) { 35 if (overlayData.width == baseData.width && baseData.height == baseData.height) { 37 drawImage(overlayData, -3, mSize.y - overlayData.height + 3); 39 drawImage(overlayData, 0, mSize.y - overlayData.height);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotatePane.java | 40 int height = bottom - top; local 44 mChild.layout(0, 0, width, height); 48 mChild.layout(0, 0, height, width); 80 float height = getHeight(); local 83 matrix.preRotate(180, width / 2, height / 2); 86 matrix.preRotate(270, height / 2, height / 2); 101 float height = getHeight(); local 103 case DOWN: event.setLocation(width - x, height - y); break; 104 case LEFT: event.setLocation(height - y, x); break [all...] |
/external/webkit/WebCore/inspector/front-end/ |
Drawer.js | 77 var height = this._savedHeight || this.element.offsetHeight; 78 return Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this.mainElement.totalOffsetTop - Preferences.minConsoleHeight); 102 var height = (this.fullPanel ? window.innerHeight - this.toolbarElement.offsetHeight : this.savedHeight); 104 {element: this.element, end: {height: height}}, 105 {element: document.getElementById("main"), end: {bottom: height}}, 181 var height; variable 184 height = parseInt(this.element.style.height); 185 height = Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - mainElement.totalOff (…) 289 var height = window.innerHeight - event.pageY + this._statusBarDragOffset; variable [all...] |
Popup.js | 35 * Rectangles are Objects: {x: xValue, y: yValue, width: widthValue, height: heightValue}. 109 var clippingBox = {x: 0, y: 0, width: targetDocumentElement.clientWidth, height: targetDocumentElement.clientHeight}; 115 var anchorBox = {x: anchorPosition.x, y: anchorPosition.y, width: anchorElement.offsetWidth, height: anchorElement.offsetHeight}; 116 var elementBox = {x: element.totalOffsetLeft, y: element.totalOffsetTop, width: element.offsetWidth, height: element.offsetHeight}; 119 if (anchorBox.y - elementBox.height >= clippingBox.y) 120 newElementPosition.y = anchorBox.y - elementBox.height; 122 newElementPosition.y = Math.min(anchorBox.y + anchorBox.height, Math.max(clippingBox.y, clippingBox.y + clippingBox.height - elementBox.height)); 124 if (anchorBox.x + elementBox.height <= clippingBox.x + clippingBox.height [all...] |
/frameworks/base/core/java/android/webkit/ |
ViewManager.java | 42 int height; field in class:ViewManager.ChildView 48 void setBounds(int x, int y, int width, int height) { 52 this.height = height; 55 void attachView(int x, int y, int width, int height) { 59 setBounds(x, y, width, height); 123 int height = mWebView.contentToViewDimension(v.height); local 133 lp.height = height; [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
CanvasTexture.java | 66 public final void setSize(int width, int height) { 68 mHeight = height; 89 int height = (int) mHeight; local 102 int newTextureHeight = Shared.nextPowerOf2(height); 124 // Set the new texture width and height. 130 mNormalizedHeight = (float) height / textureHeight; 152 renderCanvas(canvas, bitmap, width, height); 153 int[] cropRect = { 0, height, width, -height }; 171 float height = mHeight local [all...] |
/external/quake/quake/src/WinQuake/ |
vid_dos.h | 27 unsigned height;
member in struct:vmode_s 40 int height);
42 int x, int y, int width, int height);
75 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
78 int y, byte *pbitmap, int width, int height);
80 int y, int width, int height);
82 int height, int srcrowbytes, int destrowbytes);
|
vid_null.cpp | 48 vid.maxwarpheight = vid.height = vid.conheight = BASEHEIGHT;
73 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height)
83 void D_EndDirectRect (int x, int y, int width, int height)
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 25 SVG_ATTRIBUTE(height), 43 SkScalar height, width; local 45 const char* hSuffix = SkParse::FindScalar(f_height.c_str(), &height); 47 height = SkScalarMulDiv(height, SK_Scalar1 * 72, SK_Scalar1 * 96); 54 box.fTop = SkScalarDiv(viewBox[1], height); 56 box.fBottom = SkScalarDiv(viewBox[3], height);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap.java | 102 * @param height The number of rows 105 int width, int height) { 106 return new Bitmap(source.mImage.getSubimage(x, y, width, height)); 117 * @param height The number of rows 123 * @throws IllegalArgumentException if the x, y, width, height values are 127 int height, Matrix m, boolean filter) { 129 checkWidthHeight(width, height); 134 if (y + height > source.getHeight()) { 136 "y + height must be <= bitmap.height()"); 261 final int height = src.getHeight(); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 28 * region by left, top, width and height. 61 * The height of the the image. 72 * @param height The height of the YuvImage. 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { 87 if (width <= 0 || height <= 0) { 89 "width and height must large than 0"); 105 mHeight = height; 142 rectangle.height(), offsets, mStrides, quality, stream 216 int height = rect.height(); local [all...] |
/development/samples/BrowserPlugin/src/com/android/sampleplugin/ |
PaintSurface.java | 45 public PaintSurface(Context context, int NPP, int width, int height) { 53 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 56 nativeSurfaceChanged(npp, format, width, height); 79 this.getHolder().setFixedSize(width, height); 93 private native void nativeSurfaceChanged(int npp, int format, int width, int height);
|
/development/simulator/app/ |
DeviceWindow.cpp | 120 int width, height; local 122 pEventWindow->GetSize(&width, &height); 130 else if (pEvent->m_y >= height) 131 pEvent->m_y = height-1; 177 int height = onionSkinImage.GetHeight(); local 182 for (int i = (width * height) - 1; i >= 0; i--) { 205 int width, height; local 207 GetClientSize(&width, &height); 208 printf("Sim: device window resize: %dx%d\n", width, height); 210 mBitmap.Create(width, height); [all...] |
/frameworks/base/include/media/stagefright/ |
ColorConverter.h | 36 size_t width, size_t height, 47 size_t width, size_t height, 52 size_t width, size_t height, 57 size_t width, size_t height, 62 size_t width, size_t height,
|
/bootable/recovery/minui/ |
mkfont.c | 12 n = gimp_image.width * gimp_image.height; 18 printf(" unsigned height;\n"); 23 printf(" .width = %d,\n .height = %d,\n .cwidth = %d,\n .cheight = %d,\n", gimp_image.width, gimp_image.height, 24 gimp_image.width / 96, gimp_image.height);
|
/external/quake/quake/src/QW/client/ |
vid_null.c | 29 vid.maxwarpheight = vid.height = vid.conheight = BASEHEIGHT; 54 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height) 64 void D_EndDirectRect (int x, int y, int width, int height)
|
/external/skia/src/images/ |
fpdfemb_ext.h | 24 /** Get info from the decoder, including image width, height and number of components */ 25 void (*GetInfo)(void* pContext, int* width, int* height, int* nComps); 46 /** Get image info from the context, including width, height, number of components 51 void (*GetInfo)(void* context, unsigned long* width, unsigned long* height, 68 /** Do the whole decoding process. Supplied parameters include width, height, source image 72 void (*Decode)(unsigned long width, unsigned long height, const unsigned char* src_buf,
|
/external/webkit/WebCore/page/ |
Screen.cpp | 56 unsigned Screen::height() const function in class:WebCore::Screen 60 return static_cast<unsigned>(screenRect(m_frame->view()).height()); 102 return static_cast<unsigned>(screenAvailableRect(m_frame->view()).height());
|
/external/webkit/WebCore/platform/brew/ |
ScreenBrew.cpp | 44 int height; member in struct:WebCore::DisplayInfo 58 info.height = bitmapInfo.cy; 69 return FloatRect(0, 0, info.width, info.height);
|
/external/webkit/WebCore/rendering/ |
EllipsisBox.h | 33 int width, int height, int y, bool firstLine, InlineBox* markupBox) 35 , m_height(height) 48 virtual int height() const { return m_height; } function in class:WebCore::EllipsisBox
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandedView.java | 51 int height = bottom - top; local 52 if (height != mPrevHeight) { 53 //Slog.d(StatusBarService.TAG, "height changed old=" + mPrevHeight 54 // + " new=" + height); 55 mPrevHeight = height;
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
SDL_wsconsvideo.c | 55 static SDL_Surface *WSCONS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 155 int width, height; local 244 len = private->physlinebytes * private->info.height; 248 len = private->info.width * private->info.height * sizeof(short); 250 len = private->physlinebytes * private->info.height; 261 len = private->info.width * private->info.height * sizeof(int); 263 len = private->physlinebytes * private->info.height; 296 width = private->info.height; 297 height = private->info.width; 300 height = private->info.height 463 int height = private->SDL_modelist[0]->h; local [all...] |