/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DialogViewAnimator.java | 59 final boolean matchHeight = lp.height == LayoutParams.MATCH_PARENT; 91 // Check against our minimum height and width. 95 // Check against our foreground's minimum height and width. 125 if (lp.height == LayoutParams.MATCH_PARENT) { 133 lp.height);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ScrollViewScenario.java | 37 * specified amount of the screen height. 54 * to the screen height for its desired height. 63 * Partially implement ViewFactory given a height ratio. 64 * A negative height ratio means that WRAP_CONTENT will be used as height 97 * @param heightRatio The view's height will be this * the screen height. 114 * @param heightRatio The view's height will be this * the screen height [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.h | 69 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect); 71 WARN_UNUSED_RESULT OffscreenBuffer* startTemporaryLayer(uint32_t width, uint32_t height); 111 void setViewport(uint32_t width, uint32_t height);
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): argument 57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) { 76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 44 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, 50 layerUpdater->setSize(width, height); 57 LayerRenderer::updateTextureLayer(layer, width, height, isOpaque, forceFilter, 43 createTextureLayerUpdater( renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, const SkMatrix& transform) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 31 public Rectangle(float x, float y, float width, float height) { argument 34 new Point(x, y + height), 35 new Point(x + width, y + height));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
H A D | CircleFramedDrawable.java | 66 final int height = icon.getHeight(); 67 final int square = Math.min(width, height); 69 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/ |
H A D | ViewFocusAnimator.java | 137 int height = lp.height; 139 if (width < 0 && height < 0) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ViewFilter.java | 86 if (bufferRect.width() > 0 && bufferRect.height() > 0) { 87 float frameAR = (float)frameRect.width() / frameRect.height(); 88 float bufferAR = (float)bufferRect.width() / bufferRect.height();
|
H A D | CameraStreamer.java | 103 public void setCameraSize(int width, int height) { argument 105 mCameraHeight = height; 593 throw new RuntimeException("Camera height must be a multiple of 2!"); 780 /** The requested preview width and height */ 784 /** The requested picture width and height */ 788 /** The actual camera width and height */ 1015 public synchronized void setDesiredPreviewSize(int width, int height) { argument 1016 if (width != mRequestedPreviewWidth || height != mRequestedPreviewHeight) { 1018 mRequestedPreviewHeight = height; 1023 public synchronized void setDesiredPictureSize(int width, int height) { argument 1315 findClosestPreviewSize(int width, int height, Camera.Parameters parameters) argument 1320 findClosestPictureSize(int width, int height, Camera.Parameters parameters) argument 1325 findClosestSizeFromList(int width, int height, List<Camera.Size> sizes) argument 1575 setDesiredPreviewSize(int width, int height) argument 1586 setDesiredPictureSize(int width, int height) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextureViewActivity.java | 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 107 previewSize.width, previewSize.height, Gravity.CENTER)); 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 95 height(0) { 107 output.writeUint32(height); 120 height = input.readUint32();
|
/frameworks/native/opengl/tests/gl2_jni/jni/ |
H A D | gl_code.cpp | 152 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height); 156 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 158 setupGraphics(width, height);
|
/frameworks/native/opengl/tests/gldual/jni/ |
H A D | gl_code.cpp | 152 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height); 156 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height)
argument 158 setupGraphics(width, height);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | HeaderScrollingViewBehavior.java | 54 final int childLpHeight = child.getLayoutParams().height; 57 // If the menu's height is set to match_parent/wrap_content then measure it 58 // with the maximum visible height 78 // If the measure spec doesn't specify a size, use the current height 82 final int height = availableHeight - header.getMeasuredHeight() 84 final int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(height, 89 // Now measure the scrolling view with the correct height
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 67 int height) { 69 mRenderThread.setSize(width, height); 74 int height) { 75 mRenderThread.setSize(width, height); 353 public void setSize(int width, int height) { argument 357 mHeight = height; 66 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument 73 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LogicalDisplay.java | 231 mBaseDisplayInfo.appHeight = deviceInfo.height; 233 mBaseDisplayInfo.logicalHeight = deviceInfo.height; 251 mBaseDisplayInfo.smallestNominalAppHeight = deviceInfo.height; 253 mBaseDisplayInfo.largestNominalAppHeight = deviceInfo.height; 319 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width; 320 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height; 322 // Determine whether the width or height is more constrained to be scaled.
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvRemoteService.java | 95 String name, int width, int height, 99 ", width: " + width + ", height: " + height + ", maxPointers: " + maxPointers); 111 UinputBridge inputBridge = new UinputBridge(token, name, width, height, maxPointers); 264 int width, int height, int maxPointers) { 268 ", height: " + height + ", maxPointers: " + maxPointers); 273 mService.openInputBridgeInternalLocked(provider, token, name, width, height, 94 openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument 263 openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 73 * @param height the height of the rectangle 76 public static Quad fromRect(float x, float y, float width, float height) { argument 79 new PointF(x, y + height), 80 new PointF(x + width, y + height)); 84 * Return a Quad that spans the specified points and height. 86 * The returned Quad has the specified top-left and top-right points, and the specified height 91 * @param height the height of the quad 92 * @return Quad that spans the specified points and height 94 fromLineAndHeight(PointF topLeft, PointF topRight, float height) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 637 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { 647 if (lp.height == 0 && lp.weight > 0) { 651 // with a height of 0 653 lp.height = LayoutParams.WRAP_CONTENT; 665 lp.height = oldHeight; 763 // Check against our minimum height 801 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { 902 // Temporarily force children to reuse their old measured height 904 int oldHeight = lp.height; 905 lp.height 1644 setChildFrame(View child, int left, int top, int width, int height) argument 1794 LayoutParams(int width, int height) argument 1809 LayoutParams(int width, int height, float weight) argument [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | SoftVideoDecoderOMXComponent.h | 41 int32_t height, 115 bool *portWillReset, uint32_t width, uint32_t height,
|
/frameworks/base/core/java/android/app/ |
H A D | IWallpaperManager.aidl | 89 * minimum width and height for the wallpaper. 91 void setDimensionHints(in int width, in int height, in String callingPackage); 99 * Returns the desired minimum height for the wallpaper.
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SurfaceTextureRenderer.java | 74 int height; field in class:SurfaceTextureRenderer.EGLSurfaceHolder 251 private void drawFrame(SurfaceTexture st, int width, int height, int flipType) { argument 274 RectF output = new RectF(/*left*/0, /*top*/0, /*right*/width, /*bottom*/height); 282 float scaleY = intermediate.height() / output.height(); 292 width + "x" + height + " surface, intermediate buffer size is " + texWidth + 297 GLES20.glViewport(0, 0, width, height); 477 int length = holder.width * holder.height; 482 EGL14.EGL_HEIGHT, holder.height, 579 path.append(String.format("_%d_%d", surface.width, surface.height)); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListViewHeight.java | 57 // Clicking this button will show the list view and set it to a fixed height 61 // set listview to fixed height 64 lp.height = 200; 73 // Clicking this button will show the list view and set it match_parent height 74 // If you then hide the views, there is an NPE when calculating the ListView height. 80 lp.height = lp.MATCH_PARENT;
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | LayerUpdateQueueTests.cpp | 32 // sync node properties, so properties() reflects correct width and height 33 static sp<RenderNode> createSyncedNode(uint32_t width, uint32_t height) { argument 34 sp<RenderNode> node = TestUtils::createNode(0, 0, width, height, nullptr);
|