/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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewThumbnail.java | 124 public void onTaskViewSizeChanged(int width, int height) { argument 126 if (mTaskViewRect.width() == width && mTaskViewRect.height() == height) { 130 mTaskViewRect.set(0, 0, width, height); 131 setLeftTopRightBottom(0, 0, width, height); 141 int viewWidth = mTaskViewRect.width(); 144 (int) (mThumbnailRect.width() * mThumbnailScale)); 258 float viewAspectRatio = (float) mTaskViewRect.width() / 261 (float) mThumbnailRect.width() / (float) mThumbnailRect.height(); 264 (float) mTaskViewRect.width() / (floa [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | RoundRectangle.java | 34 public double width; field in class:RoundRectangle 57 * @param cornerDimensions array of 8 floating-point number corresponding to the width and 60 * is that the width and height of a corner correspond to the total width and height of the 63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) { argument 69 this.width = width; 87 double scale = Math.min(1.0, width / topCornerWidth); 88 scale = Math.min(scale, width / bottomCornerWidth); 114 return width; 189 isInsideCorner(double x, double y, double width, double height) argument [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/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 43 uint32_t width; member in struct:android::camera3::StreamInfo 61 width(w), 83 uint32_t width, uint32_t height, int format, 94 uint32_t width, uint32_t height, size_t maxSize, int format, 103 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, 177 uint32_t width, uint32_t height, int format,
|
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 159 void initializeViewport(int width, int height) { argument 160 mViewportData.initialize(width, height); 161 mClipAreaRoot.setViewportDimensions(width, height); 250 void initialize(int width, int height) { argument 251 mWidth = width; 253 mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1); 259 * The viewport is always defined to be (0, 0, width, height).
|
H A D | TessellationCache.h | 69 float width; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect 157 float width, float height, float rx, float ry) { 158 getRoundRectBuffer(transform, paint, width, height, rx, ry); 161 float width, float height, float rx, float ry); 181 float width, float height); 183 float width, float height, float rx, float ry); 156 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
|
H A D | Texture.h | 84 * Sets the width, height, and format of the texture along with allocating 85 * the texture ID. Does nothing if the width, height, and format are already 90 void resize(uint32_t width, uint32_t height, GLint internalFormat, GLint format) { argument 91 upload(internalFormat, width, height, format, GL_UNSIGNED_BYTE, nullptr); 96 * also setting the appropriate width, height, and format. It is not necessary 106 void upload(GLint internalFormat, uint32_t width, uint32_t height, 112 void wrap(GLuint id, uint32_t width, uint32_t height, GLint internalFormat, 119 uint32_t width() const { function in class:android::uirenderer::Texture 199 bool updateLayout(uint32_t width, uint32_t height, GLint internalFormat,
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 340 * The width of the camera video in pixels. 362 * @param width The width of the camera video (in pixels). 365 public CameraCapabilities(int width, int height) { argument 366 this(width, height, false, 1.0f); 373 * @param width The width of the camera video (in pixels). 379 public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { argument 380 mWidth = width; 399 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 | 62 float width = (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth; local 65 width -= mIndents[line]; 67 width -= mIndents.back(); 70 return width; 165 void addReplacement(size_t start, size_t end, float width); 184 // ParaWidth is used to hold cumulative width from beginning of paragraph. Note that for 194 ParaWidth preBreak; // width of text until this point, if we decide to not break here 195 ParaWidth postBreak; // width of text until this point, if we decide to break here 213 void pushBreak(int offset, float width, uint8_t hyphenEdit);
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | buffer_hub.h | 51 uint32_t width = 0; member in struct:android::dvr::BufferHubChannel::BufferInfo 62 BufferInfo(int id, size_t consumer_count, uint32_t width, uint32_t height, argument 67 width(width), 158 pdx::Status<void> OnCreateBuffer(pdx::Message& message, uint32_t width, 164 uint32_t width, uint32_t height,
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 364 int width = mMediaPlayer.getVideoWidth(); 366 if (width > 0 && height > 0) { 367 mVideoWidth = width; 463 int width, int height) { 465 Log.d(TAG, "surfaceChanged: " + width + "x" + height); 489 int width = getVideoWidth(); 491 if (width > 0 && height > 0) { 494 mPresentation.updateSize(width, height); 502 if (surfaceWidth * height < surfaceHeight * width) { 503 // Black bars on top&bottom, mSurfaceView has full layout width, 462 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument 577 updateSize(int width, int height) argument [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 364 int width = mMediaPlayer.getVideoWidth(); 366 if (width > 0 && height > 0) { 367 mVideoWidth = width; 463 int width, int height) { 465 Log.d(TAG, "surfaceChanged: " + width + "x" + height); 489 int width = getVideoWidth(); 491 if (width > 0 && height > 0) { 494 mPresentation.updateSize(width, height); 502 if (surfaceWidth * height < surfaceHeight * width) { 503 // Black bars on top&bottom, mSurfaceView has full layout width, 462 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument 577 updateSize(int width, int height) argument [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkImageReader.h | 69 * @param width The default width in pixels of the Images that this reader will produce. 83 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if reader is NULL, or one or more of width, 90 int32_t width, int32_t height, int32_t format, int32_t maxImages, 120 * Query the default width of the {@link AImage} generated by this reader, in pixels. 122 * <p>The width may be overridden by the producer sending buffers to this reader's 123 * {@link ANativeWindow}. If so, the actual width of the images can be found using 127 * @param width the default width of the reader will be filled here if the method call succeeeds. 131 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if reader or width i [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; 290 float width [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 100 * return false if the requested width/height cannot be satisfied 102 * @param width The new width of this layer 109 public boolean prepare(int width, int height, boolean isOpaque) { argument 110 return nPrepare(mFinalizer.get(), width, height, isOpaque); 148 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 267 * @param xSize The width size of the content. This should not be 0. 336 final int width = newBounds.width(); 339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 342 DisplayListCanvas canvas = mFrameAndBackdropNode.start(width, height); 347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 366 private void drawColorViews(int left, int top, int width, int height, argument 371 DisplayListCanvas canvas = mSystemBarBackgroundNode.start(width, heigh [all...] |
/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/libs/hwui/tests/common/ |
H A D | TestListViewSceneBase.cpp | 28 void TestListViewSceneBase::createContent(int width, int height, Canvas& canvas) { argument 33 mItemLeft = (width - mItemWidth) / 2; 43 mListView = TestUtils::createNode(0, 0, width, height,
|
/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/media/mca/filterfw/java/android/filterfw/core/ |
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
|