/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | RectGridAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override {
|
H A D | SaveLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override {
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | AutoFixFilter.java | 269 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/recents/model/ |
H A D | TaskStack.java | 278 public boolean acceptsDrop(int x, int y, int width, int height, Rect insets, argument 281 getMappedRect(expandedTouchDockArea, width, height, mTmpRect); 284 getMappedRect(touchArea, width, height, mTmpRect); 340 mHintTextBounds.set((int) mHintTextPaint.measureText(mHintText), mTmpRect.height()); 356 int y = bounds.top + (bounds.height() + mHintTextBounds.y) / 2; 462 * Returns the docked task bounds with the given {@param width} and {@param height}. 464 public Rect getPreDockedBounds(int width, int height, Rect insets) { argument 465 getMappedRect(dockArea, width, height, mTmpRect); 471 * {@param height}. 473 public Rect getDockedBounds(int width, int height, in argument 490 getDockedTaskStackBounds(Rect displayRect, int width, int height, int dividerSize, Rect insets, TaskStackLayoutAlgorithm layoutAlgorithm, Resources res, Rect windowRectOut) argument 533 getMappedRect(RectF bounds, int width, int height, Rect out) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 70 if (layoutParams.height != ViewGroup.LayoutParams.MATCH_PARENT) { 71 if (layoutParams.height >= 0) { 72 // An actual height is set 73 childHeightSpec = layoutParams.height > ownMaxHeight 75 : MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); 114 * Sets the actual height of this notification. This is different than the laid out 117 * @param actualHeight The height of this notification. 135 * @return The current actual height of this notification. 142 * @return The maximum height of this notification. 149 * @return The minimum content height o [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardClockPositionAlgorithm.java | 89 int notificationCount, int height, int keyguardStatusHeight, float emptyDragAmount) { 94 mHeight = height; 99 public float getMinStackScrollerPadding(int height, int keyguardStatusHeight) { argument 100 return mClockYFractionMin * height + keyguardStatusHeight / 2 88 setup(int maxKeyguardNotifications, int maxPanelHeight, float expandedHeight, int notificationCount, int height, int keyguardStatusHeight, float emptyDragAmount) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 82 viewState.height = view.getIntrinsicHeight(); 139 int height = view.getActualHeight(); 140 int newHeight = state.height; 142 // apply height 143 if (height != newHeight) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BoundsAnimationController.java | 133 mFrozenTaskHeight = mTo.height(); 136 mFrozenTaskHeight = mFrom.height(); 141 if (mFrom.width() * mFrom.height() > mTo.width() * mTo.height()) {
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoCallImpl.java | 92 public void changePeerDimensions(int width, int height) { argument 98 args.arg2 = height; 175 int height = (int) args.arg2; 176 mCallback.onPeerDimensionsChanged(width, height);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ImageShader.java | 245 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 D | ErrorCalculator.java | 49 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/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 72 public void setFixedSize(int width, int height) {
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
H A D | UI.java | 119 if (prefSize.width > curSize.width || prefSize.height > curSize.height) { 121 Math.max(prefSize.height, curSize.height));
|
/frameworks/native/cmds/flatland/ |
H A D | Composers.cpp | 156 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 D | Flatland.h | 42 uint32_t height; member in struct:android::LayerDesc
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 153 // The width and height parameters must be no greater than the minimum of 156 // updateTexImage() is called. If width and height are both zero, the 357 // outHeight - filled with default height applied to the buffer 367 *outHeight = height; 376 height = inHeight; 383 uint32_t height; member in struct:android::IGraphicBufferProducer::QueueBufferOutput 511 virtual void allocateBuffers(uint32_t width, uint32_t height,
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposerClient.cpp | 58 uint32_t height, PixelFormat format, uint32_t flags, 65 data.writeUint32(height); 145 uint32_t height = data.readUint32(); local 150 status_t result = createSurface(name, width, height, format, 57 createSurface(const String8& name, uint32_t width, uint32_t height, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
H A D | TestView.java | 236 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/opt/net/ims/src/java/com/android/ims/internal/ |
H A D | ImsVideoCallProviderWrapper.java | 101 public void changePeerDimensions(int width, int height) { argument 104 args.arg2 = height; 178 int height = (int) args.arg2; 179 changePeerDimensions(width, height);
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 264 final int height = getHeight(); 265 final int bottom = height; 275 canvas.drawRect(getPaddingLeft(), height - mFullUnderlineHeight, 276 getWidth() - getPaddingRight(), height, mTabPaint);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 140 final int height = mBounds.height(); 142 final int cy = height / 2; 171 mClipRect.set(cx - clearRadius, 0, cx + clearRadius, height);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/ |
H A D | CardViewActivity.java | 90 + "\n w: " + lp.width + "\nh: " + lp.height 98 || lp.height != mHeightSeekBar.getProgress(); 103 lp.height = mHeightSeekBar.getProgress(); 124 mHeightSeekBar.setProgress(mCardView.getLayoutParams().height);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/ |
H A D | CardViewActivity.java | 90 + "\n w: " + lp.width + "\nh: " + lp.height 98 || lp.height != mHeightSeekBar.getProgress(); 103 lp.height = mHeightSeekBar.getProgress(); 124 mHeightSeekBar.setProgress(mCardView.getLayoutParams().height);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BrowseRowsFrameLayout.java | 54 getPaddingTop() + getPaddingBottom() + heightUsed, lp.height);
|
H A D | ScaleFrameLayout.java | 131 final int height = child.getMeasuredHeight(); 162 childTop = parentTop + (parentBottom - parentTop - height) / 2 + 166 childTop = parentBottom - height - lp.bottomMargin; 172 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|