Searched refs:width (Results 126 - 150 of 658) sorted by relevance

1234567891011>>

/frameworks/native/include/android/
H A Dbitmap.h41 uint32_t width; member in struct:__anon1353
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp75 mVideoWidth = videoSize.width;
78 if (!trySettingVideoSize(videoSize.width, videoSize.height)) {
110 int32_t width, int32_t height) {
128 int32_t pictureWidth = supportedSizes[i].width;
131 if ((pictureWidth == width) && (pictureHeight == height)) {
138 ALOGV("Video size (%d, %d) is supported", width, height);
140 params.setVideoSize(width, height);
142 params.setPreviewSize(width, height);
147 ALOGE("Failed to set preview size to %dx%d", width, height);
109 trySettingVideoSize( int32_t width, int32_t height) argument
H A DCameraSource.cpp122 size.width = -1;
167 mVideoSize.width = -1;
209 * Check to see whether the requested video width and height is one
211 * @param width the video frame width in pixels
214 * @return true if the dimension (width and height) is supported.
217 int32_t width, int32_t height,
222 if (width == supportedSizes[i].width &&
280 * (width an
216 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
293 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
369 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
80 Int width = video->currVop->width; /* padding */ local
102 else if (imin >= width - 1)
113 else if (imin >= width - 16)
195 Int width = video->currVop->width; /* , padding */ local
222 else if (imin >= width - 1)
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java261 * @param width the popup's width
264 public PopupWindow(int width, int height) { argument
265 this(null, width, height);
277 * @param width the popup's width
280 public PopupWindow(View contentView, int width, int height) { argument
281 this(contentView, width, height, false);
292 * @param width the popup's width
296 PopupWindow(View contentView, int width, int height, boolean focusable) argument
781 setWidth(int width) argument
1321 update(int width, int height) argument
1338 update(int x, int y, int width, int height) argument
1355 update(int x, int y, int width, int height, boolean force) argument
1422 update(View anchor, int width, int height) argument
1441 update(View anchor, int xoff, int yoff, int width, int height) argument
1445 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int 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,
88 assertEquals("Video width " + mvi.getWidth(), width, mvi.getWidth());
121 int width, int height, MediaImageItem mii)
126 assertEquals("Image width " + mii.getWidth(), width, mii.getWidth());
149 final int width = 854;
157 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType,
181 final int width = 800;
189 videoBitrate, fps, videoProfile, videoLevel, width, heigh
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/core/jni/android/graphics/
H A DNinePatchImpl.cpp78 } else if (src.width() == 1 && src.height() == 1) {
146 ALOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()));
147 ALOGV("======== ninepatch paint bm [%d,%d]\n", bitmap.width(), bitmap.height());
154 bitmap.width() == 0 || bitmap.height() == 0 ||
186 const int bitmapWidth = bitmap.width();
205 bitmap.width(), bitmap.height(),
207 SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()),
309 src.fLeft, src.fTop, src.width(), src.height(),
311 SkScalarToFloat(dst.width()), SkScalarToFloat(dst.height()));
312 if (2 == src.width()
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp41 fprintf(stderr, " -w width in pixels (default: 176)\n");
53 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
54 : mWidth(width),
59 mSize((width * height * 3) / 2) {
155 int width = 176; local
205 width = atoi(optarg);
250 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
264 enc_meta->setInt32(kKeyWidth, width);
268 enc_meta->setInt32(kKeyStride, width);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.h69 u8 *pImage, u32 width,
73 u32 width, u32 constrainedIntraPred);
/frameworks/av/media/libstagefright/include/
H A Davc_utils.h40 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height);
64 const uint8_t *data, size_t size, int32_t *width, int32_t *height);
/frameworks/base/core/java/android/app/
H A DIWallpaperManager.aidl56 * minimum width and height for the wallpaper.
58 void setDimensionHints(in int width, in int height);
61 * Returns the desired minimum width for the wallpaper.
/frameworks/base/core/java/android/text/
H A DMeasuredText.java229 int breakText(int limit, boolean forwards, float width) { argument
234 width -= w[i];
235 if (width < 0.0f) break;
243 width -= w[i];
244 if (width < 0.0f) break;
253 float width = 0;
256 width += w[i];
258 return width;
/frameworks/base/core/java/android/webkit/
H A DOverScrollGlow.java161 final int width = mHostView.getWidth();
169 mEdgeGlowTop.setSize(width, height);
176 canvas.translate(-width + scrollX, Math.max(mHostView.computeMaxScrollY(), scrollY)
178 canvas.rotate(180, width, 0);
179 mEdgeGlowBottom.setSize(width, height);
188 mEdgeGlowLeft.setSize(height, width);
197 -(Math.max(mHostView.computeMaxScrollX(), scrollX) + width));
198 mEdgeGlowRight.setSize(height, width);
/frameworks/base/libs/hwui/
H A DLayerCache.h56 * @param width The desired width of the layer
57 * @param width The desired height of the layer
59 Layer* get(const uint32_t width, const uint32_t height);
79 * @param width The new width of the layer
85 bool resize(Layer* layer, const uint32_t width, const uint32_t height);
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/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.java131 if ((properties.width > maxInputWidth) ||
134 "Unsupported import resolution. Supported maximum width:" +
136 ", current width:" + properties.width +
168 mWidth = properties.width;
170 mAspectRatio = mMANativeHelper.getAspectRatio(properties.width,
283 public Bitmap getThumbnail(int width, int height, long timeMs) { argument
292 if ((width <= 0) || (height <= 0)) {
297 int temp = width;
298 width
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.cpp32 info->width = bm->width();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrackingPatternView.java52 final int width = getWidth();
61 while (x < width) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java56 final int width = getWidth();
64 canvas.drawText(mText, width / 2, height * 2 / 3, paint);
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css7 width:25ex;
/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/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/tree/
H A DBasicTreeNode.java31 public int x, y, width, height; field in class:BasicTreeNode
96 if (x <= px && px <= x + width && y <= py && py <= y + height) {

Completed in 400 milliseconds

1234567891011>>