Searched refs:width (Results 176 - 200 of 1506) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc_copy.java59 int width = random.nextInt(512);
60 int arr_len = width;
67 typeBuilder.setX(width);
98 int width = random.nextInt(512);
99 int arr_len = width;
109 typeBuilder.setX(width);
140 int width = random.nextInt(512);
141 int arr_len = width;
151 typeBuilder.setX(width);
182 int width
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_alloc_copy.java59 int width = random.nextInt(512);
60 int arr_len = width;
67 typeBuilder.setX(width);
98 int width = random.nextInt(512);
99 int arr_len = width;
109 typeBuilder.setX(width);
140 int width = random.nextInt(512);
141 int arr_len = width;
151 typeBuilder.setX(width);
182 int width
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatRatingBar.java57 final int width = sampleTile.getWidth() * getNumStars();
58 setMeasuredDimension(View.resolveSizeAndState(width, widthMeasureSpec, 0),
/frameworks/base/libs/hwui/
H A DTexture.cpp95 bool Texture::updateLayout(uint32_t width, uint32_t height, GLint internalFormat, argument
97 if (mWidth == width
104 mWidth = width;
120 void Texture::upload(GLint internalFormat, uint32_t width, uint32_t height, argument
123 bool needsAlloc = updateLayout(width, height, internalFormat, format, GL_TEXTURE_2D);
152 GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, const GLvoid * data) {
154 const bool useStride = stride != width
156 if ((stride == width) || useStride) {
162 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, width, height, 0, format, type, data);
164 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, heigh
151 uploadToTexture(bool resize, GLint internalFormat, GLenum format, GLenum type, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, const GLvoid * data) argument
383 wrap(GLuint id, uint32_t width, uint32_t height, GLint internalFormat, GLint format, GLenum target) argument
[all...]
H A DLayerBuilder.h75 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect) argument
76 : LayerBuilder(width, height, repaintRect, nullptr, nullptr) {};
80 LayerBuilder(uint32_t width, uint32_t height,
107 const uint32_t width; member in class:android::uirenderer::LayerBuilder
H A DRenderBufferCache.h46 * @param width The desired width of the buffer
49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
81 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
H A DRenderBufferCache.cpp97 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument
100 RenderBufferEntry entry(format, width, height);
111 RenderBuffer::formatName(format), width, height);
113 buffer = new RenderBuffer(format, width, height);
116 RenderBuffer::formatName(format), width, height);
/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java66 int width = getMeasuredWidth();
69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
76 if (widthWeightMin > 0.0f && width < weightedMin) {
79 } else if (widthWeightMax > 0.0f && width > weightedMax) {
/frameworks/base/libs/hwui/renderthread/
H A DFrame.cpp35 // layout: {x, y, width, height}
38 out[2] = idirty.width();
/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.h41 void initialize(int width, int height);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java50 float width,
67 int width,
84 short width,
101 int width,
46 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
63 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
80 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
97 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DReverseLinearLayout.java29 * Also reverse the width and height values of layout params
107 int width = params.width;
108 params.width = params.height;
109 params.height = width;
/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
73 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
48 int xStart = static_cast<int>(width * left);
49 int xEnd = static_cast<int>(width * right);
57 int disp = width * y;
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextureSource.java63 public void allocate(int width, int height) { argument
64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + ".");
65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height);
69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { argument
70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + ".");
71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height);
/frameworks/native/include/input/
H A DDisplayViewport.h75 void setNonDisplayViewport(int32_t width, int32_t height) { argument
80 logicalRight = width;
84 physicalRight = width;
86 deviceWidth = width;
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
131 int width = mediaPlayer.getVideoWidth();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width !
345 setFixedSize(int width, int height) argument
359 setFixedSize(int width, int height) argument
381 setFixedSize(int width, int height) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRect.java44 buffer.putInt(value.width());
52 int width = buffer.getInt();
55 int right = left + width;
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSingleFilterEffect.java67 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
70 Frame inputFrame = frameFromTexture(inputTexId, width, height);
71 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp60 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
64 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
66 gWidth = width;
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DImageCompare.java60 final int width = bitmap1.getWidth();
62 final int numPixels = width * height;
66 for (int x = 0; x < width; x++) {
/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/cmds/screenrecord/
H A DOverlay.cpp142 int width = mEglWindow.getWidth(); local
145 glViewport(0, 0, width, height);
163 mTextRenderer.setScreenSize(width, height);
177 mGlConsumer->setDefaultBufferSize(width, height);
218 int width = mEglWindow.getWidth(); local
222 100, 100, width-200, height-200);
225 0, 0, width, height);
232 100, 100, width-200, height-200);
299 int width = window.getWidth(); local
301 glViewport(0, 0, width, heigh
334 int width = window.getWidth(); local
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
80 floatImage.setX(mRoiBounds.width());
86 mRoiBounds.width(), mRoiBounds.height());
89 mRoiBounds.width(), mRoiBounds.height());
100 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(),
103 Rect undoRect = new Rect(0, 0, mRoiBounds.width(), mRoiBounds.height());
125 floatImage.setX(mRoiBounds.width());
136 mRoiBounds.width(), mRoiBounds.height());
141 mRoiBounds.width(), mRoiBounds.height());
154 options.setX(1, mRoiBounds.width()
189 createMutableBitmap(Bitmap image, int x, int y, int width, int height) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp121 int transparent, int width)
123 for (; width > 0; width--, src++, dst++) {
152 int width = bm->width(); local
155 if (frame->ImageDesc.Left + copyWidth > width) {
156 copyWidth = width - frame->ImageDesc.Left;
183 int width = bm->width(); local
188 if (frame->ImageDesc.Left + copyWidth > width) {
120 copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, int transparent, int width) argument
204 fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, uint32_t col) argument
354 const int width = gif->SWidth; local
[all...]

Completed in 2214 milliseconds

1234567891011>>