Searched defs:height (Results 301 - 325 of 674) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java219 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java139 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
140 super.onSurfaceChanged(holder, format, width, height);
196 final int height = frame.height();
205 c.drawRect(0, 0, width, height, paint);
209 width-mMainInsets.right, height-mMainInsets.bottom, paint);
213 width - mStableInsets.right, height - mStableInsets.bottom,
221 int y = height - mStableInsets.bottom - mPadding - ascdesc;
222 c.drawText("Surface Size: " + width + " x " + height,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRoundRectangle.java35 public double height; field in class:RoundRectangle
58 * the height of each corner in the following order: upper-left, upper-right, lower-right,
60 * is that the width and height of a corner correspond to the total width and height of the
63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) { argument
72 this.height = height;
91 scale = Math.min(scale, height / leftCornerHeight);
92 scale = Math.min(scale, height / rightCornerHeight);
121 return height;
191 isInsideCorner(double x, double y, double width, double height) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java258 public ConfigGenerator setScreenHeight(int height) { argument
259 mScreenHeight = height;
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java52 private FrameSequence(long nativeFrameSequence, int width, int height, argument
56 mHeight = height;
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h151 // The width and height parameters must be no greater than the minimum of
154 // updateTexImage() is called. If width and height are both zero, the
355 // outHeight - filled with default height applied to the buffer
364 *outHeight = height;
371 height = inHeight;
377 uint32_t height; member in struct:android::IGraphicBufferProducer::QueueBufferOutput
497 virtual void allocateBuffers(uint32_t width, uint32_t height,
/frameworks/native/include/private/gui/
H A DLayerState.h138 uint32_t width, height; member in struct:android::DisplayState
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp552 uint32_t height) {
555 if (width == 0 || height == 0) {
557 "height=%u)", width, height);
561 BQ_LOGV("setDefaultBufferSize: width=%u height=%u", width, height);
565 mCore->mDefaultHeight = height;
551 setDefaultBufferSize(uint32_t width, uint32_t height) argument
H A DConsumerBase.cpp210 status_t ConsumerBase::setDefaultBufferSize(uint32_t width, uint32_t height) { argument
216 return mConsumer->setDefaultBufferSize(width, height);
/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/opt/net/ims/src/java/com/android/ims/internal/
H A DImsVideoCallProviderWrapper.java88 public void changePeerDimensions(int width, int height) { argument
91 args.arg2 = height;
141 int height = (int) args.arg2;
142 changePeerDimensions(width, height);
/frameworks/rs/java/tests/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/java/tests/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/java/tests/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
207 if (lhs.height < rhs.height) return -1;
208 if (lhs.height > rhs.height) return 1;
223 Integer.toString(mPreviewSizes.get(i).height);
272 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
285 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
138 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
[all...]
/frameworks/support/percent/src/android/support/percent/
H A DPercentLayoutHelper.java96 params.height = array.getLayoutDimension(heightAttr, 0);
100 * Iterates over children and changes their width and height to one calculated from percentage
161 Log.v(TAG, "percent height: " + value);
309 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
329 info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
333 // These two flags keep track of whether we're computing the LayoutParams width and height
337 // the same set of width / height.
341 public PercentMarginLayoutParams(int width, int height) { argument
342 super(width, height);
354 /** The decimal value of the percentage-based 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;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java79 // Reread the desired height from the theme-specified style.
141 public void setContentHeight(int height) { argument
142 mContentHeight = height;
H A DActionBarContextView.java91 public void setContentHeight(int height) { argument
92 mContentHeight = height;
256 final int height = maxHeight - verticalPadding;
257 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
291 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
293 final int customHeight = lp.height >= 0 ?
294 Math.min(lp.height, height) : height;

Completed in 693 milliseconds

<<11121314151617181920>>