Lines Matching defs:height

2821                 // attrs.{width|height} Size on screen
2824 win.mVScale = (attrs.height != requestedHeight) ?
2825 (attrs.height / (float)requestedHeight) : 1.0f;
5776 * @param height the height of the target bitmap
5779 public Bitmap screenshotApplications(IBinder appToken, int displayId, int width, int height) {
5886 int fh = frame.height();
5888 // Constrain thumbnail to smaller of screen width or height. Assumes aspect
5891 float targetHeightScale = height / (float) fh;
5903 if (targetWidthScale > scale && (int) (targetWidthScale * fh) == height) {
5935 Bitmap bm = Bitmap.createBitmap(width, height, rawss.getConfig());
6223 * the device's natural orientation is portrait (width < height) or landscape.
6799 final int height = mPolicy.getConfigDisplayHeight(dw, dh, rotation);
6800 if (height < displayInfo.smallestNominalAppHeight) {
6801 displayInfo.smallestNominalAppHeight = height;
6803 if (height > displayInfo.largestNominalAppHeight) {
6804 displayInfo.largestNominalAppHeight = height;
7081 int flags, int width, int height, Surface outSurface) {
7083 Slog.d(TAG, "prepare drag surface: w=" + width + " h=" + height
7100 width, height, PixelFormat.TRANSLUCENT, Surface.HIDDEN);
7118 Slog.e(TAG, "Can't allocate drag surface w=" + width + " h=" + height, e);
7938 public void setForcedDisplaySize(int displayId, int width, int height) {
7949 height = Math.min(Math.max(height, MIN_HEIGHT),
7951 setForcedDisplaySizeLocked(displayContent, width, height);
7953 Settings.Global.DISPLAY_SIZE_FORCED, width + "," + height);
7964 int width, height;
7967 height = Integer.parseInt(sizeStr.substring(pos+1));
7970 || displayContent.mBaseDisplayHeight != height) {
7971 Slog.i(TAG, "FORCED DISPLAY SIZE: " + width + "x" + height);
7973 displayContent.mBaseDisplayHeight = height;
7998 private void setForcedDisplaySizeLocked(DisplayContent displayContent, int width, int height) {
7999 Slog.i(TAG, "Using new display size: " + width + "x" + height);
8003 displayContent.mBaseDisplayHeight = height;
8777 dirty.width(), dirty.height(),
8799 + " h=" + dirty.height(), e);
9017 final int width, height;
9021 height = displayInfo.logicalHeight;
9024 height = innerDh;
9027 winAnimator, w.mExiting ? 0 : w.mAttrs.dimAmount, width, height);
9791 final int width, final int height) {
9793 new DimAnimator.Parameters(winAnimator, width, height, target));