/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 58 * 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 D | CheckedTextView.java | 233 final int width = getWidth(); 242 right = width - mBasePadding;
|
H A D | RadioGroup.java | 256 * <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 D | ScrollBarDrawable.java | 122 int size = vertical ? r.height() : r.width(); 123 int thickness = vertical ? r.width() : r.height();
|
H A D | ListPopupWindow.java | 120 * 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 D | ListMenuItemView.java | 228 if (lp.height > 0 && iconLp.width <= 0) { 229 iconLp.width = lp.height;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 210 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 D | StaticLayoutDirectionsTest.java | 128 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 D | Rect.h | 58 inline Rect(float width, float height): argument 61 right(width),
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestView.java | 188 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 D | SceneGraphRS.java | 42 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 D | MeshTest.java | 105 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 D | SampleRSActivity.java | 54 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 D | SimpleAppRS.java | 47 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 D | RSTestCore.java | 56 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 D | NinePatch_Delegate.java | 162 (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 D | GL2JNIView.java | 287 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 D | GLPerfView.java | 287 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 D | GLDualGL2View.java | 290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 291 GLDualLib.init(width, height);
|
/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 182 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 D | rsScriptC_Lib.cpp | 182 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 D | UiScrollable.java | 331 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 D | shader_program.h | 132 // 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 D | SurfaceRenderFilter.java | 140 // 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 D | motion_est.cpp | 485 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...] |