Searched refs:height (Results 126 - 150 of 757) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DPopupWindow.java264 * @param height the popup's height
266 public PopupWindow(int width, int height) { argument
267 this(null, width, height);
280 * @param height the popup's height
282 public PopupWindow(View contentView, int width, int height) { argument
283 this(contentView, width, height, false);
295 * @param height the popup's height
298 PopupWindow(View contentView, int width, int height, boolean focusable) argument
757 setHeight(int height) argument
1336 update(int width, int height) argument
1353 update(int x, int y, int width, int height) argument
1370 update(int x, int y, int width, int height, boolean force) argument
1438 update(View anchor, int width, int height) argument
1457 update(View anchor, int xoff, int yoff, int width, int height) argument
1461 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument
[all...]
H A DScrollView.java289 * Indicates this ScrollView whether it should stretch its content height to fill
292 * @param fillViewport True to stretch the content's height to the viewport's
334 int height = getMeasuredHeight();
335 if (child.getMeasuredHeight() < height) {
340 height -= mPaddingTop;
341 height -= mPaddingBottom;
343 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
935 int height = getHeight();
938 mTempRect.top = getScrollY() + height;
942 if (mTempRect.top + height > vie
1095 isWithinDeltaOfScreen(View descendant, int delta, int height) argument
[all...]
/frameworks/base/libs/hwui/
H A DLayer.h75 const float texY = 1.0f / float(texture.height);
76 const float height = layer.getHeight(); local
78 regionRect.left * texX, (height - regionRect.top) * texY,
79 regionRect.right * texX, (height - regionRect.bottom) * texY);
98 return texture.height;
105 * @param height The new height of the layer
110 bool resize(const uint32_t width, const uint32_t height);
112 void setSize(uint32_t width, uint32_t height) { argument
114 texture.height
[all...]
H A DTextureCache.h127 void uploadLoFiTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height);
128 void uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height,
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp127 size.height = -1;
178 mVideoSize.height = -1;
220 * Check to see whether the requested video width and height is one
223 * @param height the video frame height in pixels
225 * @return true if the dimension (width and height) is supported.
228 int32_t width, int32_t height,
234 height == supportedSizes[i].height) {
291 * (width and height) an
227 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
304 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
380 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaPropertiesTest.java74 int videoProfile, int videoLevel, int width, int height, int audioCodecType,
87 assertEquals("Video height " + mvi.getHeight(), height, mvi.getHeight());
121 int width, int height, MediaImageItem mii)
125 assertEquals("Image height " + mii.getHeight(), height, mii.getHeight());
150 final int height = MediaProperties.HEIGHT_480;
157 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType,
182 final int height = MediaProperties.HEIGHT_480;
189 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecTyp
72 validateVideoProperties(int aspectRatio, int fileType, int videoCodecType, int duration, int videoBitrate, int fps, int videoProfile, int videoLevel, int width, int height, int audioCodecType, int audioSamplingFrequency, int audioChannel, int audioBitrate, MediaVideoItem mvi) argument
120 validateImageProperties(int aspectRatio, int fileType, int width, int height, MediaImageItem mii) argument
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DOverlayDisplayWindow.java95 int width, int height, int densityDpi, int gravity, Listener listener) {
99 mHeight = height;
185 mTextureView.getLayoutParams().height = mHeight;
229 int height = (int)(mHeight * scale);
231 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale);
233 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height));
239 + ", width=" + width + ", height=" + height);
248 mWindowParams.height = height;
94 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, Listener listener) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp42 fprintf(stderr, " -t height in pixels (default: 144)\n");
54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
56 mHeight(height),
60 mSize((width * height * 3) / 2) {
157 int height = 144; local
213 height = atoi(optarg);
264 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
279 enc_meta->setInt32(kKeyHeight, height);
283 enc_meta->setInt32(kKeySliceHeight, height);
/frameworks/av/media/libstagefright/include/
H A Davc_utils.h42 int32_t *width, int32_t *height,
67 const uint8_t *data, size_t size, int32_t *width, int32_t *height);
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp202 size_t *width, size_t *height, size_t *framesPerSecond,
220 if (height) {
221 *height = config->height;
375 size_t width, height, framesPerSecond; local
380 &width, &height, &framesPerSecond, &interlaced)) {
391 i, j, width, height, interlaced ? 'i' : 'p', framesPerSecond);
393 uint32_t score = width * height * framesPerSecond;
199 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
H A DVideoFormats.h40 size_t width, height, framesPerSecond; member in struct:android::VideoFormats::config_t
80 size_t *width, size_t *height, size_t *framesPerSecond,
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3OutputStream.cpp36 uint32_t width, uint32_t height, int format) :
37 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height,
50 uint32_t width, uint32_t height, size_t maxSize, int format) :
51 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize,
69 uint32_t width, uint32_t height,
71 Camera3IOStreamBase(id, type, width, height,
279 camera3_stream::width, camera3_stream::height,
290 __FUNCTION__, camera3_stream::width, camera3_stream::height,
34 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format) argument
48 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, size_t maxSize, int format) argument
68 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format) argument
/frameworks/base/core/java/android/app/
H A DIWallpaperManager.aidl61 * minimum width and height for the wallpaper.
63 void setDimensionHints(in int width, in int height);
71 * Returns the desired minimum height for the wallpaper.
/frameworks/base/core/java/android/view/
H A DGLES20Layer.java33 GLES20Layer(int width, int height, boolean opaque) { argument
34 super(width, height, opaque);
/frameworks/base/media/java/android/media/videoeditor/
H A DEffectKenBurns.java56 if ( (startRect.width() <= 0) || (startRect.height() <= 0) ) {
59 if ( (endRect.width() <= 0) || (endRect.height() <= 0) ) {
H A DMediaVideoItem.java132 (properties.height > maxInputHeight)) {
135 maxInputWidth + " height:" + maxInputHeight +
137 " height:" + properties.height);
169 mHeight = properties.height;
171 properties.height);
283 public Bitmap getThumbnail(int width, int height, long timeMs) { argument
292 if ((width <= 0) || (height <= 0)) {
298 width = height;
299 height
310 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterEffect.java88 protected Frame frameFromTexture(int texId, int width, int height) { argument
90 FrameFormat format = ImageFormat.create(width, height,
H A DSizeChangeEffect.java47 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
50 Frame inputFrame = frameFromTexture(inputTexId, width, height);
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp33 info->height = bm->height();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrackingPatternView.java53 final int height = getHeight();
63 while (y < height) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java57 final int height = getHeight();
64 canvas.drawText(mText, width / 2, height * 2 / 3, paint);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
76 GLJNILib.init(width, height);
/frameworks/native/services/surfaceflinger/tests/resize/
H A Dresize.cpp53 android_memset16((uint16_t*)outBuffer.bits, 0xF800, bpr*outBuffer.height);
57 android_memset16((uint16_t*)outBuffer.bits, 0x07E0, bpr*outBuffer.height);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DCameraWidgetFrame.java123 int height; field in class:CameraWidgetFrame.FixedSizeFrameLayout
133 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
134 setMeasuredDimension(width, height);
216 final int height = root.getHeight();
217 if (mRenderedSize.x == width && mRenderedSize.y == height) {
218 if (DEBUG) Log.d(TAG, String.format("Already rendered at size=%sx%s", width, height));
221 if (width == 0 || height == 0) {
226 mPreview.height = height;
233 final float pvScaleY = (float) thisHeight / height;
[all...]
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp35 for (int32_t y = 0; y < mYUVImage.height(); ++y) {
66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) {
92 CHECK((srcOffsetY + (mYUVImage.height() - 1) * skipY) < srcImage.height());
99 for (int32_t y = 0; y < mYUVImage.height(); ++y) {

Completed in 531 milliseconds

1234567891011>>