Searched defs:width (Results 351 - 375 of 400) sorted by relevance

<<111213141516

/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java719 * void onSurfaceChanged(GL10 gl, int width, int height) {
720 * gl.glViewport(0, 0, width, height);
722 * float ratio = (float) width / height;
730 * @param width
733 void onSurfaceChanged(GL10 gl, int width, int height); argument
H A DGLErrorWrapper.java168 int internalformat, int width, int height, int border,
171 mgl.glCompressedTexImage2D(target, level, internalformat, width,
177 int yoffset, int width, int height, int format, int imageSize,
180 mgl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width,
186 int x, int y, int width, int height, int border) {
188 mgl.glCopyTexImage2D(target, level, internalformat, x, y, width,
194 int yoffset, int x, int y, int width, int height) {
196 mgl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width,
462 public void glLineWidth(float width) { argument
464 mgl.glLineWidth(width);
167 glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) argument
176 glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) argument
185 glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) argument
193 glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) argument
468 glLineWidthx(int width) argument
663 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) argument
706 glScissor(int x, int y, int width, int height) argument
779 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument
812 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
840 glViewport(int x, int y, int width, int height) argument
872 glDrawTexfOES(float x, float y, float z, float width, float height) argument
891 glDrawTexiOES(int x, int y, int z, int width, int height) argument
909 glDrawTexsOES(short x, short y, short z, short width, short height) argument
928 glDrawTexxOES(int x, int y, int z, int width, int height) argument
1594 glRenderbufferStorageOES(int target, int internalformat, int width, int height) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java147 int width, int height, int externalWidth, int externalHeight);
285 public void setDisplaySize(int displayId, int width, int height, argument
287 if (width <= 0 || height <= 0 || externalWidth <= 0 || externalHeight <= 0) {
292 Slog.d(TAG, "Setting display #" + displayId + " size to " + width + "x" + height
295 nativeSetDisplaySize(mPtr, displayId, width, height, externalWidth, externalHeight);
146 nativeSetDisplaySize(int ptr, int displayId, int width, int height, int externalWidth, int externalHeight) argument
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp167 void setDisplaySize(int32_t displayId, int32_t width, int32_t height,
319 void NativeInputManager::setDisplaySize(int32_t displayId, int32_t width, int32_t height, argument
325 if (mLocked.displayWidth != width || mLocked.displayHeight != height) {
327 mLocked.displayWidth = width;
332 controller->setDisplaySize(width, height);
1041 jint displayId, jint width, jint height, jint externalWidth, jint externalHeight) {
1048 im->setDisplaySize(displayId, width, height, externalWidth, externalHeight);
1040 nativeSetDisplaySize(JNIEnv* env, jclass clazz, jint ptr, jint displayId, jint width, jint height, jint externalWidth, jint externalHeight) argument
/frameworks/base/tools/aapt/
H A DImages.cpp52 png_uint_32 width; member in struct:image_info
81 png_get_IHDR(read_ptr, read_info, &outImageInfo->width,
130 (int)outImageInfo->width, (int)outImageInfo->height,
134 png_get_IHDR(read_ptr, read_info, &outImageInfo->width,
204 png_bytep row, int width, bool transparent, bool required,
213 for (i=1; i<width-1; i++) {
218 *outRight = width-2;
302 png_bytep row, int width, bool transparent, bool required,
312 while (i < width - 1) {
323 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + (width
203 get_horizontal_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
301 get_horizontal_layout_bounds_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError) argument
978 png_uint_32 width, height; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java548 bounds.right = rect.x + rect.width;
713 (int)oval.width(), (int)oval.height());
719 (int)oval.width(), (int)oval.height());
746 oval.left, oval.top, oval.width(), oval.height(),
780 (int)rect.width(), (int)rect.height(),
788 (int)rect.width(), (int)rect.height(),
864 src.left, src.top, src.width(), src.height(),
889 src.left, src.top, src.width(), src.height(),
897 final float y, int width, int height,
902 final BufferedImage image = new BufferedImage(width, heigh
895 native_drawBitmap(int nativeCanvas, int[] colors, int offset, int stride, final float x, final float y, int width, int height, boolean hasAlpha, int nativePaintOrZero) argument
[all...]
H A DPaint_Delegate.java391 /*package*/ static void setStrokeWidth(Paint thisPaint, float width) { argument
398 delegate.mStrokeWidth = width;
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java389 // We don't have the width yet which means the view hasn't been drawn yet
445 Log.d(TAG, "Max width is negative: " + maxWidth);
452 // Ellipsize the text so that it takes AT MOST the entire width of the
462 // Make sure there is a minimum chip width so the user can ALWAYS
464 int width = Math.max(deleteWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0,
469 Bitmap tmpBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
472 mChipBackgroundPressed.setBounds(0, 0, width, height);
481 mChipDelete.setBounds(width - deleteWidth + backgroundPadding.left,
483 width - backgroundPadding.right,
494 // Ellipsize the text so that it takes AT MOST the entire width o
708 onSizeChanged(int width, int height, int oldw, int oldh) argument
1369 showAlternates(RecipientChip currentChip, ListPopupWindow alternatesPopup, int width, Context context) argument
1916 showAddress(final RecipientChip currentChip, final ListPopupWindow popup, int width, Context context) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp24 * -s [width, height] - Starting dimension
236 static EGLint width, height; variable
511 == searchLimits.sourceCrop.width()) ? ">= " : "",
523 testPrintI(" scMaxDim: %s%s", ((measPtr->sc.maxDim.width()
524 >= searchLimits.sourceCrop.width())
525 || (measPtr->sc.maxDim.width() >=
536 >= Rational(searchLimits.sourceCrop.width(),
537 measPtr->df.minDim.width())) ? ">= " : "",
647 (x + startDim.width()) < (unsigned int) width;
[all...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp72 uint32_t width, uint32_t height,
79 width, height,
69 SC_AllocationCopy2DRange(Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java473 final int width = getWidth();
474 destX = (int) (width * Math.max(mFirstOffset,
571 final int width = getWidth();
572 recomputeScrollPosition(width, width, marginPixels, oldMargin);
668 final int width = getWidth();
669 final int halfWidth = width / 2;
670 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width);
679 final float pageWidth = width * mAdapter.getPageWidth(mCurItem);
824 // Fill 3x the available width o
1265 recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) argument
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp277 /* the filter is implemented with the assumption that the width is equal to stride */
308 /* the filter is implemented with the assumption that the width is equal to stride */
1079 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: YUV Plane width is ODD
1110 /* Check planes width are appropriate */
1390 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: Error in plane width
1438 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: Error in width
1464 If input width is equal to output width and input height equal to
1473 /* Check for the YUV width and height are even */
1506 accessing one column beyond the input width
2855 LvGetImageThumbNail(const char *fileName, M4OSA_UInt32 height, M4OSA_UInt32 width, M4OSA_Void **pBuffer) argument
2962 prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer, M4OSA_UInt32 reportedWidth, M4OSA_UInt32 reportedHeight) argument
2988 prepareYV12ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer) argument
3831 applyVideoRotation(M4OSA_Void* pBuffer, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp2425 int32_t width, height; local
2426 success = mMeta->findInt32(kKeyWidth, &width);
2430 mOwner->writeInt16(width);
2600 int32_t width, height; local
2601 bool success = mMeta->findInt32(kKeyWidth, &width);
2605 mOwner->writeInt32(width << 16); // 32-bit fixed-point value
H A DOMXCodec.cpp550 int32_t width, height; local
551 bool success = meta->findInt32(kKeyWidth, &width);
555 mMIME, width, height);
698 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) {
702 return width * height * 2;
716 return (width * height * 3) / 2;
780 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
781 bool success = meta->findInt32(kKeyWidth, &width);
826 video_def->nFrameWidth = width;
851 video_def->nFrameWidth = width;
697 getFrameSize( OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) argument
1173 setVideoOutputFormat( const char *mime, OMX_U32 width, OMX_U32 height) argument
3504 setImageOutputFormat( OMX_COLOR_FORMATTYPE format, OMX_U32 width, OMX_U32 height) argument
3576 setJPEGInputFormat( OMX_U32 width, OMX_U32 height, OMX_U32 compressedSize) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h50 Int width; /* Width (multiple of 16) */ member in struct:tagVOP
52 Int pitch; /* Pitch (differs from width for UMV case) */
89 Int width; /* Width */ member in struct:tagVol
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java152 static native int nCreateLayer(int width, int height, boolean isOpaque, int[] layerInfo); argument
153 static native void nResizeLayer(int layerId, int width, int height, int[] layerInfo); argument
154 static native void nUpdateTextureLayer(int layerId, int width, int height, boolean opaque, argument
208 public void setViewport(int width, int height) { argument
209 mWidth = width;
212 nSetViewport(mRenderer, width, height);
215 private static native void nSetViewport(int renderer, int width, int height); argument
836 int width, int height, boolean hasAlpha, Paint paint) {
837 if (width < 0) {
838 throw new IllegalArgumentException("width mus
835 drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) argument
868 nDrawBitmap(int renderer, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, int nativePaint) argument
872 drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java311 * one of GridLayout's children is dependent on its width - and its width is, in turn,
318 * deriving its height for a given width, but not the other way around.
322 * the height of the intended layout greatly exceeds its width.
830 int width = getWidth();
831 graphics.drawLine(width - dx - x1, dy + y1, width - dx - x2, dy + y2, paint);
862 int width = getWidth() - getPaddingLeft() - getPaddingRight();
880 drawLine(canvas, 0, y, width - 1, y, paint);
961 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, l
1873 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java716 * Return the width for stroking.
721 * @return the paint's stroke width, used whenever the paint's style is
727 * Set the width for stroking.
731 * @param width set the paint's stroke width, used whenever the paint's
734 public native void setStrokeWidth(float width); argument
803 * drawn with a hairline (width == 0)
1265 * Return the width of the text.
1270 * @return The width of the text
1297 * Return the width o
[all...]
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp225 nContextSetSurface(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject wnd) argument
227 LOG_API("nContextSetSurface, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)wnd);
236 rsContextSetSurface(con, width, height, window);
240 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur) argument
242 LOG_API("nContextSetSurfaceTexture, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)sur);
253 rsContextSetSurface(con, width, height, window.get());
563 int w = bitmap.width();
694 jint width, jin
691 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, RsContext con, jint dstAlloc, jint dstXoff, jint dstYoff, jint dstMip, jint dstFace, jint width, jint height, jint srcAlloc, jint srcXoff, jint srcYoff, jint srcMip, jint srcFace) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp176 M4OSA_UInt32 width,
184 M4OSA_UInt32 width,
341 fid = pEnv->GetFieldID(clazz,"width","I");
343 M4OSA_TRACE1_1("width = %d",pSettings->ClipProperties.uiVideoWidth);
604 int width = 320; local
648 frameStr.uiSurfaceWidth = width;
650 frameStr.uiFrameWidth = width;
821 "video width = %d",pContext->pEditSettings->pClipList[iCurrentClipIndex]->\
829 M4OSA_UInt32 width = pContext->pEditSettings->pClipList[iCurrentClipIndex]->\ local
834 framesizeYuv = width * heigh
1584 int width = 0; local
2224 videoEditor_getPixels( JNIEnv* env, jobject thiz, jstring path, jintArray pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 timeMS) argument
2279 videoEditor_getPixelsList( JNIEnv* env, jobject thiz, jstring path, jintArray pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 noOfThumbnails, jlong startTime, jlong endTime, jintArray indexArray, jobject callback) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java228 // 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/native/opengl/libagl/
H A Dcontext.h163 GGLcoord width; member in struct:android::gl::line_width_t
H A Degl.cpp54 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...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java774 int width = getWidth();
775 graphics.drawLine(width - dx - x1, dy + y1, width - dx - x2, dy + y2, paint);
791 int width = getWidth() - getPaddingLeft() - getPaddingRight();
809 drawLine(canvas, 0, y, width - 1, y, paint);
905 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height);
918 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
929 /** If we have been called by {@link View#measure(int, int)}, one of width or height
935 int width, height;
939 width
1806 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h56 /* a:block address, b:block width, c:block height, d:total_width, e:x or y coordinate */
488 stride will be 2 times the width. */
502 int width; /* how many pixel per line */ member in struct:tagPictureData

Completed in 743 milliseconds

<<111213141516