/frameworks/base/libs/hwui/ |
H A D | Patch.h | 78 float v1, float v2, float stretchX, float width, float bitmapWidth,
|
H A D | PatchCache.h | 53 const uint32_t width, const uint32_t height, const int8_t numColors);
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.h | 54 void configBitmapSize(SkBitmap* bm, SkBitmap::Config pref, int width,
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 228 // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) 234 int width, 241 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) 248 int width, 255 // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) 263 int width, 268 // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) 277 int width, 603 // C function void glLineWidth ( GLfloat width ) 606 float width 230 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument 243 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument 257 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument 270 glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) argument 866 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument 926 glScissor( int x, int y, int width, int height ) argument 1048 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument 1078 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument 1143 glViewport( int x, int y, int width, int height ) argument 1730 glDrawTexfOES( float x, float y, float z, float width, float height ) argument 1753 glDrawTexiOES( int x, int y, int z, int width, int height ) argument 1776 glDrawTexsOES( short x, short y, short z, short width, short height ) argument 1799 glDrawTexxOES( int x, int y, int z, int width, int height ) argument 2131 glRenderbufferStorageOES( int target, int internalformat, int width, int height ) argument [all...] |
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainRS.java | 33 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 68 public void setFixedSize(int width, int height) {
|
/frameworks/native/include/ui/ |
H A D | PixelFormat.h | 94 size_t getScanlineSize(unsigned int width) const;
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
H A D | TestView.java | 236 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 237 gl.glViewport(0, 0, width, height); 240 gl.glOrthof(0, width, height, 0, -1, 1); 242 createGrid(gl, width, height);
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 110 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 113 if ( mVideoWidth * height > width * mVideoHeight ) { 115 height = width * mVideoHeight / mVideoWidth; 116 } else if ( mVideoWidth * height < width * mVideoHeight ) { 118 width = height * mVideoWidth / mVideoHeight; 121 //width+"/"+height+"="+ 125 //Log.i("@@@@@@@@@@", "setting size: " + width + 'x' + height); 126 setMeasuredDimension(width, height); 279 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 151 rect2.offset(rect1.width() - 1, 0); 167 rect2.offset(-(rect1.width() - 1), 0); 190 aboveLeft.offset(-(1 + src.width()), -(1 + src.height())); 203 aboveLeft.offset(-(1 + src.width()), -(1 + src.height())); 216 aboveLeftOfBeam.offset(-(src.width() + 1), -src.height()); 246 nonCandidate.offset(src.width() + 1, 0); 251 candidate.offset(-(4 * src.width()), 0);
|
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/ |
H A D | UiAutomatorViewer.java | 127 // and line width of highlight rect to be scaled, causing to appear to be blurry 136 getScaledSize(r.width), getScaledSize(r.height)); 141 getScaledSize(r.width), getScaledSize(r.height)); 160 getScaledSize(rect.width), getScaledSize(rect.height)); 352 float scaleX = (canvas.width - 2 * IMG_BORDER - 1) / (float)image.width; 357 mDx = (canvas.width - getScaledSize(image.width) - IMG_BORDER * 2) / 2 + IMG_BORDER;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 275 int width = mRequestedWidth >= 0 281 setMeasuredDimension(width, height); 440 mLayout.width = getWidth(); 496 mSurfaceFrame.right = mWinFrame.width(); 500 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f); 582 " w=" + mLayout.width + " h=" + mLayout.height + 631 } else if (surfaceView.mWinFrame.width() != w 689 public void setFixedSize(int width, int height) { 690 if (mRequestedWidth != width || mRequestedHeight != height) { 691 mRequestedWidth = width; [all...] |
H A D | WindowManager.java | 995 * The horizontal margin, as a percentage of the container's width, 1205 out.writeInt(width); 1245 width = in.readInt(); 1304 if (width != o.width) { 1305 width = o.width; 1440 sb.append((width== MATCH_PARENT ?"fill":(width==WRAP_CONTENT?"wrap":width))); [all...] |
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4xVSS_Internal.h | 111 /*To support ARGB8888 : get the width and height in case of file ARGB888 used in framing 113 M4OSA_UInt32 width; /*width of the ARGB8888 clip member in struct:__anon265 150 M4OSA_UInt32 width; /**<GIF width, fill during the member in struct:__anon266 163 M4OSA_UInt32 last_width; /**<Last frame width*/ 211 /*To support ARGB8888:width and height */ 212 M4OSA_UInt32 width; member in struct:__anon267 499 M4OSA_UInt32 width,M4OSA_UInt32 height); 506 M4OSA_UInt32 width,M4OSA_UInt3 [all...] |
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteButton.java | 258 int width; 261 width = widthSize; 264 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight()); 268 width = minWidth + getPaddingLeft() + getPaddingRight(); 286 setMeasuredDimension(width, height);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 87 /** Default key width */ 105 /** Current key width, while loading the keyboard */ 115 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the 161 /** Default width of a key in this row. */ 245 public int width; field in class:Keyboard.Key 316 width = parent.defaultWidth; 339 width = getDimensionOrFraction(a, 451 if ((x >= this.x || (leftEdge && x <= this.x + this.width)) 452 && (x < this.x + this.width || (rightEdge && x >= this.x)) 468 int xDist = this.x + width / 522 Keyboard(Context context, int xmlLayoutResId, int modeId, int width, int height) argument 680 setKeyWidth(int width) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 184 EXPECT_EQ(1, buf->width); 194 EXPECT_EQ(16, buf->width); 204 EXPECT_EQ(1, buf->width); 214 EXPECT_EQ(16, buf->width); 224 EXPECT_EQ(16, buf->width); 230 EXPECT_EQ(1, buf->width); 240 EXPECT_EQ(1, buf->width); 246 EXPECT_EQ(16, buf->width); 257 EXPECT_EQ(16, buf->width); 275 EXPECT_EQ(16, buf[0]->width); [all...] |
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 54 EGLint left, EGLint top, EGLint width, EGLint height); 229 virtual EGLint getWidth() const { return width; } 244 int width; member in struct:android::egl_window_surface_v2_t 354 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); 380 width = buffer->width; 383 depth.width = width; 385 depth.stride = depth.width; // use the width her 2140 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument [all...] |
H A D | state.cpp | 93 c->line.width = TRI_ONE; 507 void glLineWidth(GLfloat width) argument 510 if (width <= 0) { 514 c->line.width = TRI_FROM_FIXED(gglFloatToFixed(width)); 517 void glLineWidthx(GLfixed width) argument 520 if (width <= 0) { 524 c->line.width = TRI_FROM_FIXED(width);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_est.cpp | 146 Int width = currFrame->pitch; local 196 (*ComputeMBSum)(cur + (i << 4), width, mot_mb); 202 cur += (width << 4); 264 offset = width * (j << 4) + (start_i << 4); 311 (*ChooseMode)(mode_mb, cur, width, ((sad8 < sad16) ? sad8 : sad16)); 323 (*ComputeMBSum)(cur, width, mot_mb); 485 (*ComputeMBSum)(cur + (i << 4), width, mot_mb); 490 cur += (width << 4); 537 Int lx = video->currVop->width; // padding 682 Int width local 744 Int width = video->currVop->width; local 777 Int width = video->currVop->width; /* 6/12/01, must be multiple of 16 */ local [all...] |
H A D | datapart_encode.cpp | 42 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 171 offset += (lx << 4) - width; 219 Int width = currVop->width; /* has to be Vop, for multiple of 16 */ local 436 offset += (lx << 4) - width;
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 46 int width, Alignment align, 49 this(base, base, paint, width, align, spacingmult, spacingadd, 60 int width, Alignment align, 63 this(base, display, paint, width, align, spacingmult, spacingadd, 76 int width, Alignment align, 80 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, 95 int width, Alignment align, TextDirectionHeuristic textDir, 104 paint, width, align, textDir, spacingmult, spacingadd); 115 mEllipsizedWidth = width; 44 DynamicLayout(CharSequence base, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad) argument 58 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad) argument 74 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument 93 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument
|
/frameworks/rs/ |
H A D | rsFont.cpp | 102 int32_t width = (int32_t) glyph->mBitmapWidth; local 106 nPenX + width, nPenY, 0, u2, v2, 107 nPenX + width, nPenY - height, 0, u2, v1, 141 int32_t width = (int32_t) glyph->mBitmapWidth; local 151 if (bounds->right < nPenX + width) { 152 bounds->right = nPenX + width; 264 uint32_t endX = startX + bitmap->width; 269 glyph->mBitmapWidth = bitmap->width; 413 ALOGE("Font size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (in [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | WallpaperManagerService.java | 199 int width = -1; field in class:WallpaperManagerService.WallpaperData 520 public void setDimensionHints(int width, int height) throws RemoteException { argument 528 if (width <= 0 || height <= 0) { 529 throw new IllegalArgumentException("width and height must be > 0"); 533 if (width != wallpaper.width || height != wallpaper.height) { 534 wallpaper.width = width; 542 width, height); 555 return wallpaper.width; [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 474 final int width = dm.noncompatWidthPixels; 477 if (width < height) { 478 shortSize = width; 482 longSize = width; 491 if (width < height) { 499 float sw = width/(float)newWidth;
|