/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | Toolbar.java | 85 * The navigation button is vertically aligned within the Toolbar's minimum height, 87 * <li><em>A branded logo image.</em> This may extend to the height of the bar and can be 104 * minimum height, if set.</li> 1507 + heightUsed, lp.height); 1539 + heightUsed, lp.height); 1565 int height = 0; 1586 height = Math.max(height, mNavButtonView.getMeasuredHeight() + 1597 height = Math.max(height, mCollapseButtonVie 2193 LayoutParams(int width, int height) argument 2198 LayoutParams(int width, int height, int gravity) argument [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AlertDialogTest.java | 1328 public TestDrawable(@ColorInt int color, int width, int height) { argument 1331 mHeight = height;
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 32 void setMinWidthHeightInternal(int width, int height); argument
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 137 * {@link View#GONE GONE}, as having zero width and height. This is subtly different from 324 * The order in which axes are laid out is important if, for example, the height of 332 * deriving its height for a given width, but not the other way around. 336 * the height of the intended layout greatly exceeds its width. 912 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); 923 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); 941 /** If we have been called by {@link View#measure(int, int)}, one of width or height 1069 int height = vAlign.getSizeInCell(c, pHeight, cellHeight - sumMarginsY); 1077 if (width != c.getMeasuredWidth() || height != c.getMeasuredHeight()) { 1078 c.measure(makeMeasureSpec(width, EXACTLY), makeMeasureSpec(height, EXACTL 1938 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteControllerDialog.java | 525 * Returns the height of main media controller which includes playback control and master 529 int height = 0; 531 height += mMediaMainControlLayout.getPaddingTop() 534 height += mPlaybackControlLayout.getMeasuredHeight(); 537 height += mVolumeControlLayout.getMeasuredHeight(); 540 height += mDividerView.getMeasuredHeight(); 543 return height; 548 // height. 575 * Updates the height of views and hide artwork or metadata if space is limited. 578 // Measure the size of widgets and get the height o 1017 setLayoutHeight(View view, int height) argument [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceFragmentCompat.java | 294 * height, you should also call {@link #setDividerHeight(int)}. 304 * Sets the height of the divider that will be drawn between each item in the list. Calling 305 * this will override the intrinsic height as set by {@link #setDivider(Drawable)} 307 * @param height The new height of the divider in pixels. 310 public void setDividerHeight(int height) { argument 311 mDividerDecoration.setDividerHeight(height);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 288 final int width, height; 292 final int usedHeight = childrenBounds.height() + verticalPadding; 293 height = chooseSize(hSpec, usedHeight, getMinimumHeight()); 299 height = chooseSize(hSpec, mCachedBorders[mCachedBorders.length - 1] + verticalPadding, 302 setMeasuredDimension(width, height); 569 mOrientation == HORIZONTAL ? lp.height : lp.width, 573 mOrientation == VERTICAL ? lp.height : lp.width, true); 577 final boolean applyInsets = lp.height == ViewGroup.LayoutParams.FILL_PARENT; 604 mOrientation == HORIZONTAL ? lp.height : lp.width, false); 607 mOrientation == VERTICAL ? lp.height 1093 LayoutParams(int width, int height) argument [all...] |
H A D | RecyclerView.java | 2790 // 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. 2846 final int height = LayoutManager.chooseSize(heightSpec, 2850 setMeasuredDimension(width, height); 6400 int usedHeight = childrenBounds.height() + getPaddingTop() + getPaddingBottom(); 6402 int height = chooseSize(hSpec, usedHeight, getMinimumHeight()); 6403 setMeasuredDimension(width, height); 6493 * return the width and height o 9820 LayoutParams(int width, int height) argument [all...] |
H A D | StaggeredGridLayoutManager.java | 102 * 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; 582 final int usedHeight = childrenBounds.height() + verticalPadding; 583 height = chooseSize(hSpec, usedHeight, getMinimumHeight()); 589 height = chooseSize(hSpec, mSizePerSpan * mSpanCount + verticalPadding, 592 setMeasuredDimension(width, height); 1113 getChildMeasureSpec(getHeight(), getHeightMode(), 0, lp.height, true), 1124 getChildMeasureSpec(getHeight(), getHeightMode(), 0, lp.height, true), 1129 getChildMeasureSpec(mSizePerSpan, getHeightMode(), 0, lp.height, fals 2298 LayoutParams(int width, int height) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentTest.java | 204 int width, int height) throws Throwable { 230 assertThat(recyclerView.getHeight(), is(height + padding.top + padding.bottom)); 491 int expectedH = mRawChildrenBox.height() + mRvPadding.top + mRvPadding.bottom; 492 assertTrue(mRvSize.height() + "<=" + expectedH, mRvSize.height() <= expectedH); 202 layoutAndCheck(TestedFrameLayout.FullControlLayoutParams lp, BaseWrapContentWithAspectRatioTest.WrapContentAdapter adapter, Rect[] expected, int width, int height) argument
|
H A D | TestedFrameLayout.java | 68 } else if (lp.height == LayoutParams.MATCH_PARENT) { 69 final int height = Math.max(0, getMeasuredHeight() 71 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 74 lp.topMargin + lp.bottomMargin, lp.height); 210 public FullControlLayoutParams(int width, int height) { argument 211 super(width, height);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 485 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 D | android_renderscript_RenderScript.cpp | 1053 size_t s = info.width * info.height; 1134 info.height, pixels, GetBitmapSize(_env, jbitmap), 0); 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, height, dept 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/webview/chromium/plat_support/ |
H A D | draw_gl.h | 55 // Input: current width/height of destination surface. 57 int height; member in struct:AwDrawGLInfo
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.cpp | 131 EGLint width, height; local 133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); 134 RSD_CALL_GL(glViewport, 0, 0, width, height);
|
H A D | rsdFrameBufferObj.h | 38 void setDimensions(uint32_t width, uint32_t height) { argument 40 mHeight = height;
|
H A D | rsdRuntimeStubs.cpp | 208 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 D | BallsRS.java | 95 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 D | GenImage.java | 75 public void onSurfaceChanged(GL10 unused, int width, int height) { argument
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | Healing.java | 50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8); 80 floatImage.setY(mRoiBounds.height()); 91 mRoiBounds.width(), mRoiBounds.height()); 96 mRoiBounds.width(), mRoiBounds.height()); 110 options.setY(1, mRoiBounds.height() - 1); 133 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(), 136 Rect undoRect = new Rect(0, 0, mRoiBounds.width(), mRoiBounds.height()); 145 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument 146 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
|
H A D | Region.java | 156 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) {
argument 157 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | IPControls.java | 76 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);
|
H A D | ImageProcessingActivity2.java | 777 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 782 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | IPControlsJB.java | 78 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);
|
H A D | ImageProcessingActivityJB.java | 740 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 745 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|