Searched defs:width (Results 1 - 25 of 602) sorted by last modified time

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java1334 public LayoutParams(int width, int height) { argument
1335 super(width, height);
1339 public LayoutParams(int width, int height, int gravity) { argument
1340 super(width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java466 // Check against our minimum height and width
491 final int width = child.getMeasuredWidth();
502 child.layout(childLeft, childTop, childLeft + width, childTop + height);
804 public LayoutParams(int width, int height) { argument
805 super(width, height);
H A DAppCompatPopupWindow.java67 public void update(View anchor, int xoff, int yoff, int width, int height) { argument
72 super.update(anchor, xoff, yoff, width, height);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuPresenter.java109 int width = mWidthLimit;
116 width -= mOverflowButton.getMeasuredWidth();
121 mActionItemWidthLimit = width;
139 public void setWidthLimit(int width, boolean strict) { argument
140 mWidthLimit = width;
451 // can break the max actions rule, but not the width limit.
489 // We broke the width limit. Demote the whole group, they all overflow now.
H A DActionMenuView.java174 // We already know the width mode is EXACTLY if we're here.
373 final int width = lp.cellsUsed * cellSize + lp.extraPixels;
374 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
387 * Measure a child view to fit within cell-based formatting. The child's width
492 final int width = v.getMeasuredWidth();
495 final int l = midHorizontal - width / 2;
497 v.layout(l, t, l + width, t + height);
514 int width = v.getMeasuredWidth();
517 v.layout(startRight - width, t, startRight, t + height);
518 startRight -= width
799 LayoutParams(int width, int height) argument
804 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
H A DLinearLayoutCompat.java269 * Get the width of the current divider drawable.
611 // See how tall everyone is. Also remember max width.
693 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
694 // The width of the linear layout will scale, and at least one
695 // child said it wanted to match our width. Set a flag
697 // we know our width.
708 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
793 lp.leftMargin + lp.rightMargin, lp.width);
826 lp.width == LayoutParams.MATCH_PARENT;
831 allFillParent = allFillParent && lp.width
1640 setChildFrame(View child, int left, int top, int width, int height) argument
1790 LayoutParams(int width, int height) argument
1805 LayoutParams(int width, int height, float weight) argument
[all...]
H A DListPopupWindow.java150 * If used to specify a popup width, the popup will match the width of the anchor view.
157 * If used to specify a popup width, the popup will use the width of its content.
485 * @return The width of the popup window in pixels.
492 * Sets the width of the popup window in pixels. Can also be {@link #MATCH_PARENT}
495 * @param width Width of the popup window.
497 public void setWidth(int width) { argument
498 mDropDownWidth = width;
502 * Sets the width o
507 setContentWidth(int width) argument
[all...]
H A DToolbar.java1132 + widthUsed, lp.width);
1148 * Returns the width + uncollapsed margins
1164 getPaddingLeft() + getPaddingRight() + hMargins + widthUsed, lp.width);
1192 int width = 0;
1211 measureChildConstrained(mNavButtonView, widthMeasureSpec, width, heightMeasureSpec, 0,
1221 measureChildConstrained(mCollapseButtonView, widthMeasureSpec, width,
1232 width += Math.max(contentInsetStart, navWidth);
1237 measureChildConstrained(mMenuView, widthMeasureSpec, width, heightMeasureSpec, 0,
1247 width += Math.max(contentInsetEnd, menuWidth);
1251 width
1826 LayoutParams(int width, int height) argument
1831 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java137 * {@link View#GONE GONE}, as having zero width and height. This is subtly different from
139 * view was alone in a column, that column would itself collapse to zero width if and only if
322 * one of GridLayout's children is dependent on its width - and its width is, in turn,
329 * deriving its height for a given width, but not the other way around.
333 * the height of the intended layout greatly exceeds its width.
854 int width = getWidth();
855 graphics.drawLine(width - x1, y1, width - x2, y2, paint);
903 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, l
1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java397 measureChildWithDecorationsAndMargin(view, getMainDirSpec(lp.width), spec);
757 * Note that if the orientation is {@link #VERTICAL}, the width parameter is ignored and if the
776 public LayoutParams(int width, int height) { argument
777 super(width, height);
H A DRecyclerView.java1865 int width = 0;
1871 width = widthSize;
1875 width = ViewCompat.getMinimumWidth(this);
1890 setMeasuredDimension(width, height);
2467 final int width = getWidth();
2470 c.translate(-padding, -width);
5552 * Return the width of the parent RecyclerView
5822 getPaddingLeft() + getPaddingRight() + widthUsed, lp.width,
5851 lp.leftMargin + lp.rightMargin + widthUsed, lp.width,
5903 * Returns the measured width o
7411 LayoutParams(int width, int height) argument
[all...]
H A DStaggeredGridLayoutManager.java111 * The width or height per span, depending on the orientation.
976 getSpecForDimension(lp.width, mWidthSpec), mFullSizeSpec);
984 getSpecForDimension(lp.width, mWidthSpec), mHeightSpec);
1941 * Note that if the orientation is {@link #VERTICAL}, the width parameter is ignored and if the
1961 public LayoutParams(int width, int height) { argument
1962 super(width, height);
1979 * is vertical, the view will have full width; if orientation is horizontal, the view will
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java406 int width, int height,
411 int width, int height,
418 width, height,
452 int width, int height, int depth,
457 int width, int height, int depth,
463 dstMip, width, height, depth,
403 rsnAllocationData2D(int con, int dstAlloc, int dstXoff, int dstYoff, int dstMip, int dstFace, int width, int height, int srcAlloc, int srcXoff, int srcYoff, int srcMip, int srcFace) argument
409 nAllocationData2D(int dstAlloc, int dstXoff, int dstYoff, int dstMip, int dstFace, int width, int height, int srcAlloc, int srcXoff, int srcYoff, int srcMip, int srcFace) argument
449 rsnAllocationData3D(int con, int dstAlloc, int dstXoff, int dstYoff, int dstZoff, int dstMip, int width, int height, int depth, int srcAlloc, int srcXoff, int srcYoff, int srcZoff, int srcMip) argument
455 nAllocationData3D(int dstAlloc, int dstXoff, int dstYoff, int dstZoff, int dstMip, int width, int height, int depth, int srcAlloc, int srcXoff, int srcYoff, int srcZoff, int srcMip) argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp345 size_t s = info.width * info.height;
415 info.width, info.height, pixels, GetBitmapSize(_env, jbitmap), 0);
537 jint width, jint height,
542 " dstMip(%i), dstFace(%i), width(%i), height(%i),"
545 width, height, (RsAllocation)srcAlloc, srcXoff, srcYoff, srcMip, srcFace);
551 width, height,
605 jint width, jint height, jint depth,
610 " dstMip(%i), width(%i), height(%i),"
613 width, height, (RsAllocation)srcAlloc, srcXoff, srcYoff, srcMip, srcFace);
618 width, heigh
534 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, RsContext con, jint dstAlloc, jint dstXoff, jint dstYoff, jint dstMip, jint dstFace, jint width, jint height, jint srcAlloc, jint srcXoff, jint srcYoff, jint srcMip, jint srcFace) argument
602 nAllocationData3D_alloc(JNIEnv *_env, jobject _this, RsContext con, jint dstAlloc, jint dstXoff, jint dstYoff, jint dstZoff, jint dstMip, jint width, jint height, jint depth, jint srcAlloc, jint srcXoff, jint srcYoff, jint srcZoff, jint srcMip) argument
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java2261 public void extractSmartClipData(int x, int y, int width, int height) { argument
2263 mAwContents.extractSmartClipData(x, y, width, height);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h435 XAuint32 width; member in struct:XADataFormat_RawImage_
1041 XAuint32 width; member in struct:XARectangle_
1586 XAuint32 width; member in struct:XAFocusPointPosition_
2823 XAuint32 width; member in struct:XAImageSettings_
3002 XAuint32 width; member in struct:XAVideoSettings_
3093 XAuint32 width; member in struct:XAVideoStreamInformation_
3111 XAuint32 width; member in struct:XAImageStreamInformation_
3118 XAuint32 width; member in struct:XATimedTextStreamInformation_
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) &&
34 thiz->mSize.mWidth = width;
55 SLmillimeter width = thiz->mSize.mWidth; local
59 *pWidth = width;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
141 GLES20.glViewport(0, 0, width, height);
142 mRatio = (float) width / height;
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
131 int width = mediaPlayer.getVideoWidth();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width !
345 setFixedSize(int width, int height) argument
359 setFixedSize(int width, int height) argument
381 setFixedSize(int width, int height) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp85 float xf, float yf, int width) {
88 int maxx = width - 1;
120 float xf, float yf, int width) {
123 int maxx = width - 1;
155 float xf, float yf, int width) {
158 int maxx = width - 1;
84 OneBiCubic(const uchar4 *yp0, const uchar4 *yp1, const uchar4 *yp2, const uchar4 *yp3, float xf, float yf, int width) argument
119 OneBiCubic(const uchar2 *yp0, const uchar2 *yp1, const uchar2 *yp2, const uchar2 *yp3, float xf, float yf, int width) argument
154 OneBiCubic(const uchar *yp0, const uchar *yp1, const uchar *yp2, const uchar *yp3, float xf, float yf, int width) argument
/frameworks/rs/driver/
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.cpp135 uint32_t width, uint32_t height,
142 width, height,
174 uint32_t width, uint32_t height,
181 width, height,
1522 uint32_t width, uint32_t height,
1527 dstMip, dstFace, width, height,
132 SC_AllocationCopy2DRange(android::renderscript::rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, android::renderscript::rs_allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
171 SC_AllocationCopy2DRange(::rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, uint32_t dstFace, uint32_t width, uint32_t height, ::rs_allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument
1518 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.java89 private void createPF(int width, int height) { argument
98 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
102 createPF(width, height);
113 mGrid = ScriptField_BallGrid.create2D(mRS, (width + 99) / 100, (height + 99) / 100);
135 mPhysicsScript.set_gMaxPos(new Float2(width - 5, height - 5));
138 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 821 milliseconds

1234567891011>>