Searched defs:width (Results 151 - 175 of 795) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMovingSurfaceViewActivity.java107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java70 flatSizes.add(s.width());
86 int width = Integer.parseInt(flatSizes[i]);
88 list.add(new Size(width,height));
98 public Size(int width, int height) { argument
99 val = new Point(width, height);
109 val = new Point(other.width(), other.height());
122 val = new Point(other.width, other.height);
152 public int width() { method in class:Size
176 return "Size: (" + this.width() + " x " + this.height() + ")";
/frameworks/minikin/libs/minikin/
H A DMeasurement.cpp46 // In the middle of a cluster, distribute width of cluster so that each grapheme cluster
94 float width = advances[i - start]; local
95 if (width != 0.0f) {
98 x += width;
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.h39 Dimensions(int w, int h) : width(w), height(h) {}
41 int width = 0; member in struct:android::Dimensions
/frameworks/native/include/gui/
H A DCpuConsumer.h49 uint32_t width; member in struct:android::CpuConsumer::LockedBuffer
74 width(0),
/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/native/include/ui/
H A DANativeObjectBase.h30 int32_t width; member in struct:egl_native_pixmap_t
/frameworks/native/libs/ui/
H A DRect.cpp93 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { argument
96 result = Rect(width - result.right, result.top, width - result.left,
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h31 // Locks the area specified by (x, y, width, height) for a specific usage. If
35 int Lock(int usage, int x, int y, int width, int height, void** addr);
90 uint32_t width() const { return buffer_.width(); } function in class:android::dvr::BufferHubBuffer
195 BufferProducer(uint32_t width, uint32_t height, uint32_t format,
197 BufferProducer(uint32_t width, uint32_t height, uint32_t format,
214 uint32_t width, uint32_t height, uint32_t format,
217 uint32_t width, uint32_t height, uint32_t format,
/frameworks/native/libs/vr/libdvr/
H A Ddvr_surface.cpp134 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width, argument
147 auto status = surface->surface->CreateQueue(width, height, layer_count,
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java79 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
80 GLES20.glViewport(0, 0, width, height);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.h49 GLuint width; member in struct:android::GLES20RenderEngine::Group
H A DTexture.cpp50 void Texture::setDimensions(size_t width, size_t height) { argument
51 mWidth = width;
/frameworks/support/compat/java/android/support/v4/widget/
H A DEdgeEffectCompat.java77 * @param width Effect width in pixels
83 public void setSize(int width, int height) { argument
84 mEdgeEffect.setSize(width, height);
215 * width of X=0 to X=width, beginning from Y=0 and extending to some factor <
/frameworks/support/compat/tests/java/android/support/v4/widget/
H A DTextViewCompatTest.java58 public TestDrawable(@ColorInt int color, int width, int height) { argument
60 mWidth = width;
155 assertEquals("Compound drawable: left width",
156 drawablesAbsolute[0].getBounds().width(), 20);
161 assertEquals("Compound drawable: top width",
162 drawablesAbsolute[1].getBounds().width(), 30);
167 assertEquals("Compound drawable: right width",
168 drawablesAbsolute[2].getBounds().width(), 25);
200 assertEquals("Compound drawable: left width",
201 drawablesAbsolute[0].getBounds().width(), 2
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java66 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) argument
74 int scaleFactor = findScaleFactor(width, height, is);
76 + width + "x" + height + "requested dimension");
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
H A DCardPresenter.java34 public CardPresenter(int width, int height) { argument
35 mCardWidth = width;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java66 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) argument
74 int scaleFactor = findScaleFactor(width, height, is);
76 + width + "x" + height + "requested dimension");
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
H A DCardPresenter.java34 public CardPresenter(int width, int height) { argument
35 mCardWidth = width;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DVideoFragment.java55 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
57 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
87 protected void onVideoSizeChanged(int width, int height) { argument
92 if (screenWidth * height > width * screenHeight) {
95 p.width = screenHeight * width / height;
97 // fit in screen width
98 p.width = screenWidth;
99 p.height = screenWidth * height / width;
H A DVideoSupportFragment.java58 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
60 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
90 protected void onVideoSizeChanged(int width, int height) { argument
95 if (screenWidth * height > width * screenHeight) {
98 p.width = screenHeight * width / height;
100 // fit in screen width
101 p.width = screenWidth;
102 p.height = screenWidth * height / width;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAlertDialogLayout.java182 // Compute desired width as maximum child width.
209 * Remeasures child views to exactly match the layout's measured width.
223 if (lp.width == LayoutParams.MATCH_PARENT) {
267 final int width = right - left;
268 final int childRight = width - getPaddingRight();
271 final int childSpace = width - paddingLeft - getPaddingRight();
346 private void setChildFrame(View child, int left, int top, int width, int height) { argument
347 child.layout(left, top, left + width, top + height);
/frameworks/av/camera/camera2/
H A DOutputConfiguration.cpp106 int width = 0; local
107 if ((err = parcel->readInt32(&width)) != OK) {
108 ALOGE("%s: Failed to read surface width from parcel", __FUNCTION__);
145 mWidth = width;
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp103 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local
115 filteredStreamConfigs.push_back(width);
128 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local
143 filteredDepthStreamConfigs.push_back(width);
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp43 status_t FrameOutput::createInputSurface(int width, int height, argument
47 err = mEglWindow.createPbuffer(width, height);
53 glViewport(0, 0, width, height);
76 mGlConsumer->setDefaultBufferSize(width, height);
82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel];
123 int width = mEglWindow.getWidth(); local
126 width, height, true);
139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf);
147 reduceRgbaToRgb(mPixelBuf, width * height);
155 size_t rgbDataLen = width * heigh
[all...]

Completed in 3353 milliseconds

1234567891011>>