Searched defs:width (Results 301 - 325 of 400) sorted by relevance

<<111213141516

/frameworks/base/core/java/android/view/animation/
H A DAnimation.java65 * height or width of the object being animated.
71 * height or width of the parent of the object being animated.
340 * @param width Width of the object being animated
345 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java305 map.put("width", new Integer(mp.getVideoWidth()));
595 Integer width = (Integer) map.get("width");
597 nativeOnPrepared(duration.intValue(), width.intValue(),
746 private native void nativeOnPrepared(int duration, int width, int height, int nativePointer); argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java164 // For dropdown width, the developer can specify a specific width, or MATCH_PARENT
165 // (for full screen width) or WRAP_CONTENT (to match the width of the anchored view).
257 * <p>Returns the current width for the auto-complete drop down list. This can
258 * be a fixed width, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill the screen, or
259 * {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the width of its anchor view.</p>
261 * @return the width for the drop down list
270 * <p>Sets the current width for the auto-complete drop down list. This can
271 * be a fixed width, o
278 setDropDownWidth(int width) argument
[all...]
H A DLinearLayout.java298 * Get the width of the current divider drawable.
637 // See how tall everyone is. Also remember max width.
718 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
719 // The width of the linear layout will scale, and at least one
720 // child said it wanted to match our width. Set a flag
722 // we know our width.
732 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
816 lp.leftMargin + lp.rightMargin, lp.width);
848 lp.width == LayoutParams.MATCH_PARENT;
853 allFillParent = allFillParent && lp.width
1648 setChildFrame(View child, int left, int top, int width, int height) argument
1822 LayoutParams(int width, int height) argument
1837 LayoutParams(int width, int height, float weight) argument
[all...]
H A DListPopupWindow.java115 * If used to specify a popup width, the popup will match the width of the anchor view.
122 * If used to specify a popup width, the popup will use the width of its content.
425 * @return The width of the popup window in pixels.
432 * Sets the width of the popup window in pixels. Can also be {@link #MATCH_PARENT}
435 * @param width Width of the popup window.
437 public void setWidth(int width) { argument
438 mDropDownWidth = width;
442 * Sets the width o
447 setContentWidth(int width) argument
[all...]
H A DPopupWindow.java261 * @param width the popup's width
264 public PopupWindow(int width, int height) { argument
265 this(null, width, height);
277 * @param width the popup's width
280 public PopupWindow(View contentView, int width, int height) { argument
281 this(contentView, width, height, false);
292 * @param width the popup's width
296 PopupWindow(View contentView, int width, int height, boolean focusable) argument
781 setWidth(int width) argument
1321 update(int width, int height) argument
1338 update(int x, int y, int width, int height) argument
1355 update(int x, int y, int width, int height, boolean force) argument
1422 update(View anchor, int width, int height) argument
1441 update(View anchor, int xoff, int yoff, int width, int height) argument
1445 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp513 status_t update(int width, int height, int minLayer, int maxLayer, bool allLayers) { argument
514 status_t res = (width > 0 && height > 0)
516 ? mScreenshot.update(width, height)
517 : mScreenshot.update(width, height, minLayer, maxLayer))
559 static jobject doScreenshot(JNIEnv* env, jobject clazz, jint width, jint height, argument
563 if (pixels->update(width, height, minLayer, maxLayer, allLayers) != NO_ERROR) {
592 static jobject Surface_screenshotAll(JNIEnv* env, jobject clazz, jint width, jint height) argument
594 return doScreenshot(env, clazz, width, height, 0, 0, true);
597 static jobject Surface_screenshot(JNIEnv* env, jobject clazz, jint width, jint height, argument
600 return doScreenshot(env, clazz, width, heigh
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java259 * Common code for checking that width and height are > 0
261 * @param width width to ensure is > 0
264 private static void checkWidthHeight(int width, int height) { argument
265 if (width <= 0) {
266 throw new IllegalArgumentException("width must be > 0");
438 * specified width and height are the same as the current width and height of
443 * @param dstWidth The new bitmap's desired width.
461 final int width
500 createBitmap(Bitmap source, int x, int y, int width, int height) argument
527 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
619 createBitmap(int width, int height, Config config) argument
636 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
671 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
706 createBitmap(int colors[], int width, int height, Config config) argument
963 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1002 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1072 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1217 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1236 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1242 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java218 * <p>Set the stroke width and color for the drawable. If width is zero,
224 * @param width The width in pixels of the stroke
230 public void setStroke(int width, int color) { argument
231 setStroke(width, color, 0, 0);
235 * <p>Set the stroke width and color for the drawable. If width is zero,
241 * @param width The width i
249 setStroke(int width, int color, float dashWidth, float dashGap) argument
280 setSize(int width, int height) argument
1164 setStroke(int width, int color) argument
1169 setStroke(int width, int color, float dashWidth, float dashGap) argument
1191 setSize(int width, int height) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java438 * Sets the width and height of the video to be captured. Must be called
442 * @param width the width of the video to be captured
447 public native void setVideoSize(int width, int height) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp230 void ShaderProgram::SetSourceRect(float x, float y, float width, float height) { argument
232 Point(x + width, y),
234 Point(x + width, y + height));
246 void ShaderProgram::SetTargetRect(float x, float y, float width, float height) { argument
248 Point(x + width, y),
250 Point(x + width, y + height));
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java149 int width,
162 int width,
323 int width,
145 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
156 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
320 glRenderbufferStorageOES( int target, int internalformat, int width, int height ) argument
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp492 int width = c->textures.tmu[i].texture->surface.width; local
493 itt[0] = v->texture[i].S * width;
561 c->rasterizer.procs.linex(c, v0->window.v, v1->window.v, c->line.width);
704 const int w = c->textures.tmu[i].texture->surface.width;
742 const int width = tmu.surface.width; local
743 s0 *= width;
744 s1 *= width;
745 s2 *= width;
799 const int width = tmu.surface.width; local
[all...]
H A Dtexture.cpp141 0, 0, native_buffer->width, native_buffer->height,
278 (dst.width == src.width) &&
363 GLenum format, GLenum type, GLsizei width, GLsizei height,
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
387 width, height, stride, formatIdx, compressedFormat, bpr);
398 width, height, stride, formatIdx, compressedFormat, bpr);
408 static size_t dataSizePalette4(int numLevels, int width, int height, int format) argument
442 int w = (width >> i) ? : 1;
451 static void decodePalette4(const GLvoid *data, int level, int width, in argument
361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
1056 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp503 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height) { argument
504 return (((width + 3) & ~3) * ((height + 3) & ~3)) >> 1;
512 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, argument
523 etc1_uint32 encodedWidth = (width + 3) & ~3;
533 etc1_uint32 xEnd = width - x;
569 etc1_uint32 width, etc1_uint32 height,
576 etc1_uint32 encodedWidth = (width + 3) & ~3;
585 etc1_uint32 xEnd = width - x;
633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { argument
635 etc1_uint32 encodedWidth = (width
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
653 etc1_uint32 width = readBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET); local
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp43 width × height texels are read from memory, starting at location data. By default,
44 these texels are taken from adjacent memory locations, except that after all width
166 GLsizei width = arg_width.intvalue(0); local
179 arg_data->add_rawbytes(data, bytesPerTexel * width * height);
191 GLsizei width,
209 GLsizei width,
/frameworks/native/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/native/opengl/tests/hwc/
H A DhwcTestLib.cpp50 EGLint *width, EGLint *height)
121 eglQuerySurface(*dpy, *surface, EGL_WIDTH, width);
127 testPrintI("Window dimensions: %d x %d", *width, *height);
173 out << '[' << this->width() << ", "
258 // Parse dimension of form [width, height]
291 // Validate width and height greater than 0
292 if ((dim.width() <= 0) || (dim.height() <= 0)) { return dim; }
697 const uint32_t width = gBuf->getWidth(); local
709 if (x < width) {
711 * ((float) x / (float) (width
49 hwcTestInitDisplay(bool verbose, EGLDisplay *dpy, EGLSurface *surface, EGLint *width, EGLint *height) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp676 uint32_t width, uint32_t height,
684 width, height,
672 rsi_AllocationCopy2DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
H A DrsFont.cpp102 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/av/camera/
H A DCameraParameters.cpp39 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
323 int width, height; local
324 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
330 sizes.push(Size(width, height));
339 void CameraParameters::setPreviewSize(int width, int height) argument
342 sprintf(str, "%dx%d", width, height);
346 void CameraParameters::getPreviewSize(int *width, int *height) const argument
348 *width = *height = -1;
352 parse_pair(p, width, height, 'x');
355 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument
369 setVideoSize(int width, int height) argument
376 getVideoSize(int *width, int *height) const argument
418 setPictureSize(int width, int height) argument
425 getPictureSize(int *width, int *height) const argument
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp687 int32_t *width, int32_t *height) const {
694 *width = mVideoWidth;
1325 /* get the video width and height by resolution */
1457 status_t PreviewPlayer::setImageClipProperties(uint32_t width,uint32_t height) { argument
1458 mVideoWidth = width;
1700 ALOGV("Display width changed (%d=>%d)", mDisplayWidth, displayWidth);
686 getVideoDimensions( int32_t *width, int32_t *height) const argument
/frameworks/av/libvideoeditor/vss/src/
H A DM4xVSS_internal.c250 * M4OSA_UInt32 width,
259 *@param width (IN) width of the ARGB8888
270 M4OSA_UInt32 width,M4OSA_UInt32 height)
274 M4OSA_UInt32 frameSize_argb=(width * height * 4);
275 M4OSA_UInt32 frameSize = (width * height * 3); //Size of RGB888 data.
289 M4OSA_TRACE1_2("M4xVSS_internalConvertAndResizeARGB8888toYUV420 :width and height %d %d",
290 width ,height);
334 rgbPlane1.u_width = width;
335 rgbPlane1.u_stride = width*
267 M4xVSS_internalConvertAndResizeARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane* pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument
429 M4xVSS_internalConvertARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane** pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument
1877 M4OSA_UInt32 width, height, width_out, height_out; local
4447 M4OSA_UInt32 height, width, sourceStride, destStride, y; local
4480 M4OSA_UInt32 topPartHeight, bottomPartHeight, width, sourceStride, destStride, y; local
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp397 &parsingCtxt, 13);/* sprite width */
608 int32_t width = PlaneOut[0].u_width; local
611 int32_t outYsize = width * height;
624 for (int32_t j = width >> 2; j > 0; --j) {
792 int32_t width = 0; local
822 ALOGV("got dimensions only %d x %d", width, height);
833 width = cropRight - cropLeft + 1;
836 ALOGV("VideoDecoder_configureFromMetadata : W=%d H=%d", width, height);
837 VIDEOEDITOR_CHECK((0 != width) && (0 != height), M4ERR_PARAMETER);
841 (uint32_t)width)
1506 int32_t width = pDecShellContext->m_pVideoStreamhandler->m_videoWidth; local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp182 status_t StagefrightRecorder::setVideoSize(int width, int height) { argument
183 ALOGV("setVideoSize: %dx%d", width, height);
184 if (width <= 0 || height <= 0) {
185 ALOGE("Invalid video size: %dx%d", width, height);
190 mVideoWidth = width;
1069 "enc.vid.width.min", mVideoEncoder);
1071 "enc.vid.width.max", mVideoEncoder);
1073 ALOGW("Intended video encoding frame width (%d) is too small"
1077 ALOGW("Intended video encoding frame width (%d) is too large"
1119 "vid.width", mCameraI
1385 int32_t width, height, stride, sliceHeight, colorFormat; local
[all...]

Completed in 455 milliseconds

<<111213141516