/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_image.c | 86 u32 width; local 97 width = image->width; 110 width *= 4; 121 lum += width-4; 124 width >>= 1; 131 cb += width-2; 140 cr += width-2; 193 ASSERT(mbNum < image->width * image->height); 197 picWidth = image->width; [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 127 int width = getFormat().getWidth(); 129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) { 137 int width = getFormat().getWidth(); 139 if (!nativeAllocateWithFbo(mGLEnvironment, fboId, width, height)) { 276 public void setViewport(int x, int y, int width, int height) { argument 278 setNativeViewport(x, y, width, height); 364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); argument 368 int width, 373 int width, 396 private native boolean setNativeViewport(int x, int y, int width, in argument 366 nativeAllocateWithTexture(GLEnvironment env, int textureId, int width, int height) argument 371 nativeAllocateWithFbo(GLEnvironment env, int fboId, int width, int height) argument [all...] |
H A D | FilterSurfaceView.java | 117 int width, 121 mWidth = width; 127 mListener.surfaceChanged(holder, format, width, height); 115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|
H A D | GLEnvironment.java | 110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument 112 int result = nativeAddSurfaceWidthHeight(surface, width, height); 173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 198 final int width = getWidth(); 201 final float pixelProgress = mTracingProgress * (width + height - 2 * thickness); 203 float bottomProgress = Math.min(pixelProgress, width / 2f); 206 width / 2f - bottomProgress, 208 width / 2f + bottomProgress, 220 width - thickness, 222 width, 227 width / 2 - thickness); 235 (width - thickness) - topProgress, 237 width [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | IconUtilities.java | 106 int width = mIconWidth; 111 painter.setIntrinsicWidth(width); 126 if (width < sourceWidth || height < sourceHeight) { 130 height = (int) (width / ratio); 132 width = (int) (height * ratio); 134 } else if (sourceWidth < width && sourceHeight < height) { 136 width = sourceWidth; 150 final int left = (textureWidth-width) / 2; 159 canvas.drawRect(left, top, left+width, top+height, debugPaint); 163 icon.setBounds(left, top, left+width, to [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 87 final int width = content.getInt(); 90 if (width >= 0 && width <= 4096 93 handleSinkAvailable(width, height, densityDpi); 109 private void handleSinkAvailable(int width, int height, int densityDpi) { argument 110 if (mSinkAvailable && mSinkWidth == width && mSinkHeight == height 116 + "width=" + width + ", height=" + height 119 mSinkWidth = width; 181 public VirtualDisplayThread(int width, in argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 142 public Path toPath(int width, int height, int edge, int numSample) { argument 143 return toPath(null, width, height, edge, numSample); 146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument 153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); 178 * @param width width of the target bitmap 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument 186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); 214 * @param width 220 toBitmap(int width, int height, int inset, int color) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 46 width RN 4 label 82 ;// u32 width, : 0xf8 93 LDR width, [sp, #0xf8] ;// width 99 CMP tmp6, width ;// x0+chromaPartWidth+1 > width 115 STMIA sp,{width,height,tmp8,chrPH,tmp2} 122 STMIA sp,{width,height,tmp8,chrPH,tmp2} 124 MLA ref, height, width, ref ;// ref += width * heigh [all...] |
H A D | h264bsd_interpolate_ver_half.s | 60 width RN 12 label 96 LDR width, [sp,#0x218] ;// width 97 CMP tmp5, width 98 BHI do_fill ;// (x0+partW)>width 118 LDR width, [sp,#0x218] ;// width 119 STR width, [sp,#0] ;// sp+0 = width 133 LDR width, [s [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct_vca.cpp | 40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 49 width -= 4; 50 dst -= width; 71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 105 width -= 4; 106 dst -= width; 139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 185 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 193 width 294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 419 idctrow1_intra(int16 *blk, PIXEL *comp, int width) argument 448 idctrow2_intra(int16 *blk, PIXEL *comp, int width) argument 505 idctrow3_intra(int16 *blk, PIXEL *comp, int width) argument 578 idctrow4_intra(int16 *blk, PIXEL *comp, int width) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 183 void initializeViewport(int width, int height) { argument 184 mViewportData.initialize(width, height); 185 mClipAreaRoot.setViewportDimensions(width, height); 307 void initialize(int width, int height) { argument 308 mWidth = width; 310 mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1); 316 * The viewport is always defined to be (0, 0, width, height).
|
H A D | TessellationCache.h | 64 float width; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect 125 float width, float height, float rx, float ry) { 126 getRoundRectBuffer(transform, paint, width, height, rx, ry); 129 float width, float height, float rx, float ry); 150 float width, float height); 152 float width, float height, float rx, float ry); 124 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 317 * The width of the camera video in pixels. 339 * @param width The width of the camera video (in pixels). 342 public CameraCapabilities(int width, int height) { argument 343 this(width, height, false, 1.0f); 350 * @param width The width of the camera video (in pixels). 356 public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { argument 357 mWidth = width; 376 int width [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | CompareActivity.java | 65 int width = getResources().getDimensionPixelSize(R.dimen.layer_width); 67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 80 int width = mSoftwareBitmap.getWidth(); 83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 61 float width = (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth; local 64 width -= mIndents[line]; 66 width -= mIndents.back(); 69 return width; 164 void addReplacement(size_t start, size_t end, float width); 183 // ParaWidth is used to hold cumulative width from beginning of paragraph. Note that for 209 void pushBreak(int offset, float width, uint8_t hyph);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 48 public void setSize(Object edgeEffect, int width, int height); argument 66 public void setSize(Object edgeEffect, int width, int height) { argument 102 public void setSize(Object edgeEffect, int width, int height) { argument 103 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 156 * @param width Effect width in pixels 159 public void setSize(int width, int height) { argument 160 IMPL.setSize(mEdgeEffect, width, height); 246 * width of X=0 to X=width, beginnin [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | VideoSource.h | 32 VideoSource(int width, int height) argument 33 : mWidth(width), 35 mSize((width * height * 3) / 2) {
|
/frameworks/base/core/java/android/text/ |
H A D | MeasuredText.java | 179 float width = 0; 181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p); 186 width = mBuilder.addStyleRun(paint, p, p + len, isRtl); 188 return width; 264 int breakText(int limit, boolean forwards, float width) { argument 269 width -= w[i]; 270 if (width < 0.0f) break; 278 width -= w[i]; 279 if (width < 0.0f) break; 288 float width [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 99 * return false if the requested width/height cannot be satisfied 101 * @param width The new width of this layer 108 public boolean prepare(int width, int height, boolean isOpaque) { argument 109 return nPrepare(mFinalizer.get(), width, height, isOpaque); 147 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | UserIcons.java | 51 final int width = icon.getIntrinsicWidth(); 53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 55 icon.setBounds(0, 0, width, height);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | IncludeTest.java | 55 assertTrue("Both buttons should have different width", 56 button1.getLayoutParams().width != button2.getLayoutParams().width); 76 assertEquals("Included button should be 23dip x 23dip", 23, lp.width);
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 129 final int width, final int height, final int flags, final int session) { 133 mListener.onDisplayConnected(surface, width, height, flags, session); 163 int width, int height, int flags, int session); 128 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags, final int session) argument 162 onDisplayConnected(Surface surface, int width, int height, int flags, int session) argument
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, argument 65 err = native_window_set_buffers_user_dimensions(window, width, height); 68 if (width && height) {
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | CubeRenderer.java | 85 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 86 gl.glViewport(0, 0, width, height); 94 float ratio = (float) width / height;
|