Searched defs:height (Results 151 - 175 of 674) sorted by path

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationDuration.java44 * @param height image height, in pixels (positive)
48 * if width/height were not positive, or durationNs was negative
56 final int format, final int width, final int height, final long durationNs) {
59 mHeight = checkArgumentPositive(height, "height must be positive");
86 * Return the height of the stream configuration duration
88 * @return height > 0
97 * @return a Size with positive width and height
55 StreamConfigurationDuration( final int format, final int width, final int height, final long durationNs) argument
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java479 int width, int height, int densityDpi, @Nullable Surface surface, int flags) {
480 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null);
509 * @param height The height of the virtual display in pixels, must be greater than 0.
527 int width, int height, int densityDpi, @Nullable Surface surface, int flags,
530 name, width, height, densityDpi, surface, flags, callback, handler);
535 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface,
538 name, width, height, densityDpi, surface, flags, callback, handler);
478 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags) argument
526 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
534 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
H A DDisplayManagerGlobal.java366 String name, int width, int height, int densityDpi, Surface surface, int flags,
371 if (width <= 0 || height <= 0 || densityDpi <= 0) {
372 throw new IllegalArgumentException("width, height, and densityDpi must be "
381 context.getPackageName(), name, width, height, densityDpi, surface, flags);
412 int width, int height, int densityDpi) {
414 mDm.resizeVirtualDisplay(token, width, height, densityDpi);
365 createVirtualDisplay(Context context, MediaProjection projection, String name, int width, int height, int densityDpi, Surface surface, int flags, VirtualDisplay.Callback callback, Handler handler) argument
411 resizeVirtualDisplay(IVirtualDisplayCallback token, int width, int height, int densityDpi) argument
H A DVirtualDisplay.java89 public void resize(int width, int height, int densityDpi) { argument
90 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java91 /** Default key height */
109 /** Current key height, while loading the keyboard */
112 /** Total height of the keyboard, including the padding and keys */
164 /** Default height of a key in this row. */
248 public int height; field in class:Keyboard.Key
316 height = parent.defaultHeight;
343 height = getDimensionOrFraction(a,
465 && (y >= this.y || (topEdge && y <= this.y + this.height))
466 && (y < this.y + this.height || (bottomEdge && y >= this.y))) {
481 int yDist = this.y + height /
534 Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId, int width, int height) argument
685 setKeyHeight(int height) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java149 public LayoutParams(int width, int height) { argument
150 super(width, height);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java460 * The height of the image/video in pixels.
462 public static final String HEIGHT = "height";
909 float width, float height,
915 float scaleY = height / source.getHeight();
1198 * The height of the thumbnail
1201 public static final String HEIGHT = "height";
2250 * The height of the thumbnail
2253 public static final String HEIGHT = "height";
905 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java218 public void setFixedSize(int width, int height) {
226 super.setFixedSize(width, height);
355 * WallpaperManager.getDesiredMinimumHeight()}, returning the height
507 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
624 mLayout.height = myHeight;
687 int h = mWinFrame.height();
846 " w=" + mLayout.width + " h=" + mLayout.height);
1105 public void setDesiredSize(int width, int height) { argument
1106 Message msg = mCaller.obtainMessageII(DO_SET_DESIRED_SIZE, width, height);
/frameworks/base/core/java/android/util/
H A DSize.java22 * Immutable class for describing width and height dimensions in pixels.
29 * @param height The height of the size, in pixels
31 public Size(int width, int height) { argument
33 mHeight = height;
45 * Get the height of the size (in pixels).
46 * @return height
98 * the width and height.</p>
104 * "<i>width</i>{@code x}<i>height</i>" or
105 * "<i>width</i>{@code *}<i>height</
[all...]
H A DSizeF.java23 * Immutable class for describing width and height dimensions in some arbitrary
26 * Width and height are finite values stored as a floating point representation.
33 * <p>Both the {@code width} and the {@code height} must be a finite number.
37 * @param height The height of the size
40 * if either {@code width} or {@code height} was not finite.
42 public SizeF(final float width, final float height) { argument
44 mHeight = checkArgumentFinite(height, "height");
56 * Get the height o
[all...]
/frameworks/base/core/java/android/view/
H A DDisplay.java84 // We cache the app width and height properties briefly between calls
513 * screen, so it will reduce the height both in landscape and portrait, and
514 * the smallest height returned here will be the smaller of the two.
524 * @param outSmallestSize Filled in with the smallest width and height
532 * @param outLargestSize Filled in with the largest width and height
998 public Mode(int modeId, int width, int height, float refreshRate) { argument
1001 mHeight = height;
1029 * Returns the physical height of the display in pixels when configured in this mode's
1056 public boolean matches(int width, int height, float refreshRate) { argument
1058 mHeight == height
[all...]
H A DDisplayInfo.java73 * The height of the portion of the display that is available to applications, in pixels.
87 * in pixels, excepting cases where the height may be even smaller due to the presence
101 * in pixels, excepting cases where the height may be even larger due to system decorations
114 * The logical height of the display, in pixels.
554 Configuration configuration, int width, int height) {
565 height = (configuration != null
567 ? (int)((configuration.screenHeightDp * outMetrics.density) + 0.5f) : height;
570 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height;
553 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, Configuration configuration, int width, int height) argument
H A DDisplayListCanvas.java49 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument
53 canvas = new DisplayListCanvas(width, height);
55 nResetDisplayListCanvas(canvas.mNativeCanvasWrapper, width, height);
59 canvas.mHeight = height;
92 private DisplayListCanvas(int width, int height) { argument
93 super(nCreateDisplayListCanvas(width, height));
97 private static native long nCreateDisplayListCanvas(int width, int height); argument
98 private static native void nResetDisplayListCanvas(long canvas, int width, int height); argument
H A DGraphicBuffer.java73 * @param height The height in pixels of the buffer
79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument
80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
82 return new GraphicBuffer(width, height, format, usage, nativeObject);
90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument
92 mHeight = height;
106 * Returns the height of this buffer in pixels.
271 int height = in.readInt();
276 return new GraphicBuffer(width, height, forma
286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument
[all...]
H A DHardwareLayer.java100 * return false if the requested width/height cannot be satisfied
103 * @param height The new height of this layer
109 public boolean prepare(int width, int height, boolean isOpaque) { argument
110 return nPrepare(mFinalizer.get(), width, height, isOpaque);
148 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
H A DRenderNode.java57 * DisplayListCanvas canvas = displayList.start(width, height);
96 * DisplayListCanvas canvas = mDisplayList.start(width, height);
185 * @param height The height of the recording viewport
192 public DisplayListCanvas start(int width, int height) { argument
193 return DisplayListCanvas.obtain(this, width, height);
H A DSurface.java377 * Sets the translator used to scale canvas's width/height in compatibility
577 * <li>Returns the width and height of the target metrics, rather than
627 Canvas lockCanvas(int width, int height) { argument
631 mCanvas = mRenderNode.start(width, height);
H A DSurfaceControl.java42 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
45 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
80 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); argument
270 * @param h The surface initial height.
534 public int height; field in class:SurfaceControl.PhysicalDisplayInfo
559 && height == other.height
577 height = other.height;
591 return "PhysicalDisplayInfo{" + width + " x " + height
41 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
44 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
664 setDisplaySize(IBinder displayToken, int width, int height) argument
717 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform) argument
734 screenshot(IBinder display, Surface consumer, int width, int height) argument
779 screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform, int rotation) argument
801 screenshot(int width, int height) argument
809 screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
[all...]
H A DSurfaceHolder.java90 * @param height The new height of the surface.
93 int height);
162 * @param height The surface's height.
164 public void setFixedSize(int width, int height); argument
92 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
H A DTextureView.java64 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
75 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
399 // parameters are correct (width, height, transform, etc.)
528 * texture is not available or the width &lt;= 0 or the height &lt;= 0
552 * @param height The height of the bitmap to create
555 * texture is not available or width is &lt;= 0 or height is &lt;= 0
561 public Bitmap getBitmap(int width, int height) { argument
562 if (isAvailable() && width > 0 && height > 0) {
564 width, height, Bitma
806 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
816 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
[all...]
H A DThreadedRenderer.java445 * @param height The height of the drawing surface.
453 boolean initializeIfNeeded(int width, int height, View.AttachInfo attachInfo, argument
459 setup(width, height, attachInfo, surfaceInsets);
542 * @param height The height of the drawing surface.
546 void setup(int width, int height, AttachInfo attachInfo, Rect surfaceInsets) { argument
548 mHeight = height;
556 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom;
565 mSurfaceHeight = height;
987 nSetup(long nativeProxy, int width, int height, float lightRadius, int ambientShadowAlpha, int spotShadowAlpha) argument
[all...]
H A DViewGroup.java4240 * specified width and height.
4248 public void addView(View child, int width, int height) { argument
4251 params.height = height;
5571 final int height = mBottom - mTop;
5577 rectIsVisible = rect.intersect(0, 0, width, height);
5584 width - mPaddingRight, height - mPaddingBottom);
6060 * @param heightMeasureSpec The height requirements for this view
6080 * @param parentHeightMeasureSpec The height requirements for this view
6089 mPaddingTop + mPaddingBottom, lp.height);
6985 public int height; field in class:ViewGroup.LayoutParams
7029 LayoutParams(int width, int height) argument
7299 MarginLayoutParams(int width, int height) argument
[all...]
H A DViewRootImpl.java1330 childHeightMeasureSpec = getRootMeasureSpec(desiredWindowHeight, lp.height);
1335 + " and height spec: " + MeasureSpec.toString(childHeightMeasureSpec));
1357 childHeightMeasureSpec = getRootMeasureSpec(desiredWindowHeight, lp.height);
1523 desiredWindowHeight = frame.height();
1589 || lp.height == ViewGroup.LayoutParams.WRAP_CONTENT) {
1680 || (lp.height == ViewGroup.LayoutParams.WRAP_CONTENT &&
1681 frame.height() < desiredWindowHeight && frame.height() != mHeight));
1938 if (mWidth != frame.width() || mHeight != frame.height()) {
1940 mHeight = frame.height();
6979 setFixedSize(int width, int height) argument
[all...]
H A DViewStructure.java47 * @param height The view's visible height, in pixels. This is the height visible on
48 * screen, not the total data height of a scrollable view.
51 int height);
50 setDimens(int left, int top, int scrollX, int scrollY, int width, int height) argument
H A DWindow.java925 * Set the width and height layout parameters of the window. The default
930 * @param height The desired layout height of the window.
932 * @see ViewGroup.LayoutParams#height
935 public void setLayout(int width, int height) { argument
938 attrs.height = height;
945 * is only useful when using WRAP_CONTENT for the layout width or height.

Completed in 2814 milliseconds

1234567891011>>