/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Blur25G.java | 59 int height = mInPixelsAllocation.getType().getY(); 63 tb.setY(height);
|
H A D | Grain.java | 60 int height = mInPixelsAllocation.getType().getY(); 63 int noiseH = findHighBit(height);
|
H A D | Mandelbrot.java | 83 int height = mOutPixelsAllocation.getType().getY(); 87 mScript.set_gDimY(height);
|
H A D | threshold.rs | 20 int height; 81 if ((y > radius) && (y < (height - radius))) { 88 int validH = rsClamp((int)y + r, (int)0, (int)(height - 1));
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blur25G.java | 65 int height = mInPixelsAllocation.getType().getY(); 69 tb.setY(height);
|
H A D | Grain.java | 65 int height = mInPixelsAllocation.getType().getY(); 68 int noiseH = findHighBit(height);
|
H A D | Mandelbrot.java | 83 int height = mOutPixelsAllocation.getType().getY(); 87 mScript.set_gDimY(height);
|
H A D | threshold.rs | 20 int height; 81 if ((y > radius) && (y < (height - radius))) { 88 int validH = clamp((int)y + r, (int)0, (int)(height - 1));
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 442 * Set whether this ScrollView should stretch its content height to fill the viewport or not. 444 * @param fillViewport True to stretch the content's height to the viewport's 495 int height = getMeasuredHeight(); 496 if (child.getMeasuredHeight() < height) { 501 height -= getPaddingTop(); 502 height -= getPaddingBottom(); 504 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 1109 int height = getHeight(); 1112 mTempRect.top = getScrollY() + height; 1116 if (mTempRect.top + height > vie 1269 isWithinDeltaOfScreen(View descendant, int delta, int height) argument [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
H A D | SideInfoCardPresenter.java | 55 int height = (int) getContext().getResources() 60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
|
/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentRelativeLayout.java | 60 * It is not necessary to specify {@code layout_width/height} if you specify {@code 62 * percentage value permits, you can add {@code layout_width/height="wrap_content"}. In that case 67 * You can also make one dimension be a fraction of the other by setting only width or height and 74 * This will make the aspect ratio 16:9 (1.78:1) with the width fixed at 300dp and height adjusted 126 public LayoutParams(int width, int height) { argument 127 super(width, height);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
H A D | SideInfoCardPresenter.java | 55 int height = (int) getContext().getResources() 60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManager.java | 479 int width, int height, int densityDpi, @Nullable Surface surface, int flags) { 480 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null); 509 * @param height The height of the virtual display in pixels, must be greater than 0. 527 int width, int height, int densityDpi, @Nullable Surface surface, int flags, 530 name, width, height, densityDpi, surface, flags, callback, handler); 535 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, 538 name, width, height, densityDpi, surface, flags, callback, handler); 478 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags) argument 526 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument 534 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 135 * @param height Effect height in pixels 137 public void setSize(int width, int height) { argument 141 final float or = height * 0.75f / SIN; 148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h)); 224 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d); 313 * 1.f of height. 325 final float centerY = mBounds.height() - mRadius; 348 * Return the maximum height that the edge effect will be drawn at given the original 350 * @return The maximum height o [all...] |
/frameworks/base/libs/hwui/ |
H A D | Layer.cpp | 99 bool Layer::resize(const uint32_t width, const uint32_t height) { argument 101 uint32_t desiredHeight = computeIdealWidth(height); 225 const float height = layer.getHeight(); local 228 dirtyRect.right >= width && dirtyRect.bottom >= height)) { 229 dirtyRect.set(0, 0, width, height); 237 renderer->setupFrameState(width, height, dirtyRect.left, dirtyRect.top,
|
H A D | Layer.h | 100 const float height = layer.getHeight(); local 102 regionRect.left * texX, (height - regionRect.top) * texY, 103 regionRect.right * texX, (height - regionRect.bottom) * texY); 127 * @param height The new height of the layer 132 bool resize(const uint32_t width, const uint32_t height); 134 void setSize(uint32_t width, uint32_t height) { argument 135 texture.updateSize(width, height, texture.format());
|
H A D | TessellationCache.h | 71 float height; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect 158 float width, float height, float rx, float ry) { 159 getRoundRectBuffer(transform, paint, width, height, rx, ry); 162 float width, float height, float rx, float ry); 188 float width, float height); 190 float width, float height, float rx, float ry); 157 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 184 public void setSourceRect(float x, float y, float width, float height) { argument 185 setSourceRegion(x, y, x + width, y, x, y + height, x + width, y + height); 188 public void setTargetRect(float x, float y, float width, float height) { argument 189 setTargetRegion(x, y, x + width, y, x, y + height, x + width, y + height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcutKeysLayout.java | 48 int height = MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); 55 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 80 height = yPos + lineHeight; 82 if (yPos + lineHeight < height) { 83 height = yPos + lineHeight; 86 setMeasuredDimension(width, height);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 123 int width = 0, height = 0; 129 height = frame.height(); 136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) { 142 mSurfaceHeight = height;
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 83 void init_scene(int width, int height) argument 93 float ratio = width / height; 94 glViewport(0, 0, width, height); 138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height); 143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 145 init_scene(width, height);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | IconLoader.java | 242 int height = data[valueIndex++] & 0xFF; 243 int numOfPixels = width*height; 262 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); 293 int height = data[valueIndex++] & 0xFF; 301 int numOfPixels = width * height; 324 return Bitmap.createBitmap(pixels, width, height,
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsRS.java | 95 private void createPF(int width, int height) { argument 104 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 108 createPF(width, height); 119 mGrid = ScriptField_BallGrid.create2D(mRS, (width + 99) / 100, (height + 99) / 100); 141 mPhysicsScript.set_gMaxPos(new Float2(width - 5, height - 5)); 144 mScript.invoke_initParts(width, height);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | threshold.rs | 20 int height; 81 if ((y > radius) && (y < (height - radius))) { 88 int validH = clamp((int)y + r, (int)0, (int)(height - 1));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | TestedFrameLayout.java | 68 } else if (lp.height == LayoutParams.MATCH_PARENT) { 69 final int height = Math.max(0, getMeasuredHeight() 71 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 74 lp.topMargin + lp.bottomMargin, lp.height); 210 public FullControlLayoutParams(int width, int height) { argument 211 super(width, height);
|