Lines Matching defs:width

3077                 // attrs.{width|height} Size on screen
3078 win.mHScale = (attrs.width != requestedWidth) ?
3079 (attrs.width / (float)requestedWidth) : 1.0f;
3378 final int width = displayInfo.appWidth;
3385 Rect containingFrame = new Rect(0, 0, width, height);
3407 Animation a = mAppTransition.loadAnimation(lp, transit, enter, width, height,
3419 atoken.mAppAnimator.setAnimation(a, width, height);
6060 * @param width the width of the target bitmap
6066 public Bitmap screenshotApplications(IBinder appToken, int displayId, int width,
6233 if (width / (float) frame.width() < height / (float) frame.height()) {
6234 int cropWidth = (int)((float)width / (float)height * frame.height());
6237 int cropHeight = (int)((float)height / (float)width * frame.width());
6270 bm = SurfaceControl.screenshot(crop, width, height, minLayer, maxLayer,
6643 * the device's natural orientation is portrait (width < height) or landscape.
7082 final int width = mPolicy.getConfigDisplayWidth(dw, dh, rotation);
7083 if (width < displayInfo.smallestNominalAppWidth) {
7084 displayInfo.smallestNominalAppWidth = width;
7086 if (width > displayInfo.largestNominalAppWidth) {
7087 displayInfo.largestNominalAppWidth = width;
7122 // We need to determine the smallest width that will occur under normal
7124 // width under the different possible rotations. We need to un-rotate
7370 int flags, int width, int height, Surface outSurface) {
7372 Slog.d(TAG, "prepare drag surface: w=" + width + " h=" + height
7389 width, height, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
7407 Slog.e(TAG, "Can't allocate drag surface w=" + width + " h=" + height, e);
8245 public void setForcedDisplaySize(int displayId, int width, int height) {
8265 width = Math.min(Math.max(width, MIN_WIDTH),
8269 setForcedDisplaySizeLocked(displayContent, width, height);
8271 Settings.Global.DISPLAY_SIZE_FORCED, width + "," + height);
8288 int width, height;
8290 width = Integer.parseInt(sizeStr.substring(0, pos));
8293 if (displayContent.mBaseDisplayWidth != width
8295 Slog.i(TAG, "FORCED DISPLAY SIZE: " + width + "x" + height);
8296 displayContent.mBaseDisplayWidth = width;
8325 private void setForcedDisplaySizeLocked(DisplayContent displayContent, int width, int height) {
8326 Slog.i(TAG, "Using new display size: " + width + "x" + height);
8329 displayContent.mBaseDisplayWidth = width;
9296 "thumbnail anim", dirty.width(), dirty.height(),
9338 Slog.e(TAG, "Can't allocate thumbnail/Canvas surface w=" + dirty.width()