Searched refs:height (Results 276 - 300 of 1273) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java54 /** Frame height to request from camera. Actual size may not match requested. */
55 @GenerateFieldPort(name = "height", hasDefault = true)
276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
281 int smallestHeight = previewSizes.get(0).height;
288 size.height <= height &&
290 size.height >= closestHeight) {
292 closestHeight = size.height;
295 size.height < smallestHeight) {
297 smallestHeight = size.height;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java77 // Visibility optimization, if the thumbnail height is less than the height of the header
113 public void onTaskViewSizeChanged(int width, int height) { argument
115 if (mTaskViewRect.width() == width && mTaskViewRect.height() == height) {
119 mTaskViewRect.set(0, 0, width, height);
120 setLeftTopRightBottom(0, 0, width, height);
131 int viewHeight = mTaskViewRect.height();
135 (int) (mThumbnailRect.height() * mThumbnailScale));
255 (float) mTaskViewRect.height() / mThumbnailRec
[all...]
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp192 const int height = mFrameSequence.getHeight(); local
194 mPreserveBuffer = new Color8888[width * height];
196 for (int y = 0; y < height; y++) {
205 const int height = mFrameSequence.getHeight(); local
210 for (int y = 0; y < height; y++) {
231 const int height = mFrameSequence.getHeight(); local
261 for (int y = 0; y < height; y++) {
283 getCopySize(prevFrame.ImageDesc, width, height, copyWidth, copyHeight);
318 getCopySize(frame.ImageDesc, width, height, copyWidth, copyHeight);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp152 size.height = -1;
205 mVideoSize.height = -1;
247 * Check to see whether the requested video width and height is one
250 * @param height the video frame height in pixels
252 * @return true if the dimension (width and height) is supported.
255 int32_t width, int32_t height,
261 height == supportedSizes[i].height) {
318 * (width and height) an
254 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
331 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
407 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument
530 initBufferQueue(uint32_t width, uint32_t height, uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java29 * An immutable class to represent a rectangle {@code (x, y, width, height)} with an additional
39 * android.sensor.info.activeArraySize.height - 1)} being the bottom-right pixel in the active pixel
86 * @param height height >= 0
91 public MeteringRectangle(int x, int y, int width, int height, int meteringWeight) { argument
95 mHeight = checkArgumentNonnegative(height, "height must be nonnegative");
106 * @param dimensions a non-{@code null} {@link android.util.Size Size} with width, height >= 0
119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative");
140 mHeight = checkArgumentNonnegative(rect.height(), "rec
[all...]
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DTranslateAnimation.java171 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
172 super.initialize(width, height, parentWidth, parentHeight);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java228 * The width and height parameters must be no greater than the minimum of
234 public void setDefaultBufferSize(int width, int height) { argument
235 nativeSetDefaultBufferSize(width, height);
399 private native void nativeSetDefaultBufferSize(int width, int height); argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java73 int height = inputFormat.getHeight();
82 outputFormat.setDimensions(height, width);
89 outputFormat.setDimensions(height, width);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java59 float height = (mTop + bounds.height()) * OUTER_EXTENT;
61 canvas.scale(1, height / width);
/frameworks/base/services/core/java/com/android/server/display/
H A DVirtualDisplayAdapter.java65 String name, int width, int height, int densityDpi, Surface surface, int flags) {
73 ownerUid, ownerPackageName, name, width, height, densityDpi, surface, flags,
95 int width, int height, int densityDpi) {
98 device.resizeLocked(width, height, densityDpi);
190 String name, int width, int height, int densityDpi, Surface surface, int flags,
198 mHeight = height;
199 mMode = createMode(width, height, REFRESH_RATE);
268 public void resizeLocked(int width, int height, int densityDpi) { argument
269 if (mWidth != width || mHeight != height || mDensityDpi != densityDpi) {
273 mHeight = height;
63 createVirtualDisplayLocked(IVirtualDisplayCallback callback, IMediaProjection projection, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument
94 resizeVirtualDisplayLocked(IBinder appToken, int width, int height, int densityDpi) argument
188 VirtualDisplayDevice(IBinder displayToken, IBinder appToken, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags, Callback callback, String uniqueId, int uniqueIndex) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { argument
84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp131 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);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java68 int height = mInPixelsAllocation.getType().getY();
78 tb.setY(height);
84 mScript.set_height(height);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DBlur25.java68 int height = mInPixelsAllocation.getType().getY();
78 tb.setY(height);
84 mScript.set_height(height);
/frameworks/base/core/java/android/widget/
H A DScrollView.java308 * Indicates this ScrollView whether it should stretch its content height to fill
311 * @param fillViewport True to stretch the content's height to the viewport's
1005 int height = getHeight();
1008 mTempRect.top = getScrollY() + height;
1012 if (mTempRect.top + height > view.getBottom()) {
1013 mTempRect.top = view.getBottom() - height;
1017 mTempRect.top = getScrollY() - height;
1022 mTempRect.bottom = mTempRect.top + height;
1041 int height = getHeight();
1044 mTempRect.bottom = height;
1165 isWithinDeltaOfScreen(View descendant, int delta, int height) argument
[all...]
H A DActionMenuView.java461 int height = v.getMeasuredHeight();
471 int t = midVertical - (height / 2);
472 int b = t + height;
492 final int height = v.getMeasuredHeight();
495 final int t = midVertical - height / 2;
496 v.layout(l, t, l + width, t + height);
514 int height = v.getMeasuredHeight();
515 int t = midVertical - height / 2;
516 v.layout(startRight - width, t, startRight, t + height);
530 int height
826 LayoutParams(int width, int height) argument
832 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
/frameworks/av/camera/camera2/
H A DOutputConfiguration.cpp100 int height = 0; local
101 if ((err = parcel->readInt32(&height)) != OK) {
102 ALOGE("%s: Failed to read surface height from parcel", __FUNCTION__);
112 __FUNCTION__, width, height);
125 mHeight = height;
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h48 status_t createPbuffer(int width, int height);
50 // Return width and height values (obtained from IGBP).
H A DFrameOutput.h41 status_t createInputSurface(int width, int height,
/frameworks/av/include/media/
H A DIRemoteDisplayClient.h52 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) = 0; // one-way
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.h142 int32_t height);
149 int32_t *height);
197 int32_t width, int32_t height);
203 status_t getSmallestSurfaceSize(int32_t *width, int32_t *height);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraDeviceBase.h107 * For HAL_PIXEL_FORMAT_BLOB formats, the width and height should be the
111 uint32_t width, uint32_t height, int format,
117 * Create an input stream of width, height, and format.
121 virtual status_t createInputStream(uint32_t width, uint32_t height,
134 uint32_t *width, uint32_t *height,
188 virtual ssize_t getJpegBufferSize(uint32_t width, uint32_t height) const = 0;
/frameworks/base/libs/hwui/font/
H A DFont.cpp138 int height = (int) glyph->mBitmapHeight; local
152 if (bounds->top < nPenY + height) {
153 bounds->top = nPenY + height;
160 float height = (float) glyph->mBitmapHeight; local
163 float nPenY = y + glyph->mBitmapTop + height;
172 nPenX + width, nPenY - height, u2, v1,
173 nPenX, nPenY - height, u1, v1, glyph->mCacheTexture);
179 float height = (float) glyph->mBitmapHeight; local
182 p[0].iset(glyph->mBitmapLeft, glyph->mBitmapTop + height);
183 p[1].iset(glyph->mBitmapLeft + width, glyph->mBitmapTop + height);
240 const float height = glyph->mBitmapHeight; local
[all...]
/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwLayerAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override {

Completed in 721 milliseconds

<<11121314151617181920>>