Searched refs:width (Results 276 - 300 of 355) sorted by relevance

<<1112131415

/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp97 return canvas->getDevice()->accessBitmap(false).width();
107 int width, int height) {
108 canvas->setViewport(width, height);
548 jfloat x, jfloat y, int width, int height,
554 SkBitmap::kRGB_565_Config, width, height);
560 0, 0, width, height, bitmap)) {
619 const SkScalar w = SkIntToScalar(bitmap->width());
106 setViewport(JNIEnv* env, jobject, SkCanvas* canvas, int width, int height) argument
546 drawBitmapArray(JNIEnv* env, jobject, SkCanvas* canvas, jintArray jcolors, int offset, int stride, jfloat x, jfloat y, int width, int height, jboolean hasAlpha, SkPaint* paint) argument
H A DGraphicsJNI.h72 int srcStride, int x, int y, int width, int height,
/frameworks/base/opengl/tests/angeles/
H A Ddemo.c518 static void prepareFrame(int width, int height) argument
520 glViewport(0, 0, width, height);
529 gluPerspective(45, (float)width / height, 0.5f, 150);
750 /* The tick is current time in milliseconds, width and height
753 void appRender(long tick, int width, int height) argument
771 prepareFrame(width, height);
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java356 public void setDimensionHints(int width, int height) throws RemoteException { argument
359 if (width <= 0 || height <= 0) {
360 throw new IllegalArgumentException("width and height must be > 0");
364 if (width != mWidth || height != mHeight) {
365 mWidth = width;
372 width, height);
399 outParams.putInt("width", mWidth);
645 out.attribute(null, "width", Integer.toString(mWidth));
687 mWidth = Integer.parseInt(parser.getAttributeValue(null, "width"));
/frameworks/base/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp78 int pitch = video->currPic->pitch, pitch_c, width; local
85 width = video->currPic->width;
98 SrcY += ((pitch << 4) - width);
99 SrcU += ((pitch_c << 3) - (width >> 1));
100 SrcV += ((pitch_c << 3) - (width >> 1));
206 if (x_pos) /* find the width */
/frameworks/base/core/java/android/view/
H A DView.java149 * <table border="2" width="85%" align="center" cellpadding="5">
284 * two dimensions, expressed as a width and a height. The unit for location
304 * (see <a href="#SizePaddingMargins">Size</a> for more information about the width.)
310 * The size of a view is expressed with a width and a height. A view actually
311 * possess two pairs of width and height values.
315 * The first pair is known as <em>measured width</em> and
323 * The second pair is simply known as <em>width</em> and <em>height</em>, or
324 * sometimes <em>drawing width</em> and <em>drawing height</em>. These
327 * measured width and height. The width an
[all...]
H A DGravity.java118 * width and height of the object.
136 * width and height of the object.
276 if (inoutObj.width() > (display.right-display.left)) {
/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java250 lp.width = LayoutParams.MATCH_PARENT;
465 mContainerLayoutParams.width = ownerWidth;
H A DGallery.java786 mSpinnerPadding.left + mSpinnerPadding.right, lp.width);
798 int width = child.getMeasuredWidth();
801 childRight = childLeft + width;
803 childLeft = x - width;
H A DToast.java161 * container width, between the container's edges and the
321 params.width = WindowManager.LayoutParams.WRAP_CONTENT;
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_GLImpl.cpp461 /* void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) */
464 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jobject data_buf) {
474 (GLsizei)width,
485 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */
488 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) {
499 (GLsizei)width,
510 /* void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) */
513 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) {
520 (GLsizei)width,
526 /* void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsize
463 android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jobject data_buf) argument
487 android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) argument
512 android_glCopyTexImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) argument
528 android_glCopyTexSubImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint x, jint y, jint width, jint height) argument
2366 android_glLineWidth__F(JNIEnv *_env, jobject _this, jfloat width) argument
2375 android_glLineWidthx__I(JNIEnv *_env, jobject _this, jint width) argument
3025 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
3115 android_glScissor__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument
3426 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument
3475 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
3547 android_glViewport__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument
5858 android_glDrawTexfOES__FFFFF(JNIEnv *_env, jobject _this, jfloat x, jfloat y, jfloat z, jfloat width, jfloat height) argument
5930 android_glDrawTexiOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
6002 android_glDrawTexsOES__SSSSS(JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) argument
6074 android_glDrawTexxOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
7041 android_glRenderbufferStorageOES__IIII(JNIEnv *_env, jobject _this, jint target, jint internalformat, jint width, jint height) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp179 /* void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) */
182 (JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) {
187 (GLshort)width,
192 /* void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) */
195 (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
200 (GLint)width,
205 /* void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) */
208 (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
213 (GLfixed)width,
395 /* void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloa
181 android_glDrawTexsOES__SSSSS(JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) argument
194 android_glDrawTexiOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
207 android_glDrawTexxOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
397 android_glDrawTexfOES__FFFFF(JNIEnv *_env, jobject _this, jfloat x, jfloat y, jfloat z, jfloat width, jfloat height) argument
1161 android_glLineWidthxOES__I(JNIEnv *_env, jobject _this, jint width) argument
1671 android_glRenderbufferStorageOES__IIII(JNIEnv *_env, jobject _this, jint target, jint internalformat, jint width, jint height) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad.cpp322 Int width = (lx - 32); local
344 kk += (width >> 2);
/frameworks/base/services/surfaceflinger/
H A DSurfaceFlinger.h205 uint32_t* width,
336 uint32_t* width, uint32_t* height, PixelFormat* format,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java344 rect.right = bounds.x + bounds.width;
397 new Rectangle2D.Float(rect.left, rect.top, rect.width(), rect.height()), op);
H A DMatrix_Delegate.java599 float tx, sx = dst.width() / src.width();
618 diff = dst.width() - src.width() * sy;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java32 * level value. You can control how much the child Drawable gets clipped in width
199 int w = bounds.width();
H A DScaleDrawable.java32 * level value. You can control how much the child Drawable changes in width
210 int w = bounds.width();
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h346 int32_t width; member in struct:egl_native_pixmap_t
/frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java163 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java340 * Sets the width and height of the video to be captured. Must be called
344 * @param width the width of the video to be captured
349 public native void setVideoSize(int width, int height) argument
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_int.h348 int width; member in struct:tagPadInfo
/frameworks/base/media/libstagefright/include/
H A DAwesomePlayer.h88 status_t getVideoDimensions(int32_t *width, int32_t *height) const;
/frameworks/base/media/libstagefright/rtsp/
H A DARTPWriter.cpp491 int32_t width, height; local
492 CHECK(meta->findInt32(kKeyWidth, &width));
498 sdp.append(width);
503 sdp.append(width);
/frameworks/base/opengl/libagl/
H A Dmipmap.cpp36 int w = base->width;

Completed in 431 milliseconds

<<1112131415