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

1234567891011>>

/frameworks/av/libvideoeditor/lvpp/
H A DDummyVideoSource.cpp34 uint32_t width, uint32_t height,
39 width, height, clipDuration, imageUri);
45 uint32_t width, uint32_t height,
50 mFrameWidth = width;
33 Create( uint32_t width, uint32_t height, uint64_t clipDuration, const char *imageUri) argument
44 DummyVideoSource( uint32_t width, uint32_t height, uint64_t clipDuration, const char *imageUri) argument
/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp41 uint32_t width, uint32_t height, uint32_t flags)
46 data.writeInt32(width);
80 uint32_t width = data.readInt32(); local
83 onDisplayConnected(surfaceTexture, width, height, flags);
40 onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, uint32_t width, uint32_t height, uint32_t flags) argument
/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.cpp126 size.width = -1;
172 mVideoSize.width = -1;
214 * Check to see whether the requested video width and height is one
216 * @param width the video frame width in pixels
219 * @return true if the dimension (width and height) is supported.
222 int32_t width, int32_t height,
227 if (width == supportedSizes[i].width &&
285 * (width an
221 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
298 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
374 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/av/media/libstagefright/yuv/
H A DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
28 mWidth = width;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument
41 mWidth = width;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
51 int32_t numberOfPixels = width*height;
204 int32_t width = srcRect.width(); local
236 size_t numberOfYBytesPerRow = (size_t) width;
286 int32_t width = srcRect.width(); local
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java155 int width = icon.getIntrinsicWidth();
157 if (width > mMaxIconSize) {
158 final float scale = (float) mMaxIconSize / width;
159 width = mMaxIconSize;
165 width *= scale;
167 icon.setBounds(0, 0, width, height);
235 final int width = getWidth();
244 screenWidth - screenPos[0] - width / 2, height);
275 // Remeasure at exactly the minimum width.
284 final int dw = mIcon.getBounds().width();
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp118 texture->width = shadow.width;
123 const uint32_t size = shadow.width * shadow.height;
139 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texture->width, texture->height, 0,
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/native/include/android/
H A Dbitmap.h41 uint32_t width; member in struct:__anon1312
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css30 width: 940px;
71 width: 160px;
87 width:auto;
100 width: 760px;
162 width: 40px; }
165 width: 100px; }
168 width: 160px; }
171 width: 220px; }
174 width: 280px; }
177 width
[all...]
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css30 width: 940px;
71 width: 160px;
87 width:auto;
100 width: 760px;
162 width: 40px; }
165 width: 100px; }
168 width: 160px; }
171 width: 220px; }
174 width: 280px; }
177 width
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java263 * @param width the popup's width
266 public PopupWindow(int width, int height) { argument
267 this(null, width, height);
279 * @param width the popup's width
282 public PopupWindow(View contentView, int width, int height) { argument
283 this(contentView, width, height, false);
294 * @param width the popup's width
298 PopupWindow(View contentView, int width, int height, boolean focusable) argument
783 setWidth(int width) 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...]
/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/base/services/java/com/android/server/display/
H A DOverlayDisplayWindow.java95 int width, int height, int densityDpi, int gravity, Listener listener) {
98 mWidth = width;
184 mTextureView.getLayoutParams().width = mWidth;
228 int width = (int)(mWidth * scale);
230 int x = (int)(mWindowX + mLiveTranslationX - width * offsetScale);
232 x = Math.max(0, Math.min(x, mDefaultDisplayInfo.logicalWidth - width));
239 + ", width=" + width + ", height=" + height);
247 mWindowParams.width = width;
94 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, Listener listener) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DMultiPaneChallengeLayout.java212 final int width = MeasureSpec.getSize(widthSpec);
214 setMeasuredDimension(width, height);
251 Math.min(lp.maxWidth, width), MeasureSpec.EXACTLY);
292 (int) ((width - widthUsed) * lp.centerWithinArea + 0.5f),
298 width - widthUsed, MeasureSpec.EXACTLY);
305 width - widthUsed, MeasureSpec.EXACTLY);
331 final int width = r - l;
337 layoutWithGravity(width, height, mUserSwitcherView, padding, true);
349 child.layout(0, 0, width, height);
352 layoutWithGravity(width, heigh
360 layoutWithGravity(int width, int height, View child, Rect padding, boolean adjustPadding) argument
544 LayoutParams(int width, int height) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp41 fprintf(stderr, " -w width in pixels (default: 176)\n");
54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
55 : mWidth(width),
60 mSize((width * height * 3) / 2) {
156 int width = 176; local
207 width = atoi(optarg);
258 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
272 enc_meta->setInt32(kKeyWidth, width);
276 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.aidl61 * minimum width and height for the wallpaper.
63 void setDimensionHints(in int width, in int height);
66 * 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/view/
H A DGLES20Layer.java33 GLES20Layer(int width, int height, boolean opaque) { argument
34 super(width, height, opaque);
/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);

Completed in 439 milliseconds

1234567891011>>