Searched defs:height (Results 351 - 375 of 763) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp65 int32_t width, int32_t height, int32_t format) {
68 err = native_window_set_buffers_user_dimensions(window, width, height);
71 if (width && height) {
64 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/frameworks/native/libs/nativewindow/include/android/
H A Dhardware_buffer.h79 * An opaque binary blob format that must have height 1, with width equal to
141 uint32_t height; // height in pixels member in struct:AHardwareBuffer_Desc
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub_client.cpp84 int BufferHubBuffer::Lock(int usage, int x, int y, int width, int height, argument
86 return buffer_.Lock(usage, x, y, width, height, address);
93 int height = 1; local
94 int ret = Lock(usage(), 0, 0, width, height, addr);
170 BufferProducer::BufferProducer(uint32_t width, uint32_t height, uint32_t format, argument
172 : BufferProducer(width, height, format, usage, usage, metadata_size) {}
174 BufferProducer::BufferProducer(uint32_t width, uint32_t height, uint32_t format, argument
180 "BufferProducer::BufferProducer: fd=%d width=%u height=%u format=%u "
183 event_fd(), width, height, format, producer_usage, consumer_usage,
188 width, height, forma
206 BufferProducer(const std::string& name, int user_id, int group_id, uint32_t width, uint32_t height, uint32_t format, uint32_t usage, size_t meta_size_bytes) argument
213 BufferProducer(const std::string& name, int user_id, int group_id, uint32_t width, uint32_t height, uint32_t format, uint64_t producer_usage, uint64_t consumer_usage, size_t meta_size_bytes) argument
261 const int height = 1; local
300 const int height = 1; local
[all...]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dnative_buffer.h31 ANativeWindowBuffer::height = buffer->height(); member in class:android::dvr::NativeBuffer::ANativeWindowBuffer
70 ANativeWindowBuffer::height = buffer_->height(); member in class:android::dvr::NativeBufferProducer::ANativeWindowBuffer
134 ANativeWindowBuffer::height = buffer_->height(); member in class:android::dvr::NativeBufferConsumer::ANativeWindowBuffer
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
288 GL2JNILib.init(width, height);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 void init_scene(int width, int height) argument
93 float ratio = width / height;
94 glViewport(0, 0, width, height);
138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
145 init_scene(width, height);
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
288 GLPerfLib.init(width, height);
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
291 GLDualLib.init(width, height);
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp130 static EGLint width, height; variable
295 unsigned int refHeight = height / 3;
301 unsigned int equivHeight = height / 3;
315 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight,
320 testPrintI("refFrame width: %u height: %u format: %u %s",
329 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight,
334 testPrintI("equivFrame width: %u height: %u format: %u %s",
417 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
H A DhwcRects.cpp44 * sourceDim: [width, height]
170 static EGLint width, height; variable
400 rect.sourceCrop.bottom = rect.sourceDim.height();
489 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height())
490 || ((uint32_t) rect.sourceCrop.bottom > rect.sourceDim.height())) {
496 || (rect.displayFrame.top >= height)
497 || (rect.displayFrame.bottom > height)) {
508 rect.sourceDim.height(),
519 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u "
522 rect.sourceDim.width(), rect.sourceDim.height(),
[all...]
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java144 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
145 GLES20.glViewport(0, 0, width, height);
147 mScaleY = 2.0f / height;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h84 Error createVirtualDisplay(uint32_t width, uint32_t height,
161 Builder& setHeight(int32_t height) { argument
162 mConfig->mHeight = height;
/frameworks/native/services/vr/bufferhubd/
H A Dbuffer_hub.cpp75 std::to_string(info.height) + "x" +
122 std::to_string(info.height) + "x" +
243 uint32_t height, uint32_t format,
249 "BufferHubService::OnCreateBuffer: buffer_id=%d width=%u height=%u "
251 buffer_id, width, height, format, usage, meta_size_bytes);
260 auto status = ProducerChannel::Create(this, buffer_id, width, height,
275 uint32_t width, uint32_t height, uint32_t format, uint64_t usage,
281 "user_id=%d group_id=%d width=%u height=%u format=%u "
283 channel_id, name.c_str(), user_id, group_id, width, height, format,
305 } else if (!buffer->CheckParameters(width, height, kDefaultLayerCoun
242 OnCreateBuffer(Message& message, uint32_t width, uint32_t height, uint32_t format, uint64_t usage, size_t meta_size_bytes) argument
273 OnCreatePersistentBuffer( Message& message, const std::string& name, int user_id, int group_id, uint32_t width, uint32_t height, uint32_t format, uint64_t usage, size_t meta_size_bytes) argument
[all...]
H A Dproducer_channel.cpp28 uint32_t width, uint32_t height,
37 const int ret = buffer_.Alloc(width, height, layer_count, format, usage);
50 BufferHubService* service, int channel_id, uint32_t width, uint32_t height,
55 new ProducerChannel(service, channel_id, width, height, layer_count,
73 buffer_.height(), buffer_.layer_count(), buffer_.format(),
351 bool ProducerChannel::CheckParameters(uint32_t width, uint32_t height, argument
355 buffer_.height() == height && buffer_.layer_count() == layer_count &&
27 ProducerChannel(BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t meta_size_bytes, int* error) argument
49 Create( BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t meta_size_bytes) argument
/frameworks/rs/
H A DrsGrallocConsumer.cpp37 uint32_t height = a->mHal.drvState.lod[0].dimY; local
38 if (height < 1) height = 1;
46 width, height, format,
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DIPControls.java76 public final int height; field in class:IPControls.Resolutions
80 height = h;
205 intent.putExtra("resolution Y", mResolution.height);
241 float pr = (1920.f / mResolution.width) * (1080.f / mResolution.height);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DIPControlsJB.java78 public final int height; field in class:IPControlsJB.Resolutions
82 height = h;
208 intent.putExtra("resolution Y", mRes.height);
242 float pr = (1920.f / mRes.width) * (1080.f / mRes.height);
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java139 int width, int height) {
142 mPreviewTexHeight = height;
148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
208 if (lhs.height < rhs.height) return -1;
209 if (lhs.height > rhs.height) return 1;
224 Integer.toString(mPreviewSizes.get(i).height);
273 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
286 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
138 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
[all...]
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLRenderer.java64 public void onSurfaceChanged(GL10 unused, int width, int height) { argument
65 GLES20.glViewport(0, 0, width, height);
66 float ratio = (float) width / height;
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityOptionsCompat.java87 * @param startHeight The initial height of the new activity.
110 * @param height The initial height of the new activity.
115 int startX, int startY, int width, int height) {
118 source, startX, startY, width, height));
114 makeClipRevealAnimation(View source, int startX, int startY, int width, int height) argument
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java150 * @param top Top coordinate as a fraction of the parent height, range
154 * @param bottom Bottom coordinate as a fraction of the parent height,
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds.height());
209 final int height = getHeight();
219 scaleRectF(item.mBoundsInRoot, bounds, width, height);
274 protected static void scaleRectF(RectF in, Rect out, int width, int height) { argument
275 out.top = (int) (in.top * height);
276 out.bottom = (int) (in.bottom * height);
347 int height
[all...]
/frameworks/support/percent/src/android/support/percent/
H A DPercentLayoutHelper.java146 params.height = array.getLayoutDimension(heightAttr, 0);
150 * Iterates over children and changes their width and height to one calculated from percentage
211 Log.v(TAG, "percent height: " + value);
359 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
379 && info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
383 // These two flags keep track of whether we're computing the LayoutParams width and height
387 // the same set of width / height.
391 public PercentMarginLayoutParams(int width, int height) { argument
392 super(width, height);
407 /** The decimal value of the percentage-based height
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java150 * @param top Top coordinate as a fraction of the parent height, range
154 * @param bottom Bottom coordinate as a fraction of the parent height,
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds.height());
209 final int height = getHeight();
219 scaleRectF(item.mBoundsInRoot, bounds, width, height);
274 protected static void scaleRectF(RectF in, Rect out, int width, int height) { argument
275 out.top = (int) (in.top * height);
276 out.bottom = (int) (in.bottom * height);
347 int height
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalGridView.java108 * Sets the row height.
110 * @param height May be {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT WRAP_CONTENT},
111 * or a size in pixels. If zero, row height will be fixed based on number of
112 * rows and view height.
114 public void setRowHeight(int height) { argument
115 mLayoutManager.setRowHeight(height);
H A DImageCardView.java344 public void setMainImageDimensions(int width, int height) { argument
347 lp.height = height;

Completed in 585 milliseconds

<<11121314151617181920>>