Searched refs:width (Results 251 - 275 of 1047) sorted by relevance

<<11121314151617181920>>

/frameworks/native/opengl/libagl/
H A Ddxt.cpp136 DXT1HasAlpha(const GLvoid *data, int width, int height) { argument
146 int xblocks = (width + 3)/4;
187 printf("Scanned w=%d h=%d in %ld usec\n", width, height, usec);
194 decodeDXT1(const GLvoid *data, int width, int height, argument
214 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
293 int w = min(width - base_x, 4);
307 decodeDXT3(const GLvoid *data, int width, int height, argument
326 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
399 int w = min(width - base_x, 4);
416 decodeDXT5(const GLvoid *data, int width, in argument
599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument
[all...]
H A DTextureObjectManager.cpp77 int w = surface.width;
150 sur.width = native_buffer->width;
180 surface.width = w;
212 mipmap.width = w;
228 uint32_t w = (prev->width >> 1) ? : 1;
230 if (w != curr->width || h != curr->height) {
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java49 * @param width The pixel width of current display
53 int width, int height) {
63 rotation, width, height);
72 * @param width The pixel width of current display
76 int width, int height) {
89 dumpNodeRec(root, serializer, 0, width, height);
102 int width, int height) throws IOException {
123 node, width, heigh
52 dumpWindowToFile(AccessibilityNodeInfo root, int rotation, int width, int height) argument
75 dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, int width, int height) argument
101 dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, int width, int height) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.h117 width(dropShadow.width), height(dropShadow.height),
122 uint32_t width; member in struct:android::uirenderer::FontRenderer::DropShadow
148 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate);
216 int32_t width, int32_t height);
218 int32_t width, int32_t height);
221 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
H A DLayer.cpp53 texture.width = layerWidth;
117 bool Layer::resize(const uint32_t width, const uint32_t height) { argument
118 uint32_t desiredWidth = computeIdealWidth(width);
244 const float width = layer.getWidth(); local
248 dirtyRect.right >= width && dirtyRect.bottom >= height)) {
249 dirtyRect.set(0, 0, width, height);
258 renderer->setViewport(width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPseudoGridView.java69 throw new UnsupportedOperationException("Needs a maximum width");
71 int width = MeasureSpec.getSize(widthMeasureSpec);
73 int childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns;
101 setMeasuredDimension(width, getDefaultSize(totalHeight, heightMeasureSpec));
117 int width = child.getMeasuredWidth();
120 x -= width;
122 child.layout(x, y, x + width, y + height);
127 x += width + mHorizontalSpacing;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java43 * minSideLength is used to specify that minimal width or height of a
59 public static int computeSampleSize(int width, int height, argument
62 width, height, minSideLength, maxNumOfPixels);
118 int width = Math.round(bitmap.getWidth() * scale);
120 if (width == bitmap.getWidth()
122 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
159 int width = Math.round(scale * bitmap.getWidth());
162 canvas.translate((size - width) / 2f, (size - height) / 2f);
/frameworks/av/cmds/stagefright/
H A Drecord.cpp45 DummySource(int width, int height, int colorFormat)
46 : mWidth(width),
49 mSize((width * height * 3) / 2) {
203 int width, height;
204 bool success = meta->findInt32(kKeyWidth, &width);
208 int width = 720;
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
217 enc_meta->setInt32(kKeyWidth, width);
221 enc_meta->setInt32(kKeyStride, width);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dme_utils.cpp103 Input/Output: Center of the search, Half-pel memory, width
159 Input/Output: Center of the search, Half-pel memory, width
222 Int pitch, width, height; local
225 width = refVop->width;
233 temp2 = src[width-1]; /* top-right corner */
246 M4VENC_MEMCPY(dst, src, width);
248 *((ULong*)(dst += width)) = temp2;
253 dst = dst - width - 16;
269 temp2 = src[width
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java185 int width = icon.getIntrinsicWidth();
187 if (width > mMaxIconSize) {
188 final float scale = (float) mMaxIconSize / width;
189 width = mMaxIconSize;
195 width *= scale;
197 icon.setBounds(0, 0, width, height);
265 final int width = getWidth();
268 int referenceX = screenPos[0] + width / 2;
302 // Remeasure at exactly the minimum width.
311 final int dw = mIcon.getBounds().width();
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java50 /** Frame width to request from camera. Actual size may not match requested. */
51 @GenerateFieldPort(name = "width", hasDefault = true)
276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
280 int smallestWidth = previewSizes.get(0).width;
287 if ( size.width <= width &&
289 size.width >= closestWidth &&
291 closestWidth = size.width;
294 if ( size.width < smallestWidth &&
296 smallestWidth = size.width;
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java189 int width = icon.getIntrinsicWidth();
191 if (width > mMaxIconSize) {
192 final float scale = (float) mMaxIconSize / width;
193 width = mMaxIconSize;
199 width *= scale;
201 icon.setBounds(0, 0, width, height);
248 final int width = getWidth();
251 int referenceX = screenPos[0] + width / 2;
285 // Remeasure at exactly the minimum width.
294 final int dw = mIcon.getBounds().width();
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Integer.c56 * [in] refWidth width of the reference plane
128 if ((pCurrPointPos->x + BlockSize + searchRange) > (pRefRect->x + pRefRect->width))
130 toX = pRefRect->width - (pCurrPointPos->x - pRefRect->x) - BlockSize;
140 toY = pRefRect->width - (pCurrPointPos->y - pRefRect->y) - BlockSize;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java29 * An immutable class to represent a rectangle {@code (x, y, width, height)} with an additional
38 * {@code (android.sensor.info.activeArraySize.width - 1,
85 * @param width width >= 0
91 public MeteringRectangle(int x, int y, int width, int height, int meteringWeight) { argument
94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative");
106 * @param dimensions a non-{@code null} {@link android.util.Size Size} with width, height >= 0
118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative");
139 mWidth = checkArgumentNonnegative(rect.width(), "rec
[all...]
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java66 int width = mDrawable.getIntrinsicWidth();
68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java263 * Gets the current width of the surface. This is the width that the surface
266 * @return the current width of the surface
274 * @return the current width of the surface
375 * @param width The width of the drawing surface.
383 boolean initializeIfNeeded(int width, int height, Surface surface, Rect surfaceInsets) argument
389 setup(width, height, surfaceInsets);
400 * @param width The width o
404 setup(int width, int height, Rect surfaceInsets) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
/frameworks/base/core/java/android/widget/
H A DTextViewWithCircularIndicator.java96 final int width = getWidth();
98 int radius = Math.min(width, height) / 2;
99 canvas.drawCircle(width / 2, height / 2, radius, mCirclePaint);
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java224 * The width and height parameters must be no greater than the minimum of
230 public void setDefaultBufferSize(int width, int height) { argument
231 nativeSetDefaultBufferSize(width, height);
379 private native void nativeSetDefaultBufferSize(int width, int height); argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java72 int width = inputFormat.getWidth();
82 outputFormat.setDimensions(height, width);
89 outputFormat.setDimensions(height, width);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { argument
84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp131 EGLint width, height; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
134 RSD_CALL_GL(glViewport, 0, 0, width, height);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java67 int width = mInPixelsAllocation.getType().getX();
77 tb.setX(width);
83 mScript.set_width(width);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DBlur25.java63 int width = mInPixelsAllocation.getType().getX();
73 tb.setX(width);
79 mScript.set_width(width);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBlur25.java67 int width = mInPixelsAllocation.getType().getX();
77 tb.setX(width);
83 mScript.set_width(width);

Completed in 5040 milliseconds

<<11121314151617181920>>