Searched refs:height (Results 176 - 200 of 685) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCache.java57 // Compute the height of the view assuming a cache size based on ARGB8888
58 final int height = 2 * (cacheSize / 2) / screenWidth;
59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height));
H A DViewStubTest.java82 assertEquals("Both stub and inflated should same height",
83 stub.getLayoutParams().height, swapped.getLayoutParams().height);
H A DFocusFinderTest.java51 dest.offset(0, -src.height());
114 rect2.offset(0, rect1.height() - 1);
130 rect2.offset(0, -(rect1.height() - 1));
187 directlyAbove.offset(0, -(1 + src.height()));
190 aboveLeft.offset(-(1 + src.width()), -(1 + src.height()));
200 directlyAbove.offset(0, -(1 + src.height()));
203 aboveLeft.offset(-(1 + src.width()), -(1 + src.height()));
216 aboveLeftOfBeam.offset(-(src.width() + 1), -src.height());
220 aboveInBeam.offset(0, -src.height());
227 aboveInBeam.offset(0, -(aboveLeftOfBeam.height()
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java62 public Canvas beginRecording(int width, int height) { argument
63 int ni = nativeBeginRecording(mNativePicture, width, height);
88 * Get the height of the picture as passed to beginRecording. This
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java60 int height = mInPixelsAllocation.getType().getY();
63 int noiseH = findHighBit(height);
H A DMandelbrot.java84 int height = mOutPixelsAllocation.getType().getY();
88 mScript.set_gDimY(height);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DGrain.java55 int height = mInPixelsAllocation.getType().getY();
58 int noiseH = findHighBit(height);
H A DMandelbrot.java79 int height = mOutPixelsAllocation.getType().getY();
83 mScript.set_gDimY(height);
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java47 RsYuv(RenderScript rs, Resources res, int width, int height) { argument
48 mHeight = height;
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java83 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
84 GLES20.glViewport(0, 0, width, height);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterGraphEffect.java87 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
93 src.setInputValue("height", height);
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java142 int height = bottom - top;
148 lp = new AbsoluteLayout.LayoutParams(width, height, left, top);
151 || (lp.height != height)) {
156 lp.height = height;
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp75 int width, height; local
85 if (!decoder->buildTileIndex(stream, &width, &height)) {
93 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, stream, width, height);
184 int start_x, int start_y, int width, int height, jobject options) {
223 region.fBottom = start_y + height;
243 env->SetIntField(options, gOptions_heightFieldID, bitmap->height());
183 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
/frameworks/base/services/java/com/android/server/display/
H A DLogicalDisplay.java196 mBaseDisplayInfo.appHeight = deviceInfo.height;
198 mBaseDisplayInfo.logicalHeight = deviceInfo.height;
205 mBaseDisplayInfo.smallestNominalAppHeight = deviceInfo.height;
207 mBaseDisplayInfo.largestNominalAppHeight = deviceInfo.height;
263 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width;
264 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height;
266 // Determine whether the width or height is more constrained to be scaled.
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 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 DIconLoader.java239 int height = data[valueIndex++] & 0xFF;
240 int numOfPixels = width*height;
259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
290 int height = data[valueIndex++] & 0xFF;
298 int numOfPixels = width * height;
321 return Bitmap.createBitmap(pixels, width, height,
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
28 (0 <= height) && (height <= SL_MILLIMETER_MAX) &&
35 thiz->mSize.mHeight = height;
56 SLmillimeter height = thiz->mSize.mHeight; local
60 *pHeight = height;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java184 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/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_conceal.c130 u32 width, height; local
143 height = currImage->height;
176 H264SwDecMemset(currImage->data, 128, width*height*384);
178 H264SwDecMemcpy(currImage->data, refData, width*height*384);
225 for (i = row + 1; i < height; i++)
262 u32 width, height; local
282 ASSERT(row < currImage->height);
288 height = currImage->height;
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp42 uint32_t height; member in struct:android::CpuConsumerTestParams
48 return os << "[ (" << p.width << ", " << p.height << "), B:"
62 params.width, params.height,
197 // Blocks need to be even-width/height, aim for 8-wide otherwise
222 uint32_t h = buf.height;
275 params.width, params.height, params.format);
320 fillYV12Buffer(img, params.width, params.height, *stride);
323 fillBayerRawBuffer(img, params.width, params.height, buf->getStride());
367 EXPECT_EQ(params.height, b.height);
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java83 * or after it may need to be invalidated. e.g. if the item's height or the number
138 public int height; field in class:StaggeredGridView.LayoutRecord
182 String result = "LayoutRecord{c=" + column + ", id=" + id + " h=" + height +
468 final int height = getHeight();
470 final int clearBelow = height + mItemMargin;
626 Log.e(TAG, "onMeasure: must have an exact height or match_parent! " +
650 final int height = b - t;
651 mTopEdge.setSize(width, height);
652 mBottomEdge.setSize(width, height);
781 if (lp.height
1415 LayoutParams(int height) argument
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java279 int height = mIconHeight;
287 painter.setIntrinsicHeight(height);
290 if (width > 0 && height > 0) {
291 if (width < iconWidth || height < iconHeight) {
295 height = (int) (width / ratio);
297 width = (int) (height * ratio);
312 final int y = (mIconHeight - height) / 2;
313 icon.setBounds(x, y, x + width, y + height);
318 } else if (iconWidth < width && iconHeight < height) {
325 final int y = (height
[all...]
H A DMediaRouteButton.java171 final int height = getHeight();
172 final int midy = screenPos[1] + height / 2;
176 if (midy < displayFrame.height()) {
179 screenWidth - screenPos[0] - width / 2, height);
182 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height);
355 int height;
358 height = heightSize;
361 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom());
365 height = minHeight + getPaddingTop() + getPaddingBottom();
369 setMeasuredDimension(width, height);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java42 * A layout that switches between its children based on the requested layout height.
43 * Each child specifies its minimum and maximum valid height. Results are undefined
44 * if children specify overlapping ranges. A child may specify the maximum height
174 int height = Math.max(heightIn, lp.minHeight);
176 height = Math.min(height, lp.maxHeight);
179 if (REPORT_BAD_BOUNDS && heightIn != height) {
182 "clamped to " + height + "px");
185 return height;
188 //TODO extend to width and height
372 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
381 LayoutParams(int width, int height) argument
[all...]

Completed in 434 milliseconds

1234567891011>>