Searched refs:height (Results 51 - 75 of 1472) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java34 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAsyncStructure.java39 final int height = getHeight();
50 child.setDimens(width / 4, height / 4, 0, 0, width / 2, height / 2);
/frameworks/support/wear/src/android/support/wear/widget/
H A DCurvingLayoutCallback.java112 * child height on the vertical axis (vertical center).
129 private void maybeSetUpCircularInitialLayout(int width, int height) { argument
131 if (mCurvePathHeight != height) {
132 mCurvePathHeight = height;
133 mCurveBottom = -0.048f * height;
134 mCurveTop = 1.048f * height;
138 mCurvePath.lineTo(0.34f * width, 0.075f * height);
140 0.22f * width, 0.17f * height, 0.13f * width, 0.32f * height, 0.13f * width,
141 height /
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java57 final int height = boundsView.getHeight();
59 int top = height;
97 mBackgroundFallback.setBounds(0, top, left, height);
101 mBackgroundFallback.setBounds(right, top, width, height);
104 if (bottom < height) {
105 mBackgroundFallback.setBounds(left, bottom, right, height);
/frameworks/base/libs/hwui/
H A DPixelBuffer.h68 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
107 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
117 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument
118 upload(x, y, width, height, getOffset(x, y));
129 * Returns the height of the render buffer in pixels.
190 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
191 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h81 float height() const { return height_; } function in class:android::filterfw::SlantedRect
89 float x, y, width, height; member in struct:android::filterfw::Rect
93 width = height = 1.0f;
96 Rect(float x, float y, float width, float height) { argument
100 this->height = height;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java32 * @param height pixel height of the display
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
47 displayRect.bottom = height;
/frameworks/base/core/jni/android/graphics/
H A DPicture.h41 Canvas* beginRecording(int width, int height);
47 int height() const;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp45 uint32_t height = computeIdealDimension(viewportHeight); local
46 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height);
48 texture.resize(width, height, caches.rgbaInternalFormat(), GL_RGBA);
56 const float texY = 1.0f / static_cast<float>(texture.height());
78 const float texY = 1.0f / float(texture.height());
107 ATRACE_FORMAT("Destroy %ux%u HW Layer", texture.width(), texture.height());
130 return int(lhs.height) - int(rhs.height);
142 const uint32_t width, const uint32_t height) {
145 Entry entry(width, height);
141 get(RenderState& renderState, const uint32_t width, const uint32_t height) argument
163 resize(OffscreenBuffer* layer, const uint32_t width, const uint32_t height) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DBlur.h39 uint8_t* dest, int32_t width, int32_t height);
41 uint8_t* dest, int32_t width, int32_t height);
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java75 int height = texture.getHeight();
79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height,
85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height)
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
117 public ETC1Texture(int width, int height, ByteBuffer data) { argument
119 mHeight = height;
130 * Get the height of the texture in pixels.
154 int height = 0;
167 height
192 compressTexture(Buffer input, int width, int height, int pixelSize, int stride) argument
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java64 int width, int height, int gravity) {
68 mHeight = height;
73 int width, int height, int gravity) {
75 return new JellybeanMr1Impl(context, name, width, height, gravity);
77 return new LegacyImpl(context, name, width, height, gravity);
93 public abstract void updateAspectRatio(int width, int height); argument
115 int width, int height, int gravity) {
116 super(context, name, width, height, gravity);
141 int height = (int)(display.getHeight() * INITIAL_SCALE);
143 height
63 OverlayDisplayWindow(Context context, String name, int width, int height, int gravity) argument
72 create(Context context, String name, int width, int height, int gravity) argument
114 LegacyImpl(Context context, String name, int width, int height, int gravity) argument
170 updateAspectRatio(int width, int height) argument
212 JellybeanMr1Impl(Context context, String name, int width, int height, int gravity) argument
253 updateAspectRatio(int width, int height) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java64 int width, int height, int gravity) {
68 mHeight = height;
73 int width, int height, int gravity) {
75 return new JellybeanMr1Impl(context, name, width, height, gravity);
77 return new LegacyImpl(context, name, width, height, gravity);
93 public abstract void updateAspectRatio(int width, int height); argument
115 int width, int height, int gravity) {
116 super(context, name, width, height, gravity);
141 int height = (int)(display.getHeight() * INITIAL_SCALE);
143 height
63 OverlayDisplayWindow(Context context, String name, int width, int height, int gravity) argument
72 create(Context context, String name, int width, int height, int gravity) argument
114 LegacyImpl(Context context, String name, int width, int height, int gravity) argument
170 updateAspectRatio(int width, int height) argument
212 JellybeanMr1Impl(Context context, String name, int width, int height, int gravity) argument
253 updateAspectRatio(int width, int height) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DVideoFragment.java55 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
57 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
87 protected void onVideoSizeChanged(int width, int height) { argument
92 if (screenWidth * height > width * screenHeight) {
93 // fit in screen height
94 p.height = screenHeight;
95 p.width = screenHeight * width / height;
99 p.height = screenWidth * height / width;
H A DVideoSupportFragment.java58 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
60 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
90 protected void onVideoSizeChanged(int width, int height) { argument
95 if (screenWidth * height > width * screenHeight) {
96 // fit in screen height
97 p.height = screenHeight;
98 p.width = screenHeight * width / height;
102 p.height = screenWidth * height / width;
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp43 status_t FrameOutput::createInputSurface(int width, int height, argument
47 err = mEglWindow.createPbuffer(width, height);
53 glViewport(0, 0, width, height);
76 mGlConsumer->setDefaultBufferSize(width, height);
82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel];
124 int height = mEglWindow.getHeight(); local
126 width, height, true);
139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf);
147 reduceRgbaToRgb(mPixelBuf, width * height);
155 size_t rgbDataLen = width * height * kOutBytesPerPixe
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java40 for (int height = width * 2; height < width * 4; height++) {
45 for (int i = 0; i < height; i++) {
58 if (i == height / 2) {
67 if (i == height / 2) {
77 for (int i = 0; i < height; i++) {
91 for (int i = 0; i < height; i++) {
107 for (int i = 0; i < height; i++) {
129 for (int i = 0; i < height;
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp69 rec.width, rec.stride, rec.height, rec.layerCount, rec.format,
75 rec.width, rec.stride, rec.height, rec.layerCount, rec.format,
95 status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height, argument
104 if (!width || !height)
105 width = height = 1;
113 info.height = height;
125 rec.height = height;
130 rec.size = static_cast<size_t>(height * (*strid
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java108 Bitmap(long nativeBitmap, int width, int height, int density, argument
116 mHeight = height;
143 * width/height values
146 void reinit(int width, int height, boolean requestPremultiplied) { argument
148 mHeight = height;
198 * <p>Modifies the bitmap to have a specified width, height, and {@link
246 public void reconfigure(int width, int height, Config config) { argument
248 if (width <= 0 || height <= 0) {
249 throw new IllegalArgumentException("width and height must be > 0");
255 nativeReconfigure(mNativePtr, width, height, confi
289 setHeight(int height) argument
409 checkWidthHeight(int width, int height) argument
737 createBitmap(@onNull Bitmap source, int x, int y, int width, int height) argument
766 createBitmap(@onNull Bitmap source, int x, int y, int width, int height, @Nullable Matrix m, boolean filter) argument
878 createBitmap(int width, int height, @NonNull Config config) argument
896 createBitmap(@ullable DisplayMetrics display, int width, int height, @NonNull Config config) argument
916 createBitmap(int width, int height, @NonNull Config config, boolean hasAlpha) argument
943 createBitmap(int width, int height, @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) argument
966 createBitmap(@ullable DisplayMetrics display, int width, int height, @NonNull Config config, boolean hasAlpha) argument
998 createBitmap(@ullable DisplayMetrics display, int width, int height, @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) argument
1063 createBitmap(@onNull @olorInt int[] colors, int offset, int stride, int width, int height, @NonNull Config config) argument
1090 createBitmap(@onNull DisplayMetrics display, @NonNull @ColorInt int[] colors, int offset, int stride, int width, int height, @NonNull Config config) argument
1131 createBitmap(@onNull @olorInt int[] colors, int width, int height, Config config) argument
1155 createBitmap(@ullable DisplayMetrics display, @NonNull @ColorInt int colors[], int width, int height, @NonNull Config config) argument
1639 getPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1681 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1756 setPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1917 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable, @Nullable @Size(9) float[] xyzD50, @Nullable ColorSpace.Rgb.TransferParameters p) argument
1928 nativeReconfigure(long nativeBitmap, int width, int height, int config, boolean isPremultiplied) argument
1939 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1944 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/av/camera/
H A DCameraParameters2.cpp219 int width, height;
220 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
226 sizes.push(Size(width, height));
235 void CameraParameters2::setPreviewSize(int width, int height)
238 sprintf(str, "%dx%d", width, height);
242 void CameraParameters2::getPreviewSize(int *width, int *height) const
244 *width = *height = -1;
248 parse_pair(p, width, height, 'x');
251 void CameraParameters2::getPreferredPreviewSizeForVideo(int *width, int *height) const
253 *width = *height
[all...]
/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h28 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|.
34 int width, int height, int format, int rotation, int usage, bool reconnect);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp32 height = luminance VOP height in pixels (int)
119 int height, /* i */
160 else if (nmvy > (height >> 4) - 1)
162 nmvy = (height >> 4) - 1;
176 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 4) - 1))
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c55 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
68 * roi.width or roi.height is out of range {2,4,8}.
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c55 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
68 * roi.width or roi.height is out of range {2,4,8}.
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c56 * roi.height must be equal to either 2, 4, or 8.
71 * roi.width or roi.height is out of range {2,4,8}.
99 armRetArgErrIf((roi.height != 2) && (roi.height != 4) && (roi.height != 8), OMX_Sts_BadArgErr)
107 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);

Completed in 860 milliseconds

1234567891011>>