Searched defs:width (Results 326 - 350 of 400) sorted by relevance

<<111213141516

/frameworks/av/media/libstagefright/
H A DACodec.cpp867 int32_t width, height; local
868 if (!msg->findInt32("width", &width)
872 err = setupVideoDecoder(mime, width, height);
1388 const char *mime, int32_t width, int32_t height) {
1410 kPortIndexInput, width, height, compressionFormat);
1417 kPortIndexOutput, width, height, OMX_VIDEO_CodingUnused);
1461 int32_t width, height, bitrate; local
1462 if (!msg->findInt32("width", &width)
1387 setupVideoDecoder( const char *mime, int32_t width, int32_t height) argument
1907 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat) argument
[all...]
H A DAwesomePlayer.cpp1017 int32_t width, height; local
1018 CHECK(meta->findInt32(kKeyWidth, &width));
1022 cropRight = width - 1;
1025 ALOGV("got dimensions only %d x %d", width, height);
1033 ALOGV("Display width changed (%d=>%d)", mDisplayWidth, displayWidth);
H A DMPEG4Extractor.cpp997 uint16_t width = U16_AT(&buffer[6 + 18]); local
1001 // Use some default width and height value, and
1002 // let the decoder figure out the actual width and height (and thus
1004 if (width == 0) width = 352;
1007 // printf("*** coding='%s' width=%d height=%d\n",
1008 // chunk, width, height);
1011 mLastTrack->meta->setInt32(kKeyWidth, width);
1546 uint32_t width = U32_AT(&buffer[dynSize + 52]); local
1548 mLastTrack->meta->setInt32(kKeyDisplayWidth, width >> 1
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_int.h348 int width; member in struct:tagPadInfo
H A Dmotion_est.cpp485 int pitch, width, height; local
488 width = refPic->width;
496 temp2 = src[width-1]; /* top-right corner */
509 memcpy(dst, src, width);
511 *((uint32*)(dst += width)) = temp2;
516 dst = dst - width - 16;
532 temp2 = src[width-1];
543 *((uint32*)(dst += width)) = temp2;
605 int lx = video->currPic->width; // paddin
966 int width = currPic->width; /* 6/12/01, must be multiple of 16 */ local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h243 int width; /* Width */ member in struct:tagVideoDecData
/frameworks/base/core/java/android/provider/
H A DMediaStore.java308 * The width of the image/video in pixels.
310 public static final String WIDTH = "width";
760 float width, float height,
765 float scaleX = width / source.getWidth();
1036 * The width of the thumbnal
1039 public static final String WIDTH = "width";
2041 * The width of the thumbnal
2044 public static final String WIDTH = "width";
756 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument
/frameworks/base/core/java/android/text/
H A DLayout.java100 * width, and other standard properties.
104 * @param width the wrapping width for the text.
112 int width, Alignment align,
114 this(text, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR,
120 * width, and other standard properties.
124 * @param width the wrapping width for the text.
134 int width, Alignment align, TextDirectionHeuristic textDir,
137 if (width <
111 Layout(CharSequence text, TextPaint paint, int width, Alignment align, float spacingMult, float spacingAdd) argument
133 Layout(CharSequence text, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingMult, float spacingAdd) argument
163 replaceWith(CharSequence text, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd) argument
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java260 * @param width Width of the drawing surface.
263 abstract void setup(int width, int height); argument
266 * Gets the current width of the surface. This is the width that the surface
269 * @return the current width of the surface
277 * @return the current width of the surface
417 * @param width The minimum width of the layer
423 abstract HardwareLayer createHardwareLayer(int width, int height, boolean isOpaque); argument
475 * @param width Th
479 initializeIfNeeded(int width, int height, SurfaceHolder holder) argument
1030 setup(int width, int height) argument
1426 setup(int width, int height) argument
1444 createHardwareLayer(int width, int height, boolean isOpaque) argument
[all...]
H A DWindow.java604 * Set the width and height layout parameters of the window. The default
608 * @param width The desired layout width of the window.
612 * @see ViewGroup.LayoutParams#width
614 public void setLayout(int width, int height) { argument
616 attrs.width = width;
626 * is only useful when using WRAP_CONTENT for the layout width or height.
H A DWindowManagerPolicy.java486 public void setInitialDisplaySize(Display display, int width, int height); argument
564 * Return the display width available after excluding any screen
578 * Return the available screen width that we should report for the
761 * @param displayWidth The current full width of the screen.
828 * @param displayWidth The current full width of the screen.
/frameworks/base/core/java/android/webkit/
H A DZoomManager.java81 * width of the page. Therefore, when a new page is loaded in overview mode
83 * set and used to notify the ZoomManager to take the width of the next
84 * picture from webkit and use that width to enter into zoom overview mode.
89 * When in the zoom overview mode, the page's width is fully fit to the
135 // The scale factor that is used to determine the column width for text
678 private void setZoomOverviewWidth(int width) { argument
679 if (width == 0) {
682 mZoomOverviewWidth = width;
684 mInvZoomOverviewWidth = 1.0f / width;
926 // can be wider than the old content width
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp86 return canvas->getDevice()->accessBitmap(false).width();
535 jfloat x, jfloat y, int width, int height,
541 SkBitmap::kRGB_565_Config, width, height);
547 0, 0, width, height, bitmap)) {
606 const SkScalar w = SkIntToScalar(bitmap->width());
533 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 DPaint.cpp186 static void setStrokeWidth(JNIEnv* env, jobject paint, jfloat width) { argument
188 GraphicsJNI::getNativePaint(env, paint)->setStrokeWidth(SkFloatToScalar(width));
384 jfloat width = 0; local
387 paint->getFlags(), NULL /* dont need all advances */, &width);
390 return width;
404 jfloat width = 0; local
407 paint->getFlags(), NULL /* dont need all advances */, &width);
410 return width;
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp667 const int w = bitmap.width();
715 const int w = bitmap.width();
880 jint width, jint height) {
881 return etc1_get_encoded_data_size(width, height);
891 jobject in, jint width, jint height,
901 jint encodedImageSize = etc1_get_encoded_data_size(width, height);
908 width, height, pixelSize,
924 jint width, jint height,
934 jint encodedImageSize = etc1_get_encoded_data_size(width, height);
942 width, heigh
879 etc1_getEncodedDataSize(JNIEnv *env, jclass clazz, jint width, jint height) argument
890 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
922 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
951 etc1_formatHeader(JNIEnv *env, jclass clazz, jobject header, jint width, jint height) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp840 jint format, jint width, jint height)
839 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jint handle, jobject surface, jint format, jint width, jint height) argument
H A Dandroid_opengl_GLES10.cpp313 /* void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) */
316 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jobject data_buf) {
326 (GLsizei)width,
337 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */
340 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) {
351 (GLsizei)width,
362 /* void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) */
365 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) {
372 (GLsizei)width,
378 /* void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsize
315 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
339 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
364 android_glCopyTexImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) argument
380 android_glCopyTexSubImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint x, jint y, jint width, jint height) argument
2212 android_glLineWidth__F(JNIEnv *_env, jobject _this, jfloat width) argument
2221 android_glLineWidthx__I(JNIEnv *_env, jobject _this, jint width) argument
2871 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
2961 android_glScissor__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument
3272 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
3321 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
3393 android_glViewport__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp157 /* void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) */
160 (JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) {
165 (GLshort)width,
170 /* void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) */
173 (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
178 (GLint)width,
183 /* void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) */
186 (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
191 (GLfixed)width,
373 /* void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloa
159 android_glDrawTexsOES__SSSSS(JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) argument
172 android_glDrawTexiOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
185 android_glDrawTexxOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument
375 android_glDrawTexfOES__FFFFF(JNIEnv *_env, jobject _this, jfloat x, jfloat y, jfloat z, jfloat width, jfloat height) argument
1139 android_glLineWidthxOES__I(JNIEnv *_env, jobject _this, jint width) argument
1749 android_glRenderbufferStorageOES__IIII(JNIEnv *_env, jobject _this, jint target, jint internalformat, jint width, jint height) argument
[all...]
H A Dandroid_view_GLES20Canvas.cpp132 OpenGLRenderer* renderer, jint width, jint height) {
133 renderer->setViewport(width, height);
359 jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) {
362 width, height);
369 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap)) {
749 jint width, jint height, jboolean isOpaque, jintArray layerInfo) {
750 Layer* layer = LayerRenderer::createLayer(width, height, isOpaque);
763 Layer* layer, jint width, jint height, jintArray layerInfo) {
764 LayerRenderer::resizeLayer(layer, width, height);
773 Layer* layer, jint width, jin
131 android_view_GLES20Canvas_setViewport(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint width, jint height) argument
357 android_view_GLES20Canvas_drawBitmapData(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jintArray colors, jint offset, jint stride, jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) argument
748 android_view_GLES20Canvas_createLayer(JNIEnv* env, jobject clazz, jint width, jint height, jboolean isOpaque, jintArray layerInfo) argument
762 android_view_GLES20Canvas_resizeLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jintArray layerInfo) argument
772 android_view_GLES20Canvas_updateTextureLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java202 * @param width The width of the viewport
207 public void setViewport(int width, int height) { argument
219 * Returns the width of the current drawing layer
221 * @return the width of the current drawing layer
272 * Returns the maximum allowed width for bitmaps drawn with this canvas.
839 * width (as transformed by the canvas' CTM), with special treatment for
840 * a stroke width of 0, which always draws exactly 1 pixel (or at most 4
1050 * extends beyond the bitmap's original width/height (e.g. BlurMaskFilter),
1052 * Thus the color outside of the original width/heigh
1151 drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) argument
1180 drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) argument
1713 native_drawBitmap(int nativeCanvas, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, int nativePaintOrZero) argument
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp1364 void DisplayListRenderer::setViewport(int width, int height) { argument
1365 mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1);
1367 mWidth = width;
1506 const bool reject = quickReject(left, top, left + bitmap->width(), top + bitmap->height());
1516 Rect r(0.0f, 0.0f, bitmap->width(), bitmap->height());
1544 const bool reject = quickReject(left, top, left + bitmap->width(), bitmap->height());
1571 const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height,
1576 addInts(xDivs, width);
1643 uint32_t width, height; local
1644 computePathBounds(path, paint, left, top, offset, width, heigh
1570 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
[all...]
H A DFontRenderer.cpp104 int width = (int) glyph->mBitmapWidth; local
113 if (bounds->right < nPenX + width) {
114 bounds->right = nPenX + width;
131 int width = (int) glyph->mBitmapWidth; local
135 nPenX + width, nPenY, u2, v2,
136 nPenX + width, nPenY - height, u2, v1,
491 INIT_LOGD(" Setting text cache width to %s pixels", property);
496 INIT_LOGD(" Using default text cache width of %i pixels", mSmallCacheWidth);
502 INIT_LOGD(" Setting text cache width to %s pixels", property);
589 int width local
690 createCacheTexture(int width, int height, bool allocate) argument
814 uint32_t width = cl->mMaxWidth; local
1146 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
1190 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
1236 blurImage(uint8_t *image, int32_t width, int32_t height, int32_t radius) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java1130 * Returns the width of the video.
1132 * @return the width of the video, or 0 if there is no video,
1133 * no display surface was set, or the width has not been determined
1136 * to provide a notification when the width is available.
2191 * The video size (width and height) could be 0 if there was no video,
2195 * @param width the width of the video
2198 public void onVideoSizeChanged(MediaPlayer mp, int width, int height); argument
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorClasses.h158 jfieldID width; member in struct:__anon1104
228 jfieldID width; member in struct:__anon1107
/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java166 // C function void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height )
172 short width,
176 // C function void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height )
182 int width,
186 // C function void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height )
192 int width,
235 // C function void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height )
241 float width,
503 // C function void glLineWidthxOES ( GLfixed width )
506 int width
168 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
178 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
188 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
237 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
751 glRenderbufferStorageOES( int target, int internalformat, int width, int height ) argument
[all...]

Completed in 367 milliseconds

<<111213141516