Searched refs:width (Results 451 - 475 of 715) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/view/
H A DDisplayInfo.java58 * The width of the portion of the display that is available to applications, in pixels.
71 * in pixels, excepting cases where the width may be even smaller due to the presence
85 * in pixels, excepting cases where the width may be even larger due to system decorations
98 * The logical width of the display, in pixels.
289 int width, int height) {
291 outMetrics.noncompatWidthPixels = outMetrics.widthPixels = width;
288 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfoHolder cih, int width, int height) argument
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java233 final int width = getWidth();
242 right = width - mBasePadding;
H A DRadioGroup.java256 * <p>This set of layout parameters defaults the width and the height of
302 * <p>Fixes the child's width to
308 * @param widthAttr the width attribute to fetch
316 width = a.getLayoutDimension(widthAttr, "layout_width");
318 width = WRAP_CONTENT;
H A DScrollBarDrawable.java122 int size = vertical ? r.height() : r.width();
123 int thickness = vertical ? r.width() : r.height();
H A DListPopupWindow.java120 * If used to specify a popup width, the popup will match the width of the anchor view.
127 * If used to specify a popup width, the popup will use the width of its content.
433 * @return The width of the popup window in pixels.
440 * Sets the width of the popup window in pixels. Can also be {@link #MATCH_PARENT}
443 * @param width Width of the popup window.
445 public void setWidth(int width) { argument
446 mDropDownWidth = width;
450 * Sets the width o
455 setContentWidth(int width) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java228 if (lp.height > 0 && iconLp.width <= 0) {
229 iconLp.width = lp.height;
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp210 JNIEnv* env, jobject thiz, jint width, jint height)
213 surfaceTexture->setDefaultBufferSize(width, height);
209 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java128 float width = b.paint.measureText(b.text, 0, 5); // exclude 'c'
129 b.setWidth(Math.round(width));
197 float width = Layout.measureText(b.paint,
205 " offset: " + offset + " width: " + width);
/frameworks/base/libs/hwui/
H A DRect.h58 inline Rect(float width, float height): argument
61 right(width),
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestView.java188 int width = getWidth();
190 rect.set(BORDER_PADDING, BORDER_PADDING, width - BORDER_PADDING, height - BORDER_PADDING);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphRS.java42 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
45 mWidth = width;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java105 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { argument
115 float xOffset = (normalizedX - 0.5f) * width;
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java54 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
58 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DSimpleAppRS.java47 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
51 mSceneManager.initRS(mRS, mRes, width, height);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DRSTestCore.java56 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
59 mWidth = width;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java162 (int) loc.left, (int) loc.top, (int) loc.width(), (int) loc.height(),
171 loc.left, loc.top, loc.width(), loc.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_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/rs/
H A DrsScriptC_Lib.cpp182 uint32_t width, uint32_t height,
187 dstMip, dstFace, width, height,
179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC_Lib.cpp182 uint32_t width, uint32_t height,
187 dstMip, dstFace, width, height,
179 rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiScrollable.java331 int swipeAreaAdjust = (int)(rect.width() * getSwipeDeadZonePercentage());
395 int swipeAreaAdjust = (int)(rect.width() * getSwipeDeadZonePercentage());
487 * Dead zones are set as percentage of a widget's total width or height where
504 * Dead zones are set as percentage of a widget's total width or height where
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h132 // the origin (x, y) and dimensions (width, height). Values are considered
135 void SetSourceRect(float x, float y, float width, float height) ;
146 // the origin (x, y) and dimensions (width, height). Values are considered
149 void SetTargetRect(float x, float y, float width, float height);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java140 // will update our screen width and height.
224 int width,
229 mScreenWidth = width;
222 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_est.cpp485 int pitch, width, height; local
488 width = refPic->width;
496 temp2 = src[width-1]; /* top-right corner */
509 memcpy(dst, src, width);
511 *((uint32*)(dst += width)) = temp2;
516 dst = dst - width - 16;
532 temp2 = src[width-1];
543 *((uint32*)(dst += width)) = temp2;
605 int lx = video->currPic->width; // paddin
966 int width = currPic->width; /* 6/12/01, must be multiple of 16 */ local
[all...]

Completed in 4544 milliseconds

<<11121314151617181920>>