Searched refs:width (Results 76 - 100 of 1274) sorted by last modified time

1234567891011>>

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java2790 // now we can get the width and height from the children.
2793 // if RecyclerView has non-exact width and height and if there is at least one child
2794 // which also has non-exact width & height, we have to re-measure.
2801 // now we can get the width and height from the children.
2843 final int width = LayoutManager.chooseSize(widthSpec,
2850 setMeasuredDimension(width, height);
3570 final int width = getWidth();
3573 c.translate(-padding, -width);
6399 int usedWidth = childrenBounds.width() + getPaddingLeft() + getPaddingRight();
6401 int width
9820 LayoutParams(int width, int height) argument
[all...]
H A DStaggeredGridLayoutManager.java102 * height minus padding, if layout is horizontal, total space is the width minus padding.
125 * The width or height per span, depending on the orientation.
578 final int width, height;
584 width = chooseSize(wSpec, mSizePerSpan * mSpanCount + horizontalPadding,
587 final int usedWidth = childrenBounds.width() + horizontalPadding;
588 width = chooseSize(wSpec, usedWidth, getMinimumWidth());
592 setMeasuredDimension(width, height);
1117 getChildMeasureSpec(getWidth(), getWidthMode(), 0, lp.width, true),
1123 getChildMeasureSpec(mSizePerSpan, getWidthMode(), 0, lp.width, false),
1128 getChildMeasureSpec(getWidth(), getWidthMode(), 0, lp.width, tru
2298 LayoutParams(int width, int height) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java204 int width, int height) throws Throwable {
229 assertThat(recyclerView.getWidth(), is(width + padding.left + padding.right));
487 int expectedW = mRawChildrenBox.width() + mRvPadding.left + mRvPadding.right;
488 assertTrue(mRvSize.width() + " <= " + expectedW, mRvSize.width() <= expectedW);
202 layoutAndCheck(TestedFrameLayout.FullControlLayoutParams lp, BaseWrapContentWithAspectRatioTest.WrapContentAdapter adapter, Rect[] expected, int width, int height) argument
H A DGridLayoutManagerCustomSizeInScrollDirectionTest.java85 layoutParams.width = size;
H A DGridLayoutManagerRtlTest.java102 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT;
H A DGridLayoutManagerTest.java90 lp.width = w / 2;
370 glp.width = val;
590 mlp.width = ViewGroup.MarginLayoutParams.FILL_PARENT;
602 mlp.width = desiredSize;
749 glp.width = 50 + position * 50;
755 assertEquals("all items should get max width", 150,
760 assertEquals("all items should have measured the max width", 150,
H A DLinearLayoutManagerTest.java140 mlp.width = ViewGroup.MarginLayoutParams.FILL_PARENT;
152 mlp.width = desiredSize;
317 layoutParams.width = mRecyclerView.getWidth() / 2;
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java106 holder.itemView.getLayoutParams().width
410 lp.width = mRecyclerView.getWidth() / 3;
432 recyclerViewBounds.right -= recyclerViewBounds.width() % config.mSpanCount;
H A DStaggeredGridLayoutManagerTest.java173 layoutParams.width = size;
H A DTestedFrameLayout.java56 } else if (lp.width == LayoutParams.MATCH_PARENT) {
57 final int width = Math.max(0, getMeasuredWidth()
59 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY);
62 lp.leftMargin + lp.rightMargin, lp.width);
210 public FullControlLayoutParams(int width, int height) { argument
211 super(width, height);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java948 * height, width, and format of the bitmap must match the existing
1436 throw new RSIllegalArgumentException("Height or width cannot be negative.");
1656 * and width of the update will use the height and width of the {@link
1686 throw new RSIllegalArgumentException("Height or width cannot be negative.");
2756 * have the same size as all other faces, and have a width that is a power
2774 int width = b.getWidth();
2776 if (width % 6 != 0) {
2779 if (width / 6 != height) {
2806 * faces, and have a width tha
[all...]
H A DRenderScript.java485 int width, int height,
490 int width, int height,
497 width, height,
521 int width, int height, int depth,
526 int width, int height, int depth,
532 dstMip, width, height, depth,
482 rsnAllocationData2D(long con, long dstAlloc, int dstXoff, int dstYoff, int dstMip, int dstFace, int width, int height, long srcAlloc, int srcXoff, int srcYoff, int srcMip, int srcFace) argument
488 nAllocationData2D(long dstAlloc, int dstXoff, int dstYoff, int dstMip, int dstFace, int width, int height, long srcAlloc, int srcXoff, int srcYoff, int srcMip, int srcFace) argument
518 rsnAllocationData3D(long con, long dstAlloc, int dstXoff, int dstYoff, int dstZoff, int dstMip, int width, int height, int depth, long srcAlloc, int srcXoff, int srcYoff, int srcZoff, int srcMip) argument
524 nAllocationData3D(long dstAlloc, int dstXoff, int dstYoff, int dstZoff, int dstMip, int width, int height, int depth, long srcAlloc, int srcXoff, int srcYoff, int srcZoff, int srcMip) argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp1053 size_t s = info.width * info.height;
1133 RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, info.width,
1223 jint width, jint height,
1228 " dstMip(%i), dstFace(%i), width(%i), height(%i),"
1231 width, height, (RsAllocation)srcAlloc, srcXoff, srcYoff, srcMip, srcFace);
1237 width, height,
1262 jint width, jint height, jint depth,
1267 " dstMip(%i), width(%i), height(%i),"
1270 width, height, (RsAllocation)srcAlloc, srcXoff, srcYoff, srcMip, srcFace);
1275 width, heigh
1220 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, jlong con, jlong dstAlloc, jint dstXoff, jint dstYoff, jint dstMip, jint dstFace, jint width, jint height, jlong srcAlloc, jint srcXoff, jint srcYoff, jint srcMip, jint srcFace) argument
1259 nAllocationData3D_alloc(JNIEnv *_env, jobject _this, jlong con, jlong dstAlloc, jint dstXoff, jint dstYoff, jint dstZoff, jint dstMip, jint width, jint height, jint depth, jlong srcAlloc, jint srcXoff, jint srcYoff, jint srcZoff, jint srcMip) argument
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DNetworkImageView.java104 int width = getWidth();
110 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT;
117 if (width == 0 && height == 0 && !isFullyWrapContent) {
144 // Calculate the max image width / height to use while ignoring WRAP_CONTENT dimens.
145 int maxWidth = wrapWidth ? 0 : width;
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl.h55 // Input: current width/height of destination surface.
56 int width; member in struct:AwDrawGLInfo
H A Ddraw_gl_functor.cpp66 aw_info.width = gl_info->width;
/frameworks/rs/api/
H A Drs_allocation_create.spec43 arg: uint32_t vector_width, "Vector width (either 2, 3, or 4)"
44 summary: Creates an rs_element object of the specified data type and vector width
46 Creates an rs_element object of the specified data type and vector width.
145 You can also use rsCreateAllocation_<type><width> wrapper functions to directly
H A Drs_graphics.spec638 summary: Get the surface width
640 Get the width of the current rendering surface.
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp94 float xf, float yf, int width) {
97 int maxx = width - 1;
129 float xf, float yf, int width) {
132 int maxx = width - 1;
164 float xf, float yf, int width) {
167 int maxx = width - 1;
245 float xf, float yf, int width) {
248 int maxx = width - 1;
268 float xf, float yf, int width) {
271 int maxx = width
93 OneBiCubic(const uchar4 *yp0, const uchar4 *yp1, const uchar4 *yp2, const uchar4 *yp3, float xf, float yf, int width) argument
128 OneBiCubic(const uchar2 *yp0, const uchar2 *yp1, const uchar2 *yp2, const uchar2 *yp3, float xf, float yf, int width) argument
163 OneBiCubic(const uchar *yp0, const uchar *yp1, const uchar *yp2, const uchar *yp3, float xf, float yf, int width) argument
244 OneBiCubic(const float4 *yp0, const float4 *yp1, const float4 *yp2, const float4 *yp3, float xf, float yf, int width) argument
267 OneBiCubic(const float2 *yp0, const float2 *yp1, const float2 *yp2, const float2 *yp3, float xf, float yf, int width) argument
290 OneBiCubic(const float *yp0, const float *yp1, const float *yp2, const float *yp3, float xf, float yf, int width) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp725 Rect bounds(drv->wndBuffer->width, drv->wndBuffer->height);
H A DrsdFrameBufferObj.cpp131 EGLint width, height; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
134 RSD_CALL_GL(glViewport, 0, 0, width, height);
H A DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
39 mWidth = width;
H A DrsdRuntimeStubs.cpp208 uint32_t width, uint32_t height,
217 width, height, (Allocation *)srcAlloc.p,
204 rsAllocationCopy2DRange( ::rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, rs_allocation_cubemap_face dstFace, uint32_t width, uint32_t height, ::rs_allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, rs_allocation_cubemap_face srcFace) argument
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java95 private void createPF(int width, int height) { argument
104 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
108 createPF(width, height);
119 mGrid = ScriptField_BallGrid.create2D(mRS, (width + 99) / 100, (height + 99) / 100);
141 mPhysicsScript.set_gMaxPos(new Float2(width - 5, height - 5));
144 mScript.invoke_initParts(width, height);
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
H A DGenImage.java75 public void onSurfaceChanged(GL10 unused, int width, int height) { argument

Completed in 3898 milliseconds

1234567891011>>