Searched refs:width (Results 151 - 175 of 715) sorted by relevance

1234567891011>>

/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/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/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java200 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
205 BufferedImage image = new BufferedImage(width, height, imageType);
208 image.setRGB(0, 0, width, height, colors, offset, stride);
226 int width = srcImage.getWidth();
232 BufferedImage image = new BufferedImage(width, height, imageType);
235 int[] argb = new int[width * height];
236 srcImage.getRGB(0, 0, width, height, argb, 0, width);
237 image.setRGB(0, 0, width, height, argb, 0, width);
350 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
372 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp36 for (int32_t x = 0; x < mYUVImage.width(); ++x) {
67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) {
91 CHECK((srcOffsetX + (mYUVImage.width() - 1) * skipX) < srcImage.width());
101 for (int32_t x = 0; x < mYUVImage.width(); ++x) {
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java115 public void setFixedSize(int width, int height) { argument
116 if (mRequestedWidth != width || mRequestedHeight != height) {
117 mRequestedWidth = width;
227 public void setSurfaceFrameSize(int width, int height) { argument
230 mSurfaceFrame.right = width;
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp24 * -s [width, height] - Starting dimension
236 static EGLint width, height; variable
511 == searchLimits.sourceCrop.width()) ? ">= " : "",
523 testPrintI(" scMaxDim: %s%s", ((measPtr->sc.maxDim.width()
524 >= searchLimits.sourceCrop.width())
525 || (measPtr->sc.maxDim.width() >=
536 >= Rational(searchLimits.sourceCrop.width(),
537 measPtr->df.minDim.width())) ? ">= " : "",
647 (x + startDim.width()) < (unsigned int) width;
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DOverlayDisplayAdapter.java142 int width = Integer.parseInt(matcher.group(1), 10);
145 if (width >= MIN_WIDTH && width <= MAX_WIDTH
156 + ": name=" + name + ", width=" + width + ", height=" + height
160 width, height, densityDpi, gravity));
198 int width, int height, float refreshRate, int densityDpi,
202 mWidth = width;
237 mInfo.width = mWidth;
268 int width, in
197 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int densityDpi, SurfaceTexture surfaceTexture) argument
267 OverlayDisplayHandle(String name, int width, int height, int densityDpi, int gravity) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java269 * Indicates this HorizontalScrollView whether it should stretch its content width
272 * @param fillViewport True to stretch the content's width to the viewport's
314 int width = getMeasuredWidth();
315 if (child.getMeasuredWidth() < width) {
320 width -= mPaddingLeft;
321 width -= mPaddingRight;
322 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY);
950 int width = getWidth();
953 mTempRect.left = getScrollX() + width;
957 if (mTempRect.left + width > vie
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c43 const Word16 width,
58 for(i=0;i<width;i+=4){
119 const Word16 width,
133 for(i=0;i<width;i+=4){
193 const Word16 width,
207 for(i=0;i<width;i+=2){
250 const Word16 width,
262 for(i=0;i<width;i+=2){
298 const Word16 width,
310 for(i=0;i<width;
42 count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
118 count3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument
469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument
495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.cpp136 DXT1HasAlpha(const GLvoid *data, int width, int height) { argument
146 int xblocks = (width + 3)/4;
187 printf("Scanned w=%d h=%d in %ld usec\n", width, height, usec);
194 decodeDXT1(const GLvoid *data, int width, int height, argument
214 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
293 int w = min(width - base_x, 4);
307 decodeDXT3(const GLvoid *data, int width, int height, argument
326 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
399 int w = min(width - base_x, 4);
416 decodeDXT5(const GLvoid *data, int width, in argument
599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument
[all...]
H A DTextureObjectManager.cpp77 int w = surface.width;
150 sur.width = native_buffer->width;
180 surface.width = w;
212 mipmap.width = w;
228 uint32_t w = (prev->width >> 1) ? : 1;
230 if (w != curr->width || h != curr->height) {
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java137 int width = right - left;
138 mPopup.setWidth(width);
148 lp = new AbsoluteLayout.LayoutParams(width, height, left, top);
150 if ((lp.x != left) || (lp.y != top) || (lp.width != width)
155 lp.width = width;
/frameworks/base/libs/hwui/
H A DFontRenderer.h68 width(dropShadow.width), height(dropShadow.height),
73 uint32_t width; member in struct:android::uirenderer::FontRenderer::DropShadow
113 CacheTexture* createCacheTexture(int width, int height, bool allocate);
180 int32_t width, int32_t height);
182 int32_t width, int32_t height);
183 static void blurImage(uint8_t* image, int32_t width, int32_t height, int32_t radius);
/frameworks/av/cmds/stagefright/
H A Drecord.cpp45 DummySource(int width, int height, int colorFormat)
46 : mWidth(width),
49 mSize((width * height * 3) / 2) {
203 int width, height;
204 bool success = meta->findInt32(kKeyWidth, &width);
208 int width = 720;
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
217 enc_meta->setInt32(kKeyWidth, width);
221 enc_meta->setInt32(kKeyStride, width);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dme_utils.cpp103 Input/Output: Center of the search, Half-pel memory, width
159 Input/Output: Center of the search, Half-pel memory, width
222 Int pitch, width, height; local
225 width = refVop->width;
233 temp2 = src[width-1]; /* top-right corner */
246 M4VENC_MEMCPY(dst, src, width);
248 *((ULong*)(dst += width)) = temp2;
253 dst = dst - width - 16;
269 temp2 = src[width
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorThumbnailMain.cpp69 * @param width (IN) Width of thumbnail
76 M4OSA_UInt32 width, M4OSA_UInt32 height,
221 M4OSA_UInt32 width, M4OSA_UInt32 height,
228 if ((pC->m_width != width) || (pC->m_height != height))
231 0, 0, width, height);
233 pC->m_width = width;
266 M4OSA_Int32* pixelArray, M4OSA_UInt32 width,
281 err = ThumbnailGetPixels(pContext, pixelArray, width, height, timeMS, tolerance);
289 M4OSA_Int16* pixelArray, M4OSA_UInt32 width,
303 err = ThumbnailGetPixels(pContext, (M4OSA_Int32*)pixelArray, width, heigh
219 ThumbnailGetPixels(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* pTimeMS, M4OSA_UInt32 tolerance) argument
265 ThumbnailGetPixels32(const M4OSA_Context pContext, M4OSA_Int32* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument
288 ThumbnailGetPixels16(const M4OSA_Context pContext, M4OSA_Int16* pixelArray, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32* timeMS, M4OSA_UInt32 tolerance) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java57 /** Frame width to request from camera. Actual size may not match requested. */
58 @GenerateFieldPort(name = "width", hasDefault = true)
283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
287 int smallestWidth = previewSizes.get(0).width;
294 if ( size.width <= width &&
296 size.width >= closestWidth &&
298 closestWidth = size.width;
301 if ( size.width < smallestWidth &&
303 smallestWidth = size.width;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Integer.c41 * [in] refWidth width of the reference plane
113 if ((pCurrPointPos->x + BlockSize + searchRange) > (pRefRect->x + pRefRect->width))
115 toX = pRefRect->width - (pCurrPointPos->x - pRefRect->x) - BlockSize;
125 toY = pRefRect->width - (pCurrPointPos->y - pRefRect->y) - BlockSize;

Completed in 1036 milliseconds

1234567891011>>