Searched defs:width (Results 476 - 500 of 602) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java742 int width, int height, int flags, int session) {
755 advertiseDisplay(display, surface, width, height, flags);
946 final Surface surface, final int width, final int height, final int flags) {
949 || mAdvertisedDisplayWidth != width
957 mAdvertisedDisplayWidth = width;
979 mListener.onDisplayConnected(display, surface, width, height, flags);
1109 Surface surface, int width, int height, int flags);
945 advertiseDisplay(final WifiDisplay display, final Surface surface, final int width, final int height, final int flags) argument
1108 onDisplayConnected(WifiDisplay display, Surface surface, int width, int height, int flags) argument
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java216 int width = -1; field in class:WallpaperManagerService.WallpaperData
297 mEngine.setDesiredSize(mWallpaper.width, mWallpaper.height);
693 public void setDimensionHints(int width, int height) throws RemoteException { argument
701 if (width <= 0 || height <= 0) {
702 throw new IllegalArgumentException("width and height must be > 0");
706 width = Math.max(width, displaySize.x);
709 if (width != wallpaper.width || height != wallpaper.height) {
710 wallpaper.width
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnection.java224 public void onPeerDimensionsChanged(VideoProvider videoProvider, int width, int height) {} argument
261 public void changePeerDimensions(int width, int height) {
263 l.onPeerDimensionsChanged(VideoProvider.this, width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java244 int width,
247 shader.process(texture, target, width, height);
277 public void process(TextureSource texture, RenderTarget target, int width, int height) { argument
278 processMulti(new TextureSource[] { texture }, target, width, height);
281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) { argument
285 focusTarget(target, width, height);
297 public void processNoInput(RenderTarget target, int width, int height) { argument
298 processMulti(new TextureSource[] {}, target, width, height);
411 public void setSourceRect(float x, float y, float width, float height) { argument
412 setSourceCoords(new float[] { x, y, x + width,
242 renderTextureToTarget(TextureSource texture, RenderTarget target, int width, int height) argument
453 setTargetRect(float x, float y, float width, float height) argument
604 focusTarget(RenderTarget target, int width, int height) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java621 * if <var>measuredView</var> is non null, the method returns a {@link Pair} of (width, height)
625 * @param measuredView if non null, the view to query for its measured width/height.
626 * @param width the width to use in the MeasureSpec.
627 * @param widthMode the MeasureSpec mode to use for the width.
630 * @return the measured width/height if measuredView is non-null, null otherwise.
634 int width, int widthMode, int height, int heightMode) {
635 int w_spec = MeasureSpec.makeMeasureSpec(width, widthMode);
633 measureView(ViewGroup viewToMeasure, View measuredView, int width, int widthMode, int height, int heightMode) argument
/frameworks/native/libs/gui/
H A DGLConsumer.cpp57 size_t width, height; member in struct:android::__anon1316
315 kDebugData.width, kDebugData.height, PIXEL_FORMAT_RGBA_8888,
323 for (size_t x=0 ; x<kDebugData.width ; x++) {
324 bits[x] = (kDebugData.bits[y*kDebugData.width+x] == 'X') ? 0xFF000000 : 0xFFFFFFFF;
819 if (cropRect.width() < bufferWidth) {
821 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) /
875 int32_t newWidth = mCurrentCrop.width();
887 if (newWidth < mCurrentCrop.width()) {
888 int32_t dw = (newWidth - mCurrentCrop.width())/2;
H A DSurfaceComposerClient.cpp169 void setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height);
430 void Composer::setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) { argument
433 s.width = width;
634 uint32_t width, uint32_t height) {
635 Composer::getInstance().setDisplaySize(token, width, height);
779 return mBuffer.width;
633 setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t 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.cpp71 width × height texels are read from memory, starting at location data. By default,
72 these texels are taken from adjacent memory locations, except that after all width
195 GLsizei width = arg_width.intvalue(0); local
208 arg_data->add_rawbytes(data, bytesPerTexel * width * height);
220 GLsizei width,
238 GLsizei width,
254 GLsizei width,
282 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)
125 eglQuerySurface(*dpy, *surface, EGL_WIDTH, width);
131 testPrintI("Window dimensions: %d x %d", *width, *height);
177 out << '[' << this->width() << ", "
262 // Parse dimension of form [width, height]
295 // Validate width and height greater than 0
296 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.cpp710 uint32_t width, uint32_t height,
718 width, height,
727 uint32_t width, uint32_t height, uint32_t depth,
734 width, height, depth,
706 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
723 rsi_AllocationCopy3DRange(Context *rsc, RsAllocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstZoff, uint32_t dstMip, uint32_t width, uint32_t height, uint32_t depth, RsAllocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcMip) argument
H A DrsFont.cpp104 int32_t width = (int32_t) glyph->mBitmapWidth; local
108 nPenX + width, nPenY, 0, u2, v2,
109 nPenX + width, nPenY - height, 0, u2, v1,
143 int32_t width = (int32_t) glyph->mBitmapWidth; local
153 if (bounds->right < nPenX + width) {
154 bounds->right = nPenX + width;
266 uint32_t endX = startX + bitmap->width;
271 glyph->mBitmapWidth = bitmap->width;
419 ALOGE("Font size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (in
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java139 * and stroke width of the ring.
319 // matches the stroke width.
446 * @param width Width of the hypotenuse of the arrow head
449 public void setArrowDimensions(float width, float height) { argument
450 mArrowWidth = (int) width;
474 c.drawCircle(bounds.exactCenterX(), bounds.exactCenterY(), bounds.width() / 2,
559 * @param strokeWidth Set the stroke width of the progress spinner in pixels.
613 public void setInsets(int width, int height) { argument
614 final float minEdge = (float) Math.min(width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java1334 public LayoutParams(int width, int height) { argument
1335 super(width, height);
1339 public LayoutParams(int width, int height, int gravity) { argument
1340 super(width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java466 // Check against our minimum height and width
491 final int width = child.getMeasuredWidth();
502 child.layout(childLeft, childTop, childLeft + width, childTop + height);
804 public LayoutParams(int width, int height) { argument
805 super(width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java269 * Get the width of the current divider drawable.
611 // See how tall everyone is. Also remember max width.
693 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
694 // The width of the linear layout will scale, and at least one
695 // child said it wanted to match our width. Set a flag
697 // we know our width.
708 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
793 lp.leftMargin + lp.rightMargin, lp.width);
826 lp.width == LayoutParams.MATCH_PARENT;
831 allFillParent = allFillParent && lp.width
1640 setChildFrame(View child, int left, int top, int width, int height) argument
1790 LayoutParams(int width, int height) argument
1805 LayoutParams(int width, int height, float weight) argument
[all...]
/frameworks/av/camera/
H A DCameraParameters.cpp40 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
331 int width, height; local
332 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
338 sizes.push(Size(width, height));
347 void CameraParameters::setPreviewSize(int width, int height) argument
350 sprintf(str, "%dx%d", width, height);
354 void CameraParameters::getPreviewSize(int *width, int *height) const argument
356 *width = *height = -1;
360 parse_pair(p, width, height, 'x');
363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument
377 setVideoSize(int width, int height) argument
384 getVideoSize(int *width, int *height) const argument
426 setPictureSize(int width, int height) argument
433 getPictureSize(int *width, int *height) const argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp192 status_t StagefrightRecorder::setVideoSize(int width, int height) { argument
193 ALOGV("setVideoSize: %dx%d", width, height);
194 if (width <= 0 || height <= 0) {
195 ALOGE("Invalid video size: %dx%d", width, height);
200 mVideoWidth = width;
1151 "enc.vid.width.min", mVideoEncoder);
1153 "enc.vid.width.max", mVideoEncoder);
1155 ALOGW("Intended video encoding frame width (%d) is too small"
1159 ALOGW("Intended video encoding frame width (%d) is too large"
1217 "vid.width", mCameraI
1479 int32_t width, height, stride, sliceHeight, colorFormat; local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp1305 int32_t width, height; local
1306 CHECK(outputFormat->findInt32("width", &width));
1319 width, height,
1324 CHECK(inputFormat->findInt32("width", &displayWidth));
1332 if (inputFormat->findInt32("sar-width", &sarWidth)
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp1152 int32_t width, height; local
1153 CHECK(meta->findInt32(kKeyWidth, &width));
1157 cropRight = width - 1;
1160 ALOGV("got dimensions only %d x %d", width, height);
1168 ALOGV("Display width changed (%d=>%d)", mDisplayWidth, displayWidth);
/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...]

Completed in 697 milliseconds

<<11121314151617181920>>