Searched refs:height (Results 251 - 275 of 1472) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java97 int width, int height, int densityDpi, int gravity, boolean secure,
115 resize(width, height, densityDpi, false /* doLayout */);
143 public void resize(int width, int height, int densityDpi) { argument
144 resize(width, height, densityDpi, true /* doLayout */);
147 private void resize(int width, int height, int densityDpi, boolean doLayout) { argument
149 mHeight = height;
207 mTextureView.getLayoutParams().height = mHeight;
254 int height = (int)(mHeight * scale);
256 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale);
258 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height));
96 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height());
194 mActiveArray.height() / mCurrentZoomRatio, 0, mActiveArray.height()));
196 (mActiveArray.height() - mCropRectangle.height()) / 2);
237 return (mExifThumbnailSize.width() == 0 && mExifThumbnailSize.height() == 0) ||
240 mExifThumbnailSize.height() == defaultThumbnailSize.getHeight());
284 mExifThumbnailSize.width(), mExifThumbnailSize.height()));
310 mCropRectangle.height() * oldTop, 0, mCropRectangle.height()
[all...]
/frameworks/support/percent/src/android/support/percent/
H A DPercentLayoutHelper.java146 params.height = array.getLayoutDimension(heightAttr, 0);
150 * Iterates over children and changes their width and height to one calculated from percentage
211 Log.v(TAG, "percent height: " + value);
359 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
379 && info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
383 // These two flags keep track of whether we're computing the LayoutParams width and height
387 // the same set of width / height.
391 public PercentMarginLayoutParams(int width, int height) { argument
392 super(width, height);
407 /** The decimal value of the percentage-based height
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java346 public void setSize(int width, int height) { argument
348 mHeight = height;
352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1);
355 mScreenHeight = height;
356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0);
486 public void drawRect(float x, float y, float width, float height, GLPaint paint) { argument
487 draw(GLES20.GL_LINE_LOOP, OFFSET_DRAW_RECT, COUNT_RECT_VERTEX, x, y, width, height, paint);
491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
554 draw(ShaderParameter[] params, int type, int count, float x, float y, float width, float height) argument
566 setMatrix(ShaderParameter[] params, float x, float y, float width, float height) argument
575 fillRect(float x, float y, float width, float height, int color) argument
582 drawTexture(BasicTexture texture, int x, int y, int width, int height) argument
993 getBounds(Rect bounds, int x, int y, int width, int height) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java400 mStartOrientationWasLandscape = startBounds.width() >= startBounds.height();
452 // 1. mMinVisible[Width/Height] <= [width/height] <= mMaxVisibleSize.[x/y]
467 // Calculate the resulting width and height of the drag operation.
469 int height = bottom - top;
476 height = Math.max(mMinVisibleHeight, height - deltaY);
478 height = Math.max(mMinVisibleHeight, height + deltaY);
482 final float aspect = (float) width / (float) height;
492 // Assuming that the width is our target we calculate the height
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.h51 void setScreenSize(uint32_t width, uint32_t height) { argument
53 mScreenHeight = height;
104 // Returns the font's glyph height. This is the full pixel height of the
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp50 fprintf(stderr, " -t height in pixels (default: 144)\n");
62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
64 mHeight(height),
68 mSize((width * height * 3) / 2) {
169 int height = 144; local
225 height = atoi(optarg);
273 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
288 enc_meta->setInt32("height", height);
292 enc_meta->setInt32("slice-height", heigh
[all...]
/frameworks/av/media/ndk/
H A DNdkImagePriv.h36 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes);
53 media_status_t getHeight(/*out*/int32_t* height) const;
/frameworks/base/cmds/vr/src/com/android/commands/vr/
H A DVr.java52 "usage: vr set-display-props [width] [height] [dpi]\n"
82 int height = Integer.parseInt(heightStr);
88 new Vr2dDisplayProperties(width, height, dpi);
/frameworks/base/core/java/android/app/
H A DIActivityContainer.aidl29 void setSurface(in Surface surface, int width, int height, int density);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableSize.java48 int height = buffer.getInt();
50 return new Size(width, height);
H A DMarshalQueryableSizeF.java50 float height = buffer.getFloat();
52 return new SizeF(width, height);
H A DMarshalQueryableStreamConfiguration.java32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p>
56 int height = buffer.getInt();
59 return new StreamConfiguration(format, width, height, input);
H A DMarshalQueryableStreamConfigurationDuration.java32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64).
65 int height = (int)buffer.getLong();
68 return new StreamConfigurationDuration(format, width, height, durationNs);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DHighSpeedVideoConfiguration.java42 * @param height image height, in pixels (positive)
47 * if width/height/fpsMin were not positive or fpsMax less than 60
52 final int width, final int height, final int fpsMin, final int fpsMax,
60 mHeight = checkArgumentPositive(height, "height must be positive");
77 * Return the height of the high speed video configuration.
79 * @return height > 0
106 * @return a Size with positive width and height
51 HighSpeedVideoConfiguration( final int width, final int height, final int fpsMin, final int fpsMax, final int batchSizeMax) argument
H A DStreamConfiguration.java50 * @param height image height, in pixels (positive)
54 * if width/height were not positive
61 final int format, final int width, final int height, final boolean input) {
64 mHeight = checkArgumentPositive(height, "height must be positive");
91 * Return the height of the stream configuration.
93 * @return height > 0
102 * @return a Size with positive width and height
60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument
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/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 DSurfaceHolder.java90 * @param height The new height of the surface.
93 int height);
187 * @param height The surface's height.
189 public void setFixedSize(int width, int height); argument
92 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java102 final int height = configuration.screenHeightDp;
103 return width >= 480 || (width >= 640 && height >= 480)
209 int height = icon.getIntrinsicHeight();
213 height *= scale;
215 if (height > mMaxIconSize) {
216 final float scale = (float) mMaxIconSize / height;
217 height = mMaxIconSize;
220 icon.setBounds(0, 0, width, height);
/frameworks/base/libs/hwui/
H A DGlLayer.h46 void setSize(uint32_t width, uint32_t height) override {
47 texture.updateLayout(width, height, texture.internalFormat(), texture.format(),
H A DOpenGLReadback.cpp86 uint32_t height = graphicBuffer->getHeight(); local
87 // If this is a 90 or 270 degree rotation we need to swap width/height
90 std::swap(width, height);
92 CopyResult copyResult = copyImageInto(sourceImage, texTransform, width, height,
127 int destHeight = bitmap->height();
208 srcRect.top / sourceTexture.height(), 0);
210 srcRect.getHeight() / sourceTexture.height(), 1);
216 || sourceTexture.height() != (uint32_t) destHeight;
230 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,
/frameworks/base/libs/hwui/tests/common/scenes/
H A DGlyphStressAnimation.cpp36 void createContent(int width, int height, Canvas& canvas) override {
37 container = TestUtils::createNode(0, 0, width, height, nullptr);
H A DPartialDamageAnimation.cpp32 void createContent(int width, int height, Canvas& canvas) override {
43 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) {

Completed in 444 milliseconds

<<11121314151617181920>>