Searched refs:height (Results 451 - 475 of 1081) sorted by relevance

<<11121314151617181920>>

/frameworks/base/libs/hwui/
H A DAssetAtlas.h120 * After calling this method, the width, height
134 * Returns the height of this atlas in pixels.
138 return mTexture ? mTexture->height : 0;
H A DLayerCache.h57 * @param height The desired height of the layer
59 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height);
H A DPatch.cpp41 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch)
96 const float yStretch = std::max(height - fixed, 0.0f);
98 rescaleY = fixed == 0.0f ? 0.0f : std::min(std::max(height, 0.0f) / fixed, 1.0f);
137 y2 = height;
40 Patch(const float bitmapWidth, const float bitmapHeight, float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) argument
H A DPatch.h43 float width, float height,
H A DTextDropShadowCache.cpp194 texture->height = shadow.height;
198 const uint32_t size = shadow.width * shadow.height;
214 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texture->width, texture->height, 0,
H A DTexture.h77 uint32_t height = 0; member in class:android::uirenderer::Texture
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java269 private void createHistogramFrame(FilterContext context, int width, int height, int[] data) { argument
274 int y_border_thickness = (int) (height * border_thickness_ratio);
276 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
279 for (int y = y_border_thickness; y < height - y_border_thickness; ++y) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java67 // We have a height set in our layout, so we want to be at most as big as given
80 if (layoutParams.height != ViewGroup.LayoutParams.MATCH_PARENT) {
81 if (layoutParams.height >= 0) {
82 // An actual height is set
83 childHeightSpec = layoutParams.height > ownMaxHeight
85 : MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY);
125 * Resets the height of the view on the next layout pass
161 * Sets the actual height of this notification. This is different than the laid out
164 * @param actualHeight The height of this notification.
183 * @return The current actual height o
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DVideoCallImpl.java82 public void changePeerDimensions(int width, int height) { argument
85 args.arg2 = height;
153 int height = (int) args.arg2;
154 mCallback.onPeerDimensionsChanged(width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java245 int height) {
247 shader.process(texture, target, width, height);
277 public void process(TextureSource texture, RenderTarget target, int width, int height) { argument
278 processMulti(new TextureSource[] { texture }, target, width, height);
281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) { argument
285 focusTarget(target, width, height);
297 public void processNoInput(RenderTarget target, int width, int height) { argument
298 processMulti(new TextureSource[] {}, target, width, height);
411 public void setSourceRect(float x, float y, float width, float height) { argument
412 setSourceCoords(new float[] { x, y, x + width, y, x, y + height,
242 renderTextureToTarget(TextureSource texture, RenderTarget target, int width, int height) argument
453 setTargetRect(float x, float y, float width, float height) argument
604 focusTarget(RenderTarget target, int width, int height) argument
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java49 int height = resources.getDimensionPixelSize(R.dimen.layer_height);
50 mOutputRowRegions = new int[height / REGION_SIZE];
53 int[] rowIndices = new int[height / REGION_SIZE];
58 mScript.set_HEIGHT(height);
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
H A DFountainRS.java33 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java72 public void setFixedSize(int width, int height) {
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java219 final int height = frameSequence.getHeight();
222 mFrontBitmap = acquireAndValidateBitmap(bitmapProvider, width, height);
223 mBackBitmap = acquireAndValidateBitmap(bitmapProvider, width, height);
224 mSrcRect = new Rect(0, 0, width, height);
/frameworks/native/cmds/flatland/
H A DComposers.cpp156 int32_t h = mLayerDesc.height;
180 int32_t h = mLayerDesc.height;
216 int32_t h = mLayerDesc.height;
255 int32_t h = mLayerDesc.height;
H A DFlatland.h42 uint32_t height; member in struct:android::LayerDesc
/frameworks/native/include/gui/
H A DCpuConsumer.h49 uint32_t height; member in struct:android::CpuConsumer::LockedBuffer
H A DIGraphicBufferProducer.h132 // The width and height parameters must be no greater than the minimum of
135 // updateTexImage() is called. If width and height are both zero, the
331 // outHeight - filled with default height applied to the buffer
340 *outHeight = height;
347 height = inHeight;
353 uint32_t height; member in struct:android::IGraphicBufferProducer::QueueBufferOutput
460 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h75 uint32_t height; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java236 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
237 gl.glViewport(0, 0, width, height);
240 gl.glOrthof(0, width, height, 0, -1, 1);
242 createGrid(gl, width, height);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.h50 GLuint height; member in struct:android::GLES20RenderEngine::Group
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java263 final int height = getHeight();
264 final int bottom = height;
274 canvas.drawRect(getPaddingLeft(), height - mFullUnderlineHeight,
275 getWidth() - getPaddingRight(), height, mTabPaint);
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java140 final int height = mBounds.height();
142 final int cy = height / 2;
171 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java762 * Retrieve the current height of the ActionBar.
764 * @return The ActionBar's height
968 * current measured {@link #getHeight() height} (fully invisible).</p>
981 * current measured {@link #getHeight() height} (fully invisible).</p>
1327 public LayoutParams(int width, int height) { argument
1328 super(width, height);
1332 public LayoutParams(int width, int height, int gravity) { argument
1333 super(width, height);
/frameworks/base/core/java/android/app/
H A DActivityView.java301 int height) {
305 if (DEBUG) Log.d(TAG, "onSurfaceTextureAvailable: width=" + width + " height="
306 + height);
308 mHeight = height;
317 int height) {
321 if (DEBUG) Log.d(TAG, "onSurfaceTextureSizeChanged: w=" + width + " h=" + height);
404 void setSurface(Surface surface, int width, int height, int density) argument
406 mIActivityContainer.setSurface(surface, width, height, density);
300 onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) argument
316 onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) argument

Completed in 787 milliseconds

<<11121314151617181920>>