/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 156 int h = clipLower(rect.height(), /*lo*/0, rect, "height"); 239 return new Size(size.width, size.height); 250 sizes.add(new Size(s.width, s.height)); 264 array[ctr++] = new Size(s.width, s.height); 272 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) { argument 275 if (s.height == height && s.width == width) { 442 currentPreviewCropRegion.height() >= cropRegionAsPreview.height()) { [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerGlobal.java | 385 String name, int width, int height, int densityDpi, Surface surface, int flags, 390 if (width <= 0 || height <= 0 || densityDpi <= 0) { 391 throw new IllegalArgumentException("width, height, and densityDpi must be " 400 context.getPackageName(), name, width, height, densityDpi, surface, flags, 432 int width, int height, int densityDpi) { 434 mDm.resizeVirtualDisplay(token, width, height, densityDpi); 384 createVirtualDisplay(Context context, MediaProjection projection, String name, int width, int height, int densityDpi, Surface surface, int flags, VirtualDisplay.Callback callback, Handler handler, String uniqueId) argument 431 resizeVirtualDisplay(IVirtualDisplayCallback token, int width, int height, int densityDpi) argument
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 73 * The height of the portion of the display that is available to applications, in pixels. 87 * in pixels, excepting cases where the height may be even smaller due to the presence 101 * in pixels, excepting cases where the height may be even larger due to system decorations 114 * The logical height of the display, in pixels. 557 Configuration configuration, int width, int height) { 567 height = configuration != null && configuration.appBounds != null 568 ? configuration.appBounds.height() : height; 571 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height; 556 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, Configuration configuration, int width, int height) argument
|
H A D | DisplayListCanvas.java | 51 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument 55 canvas = new DisplayListCanvas(node, width, height); 58 width, height); 62 canvas.mHeight = height; 84 private DisplayListCanvas(@NonNull RenderNode node, int width, int height) { argument 85 super(nCreateDisplayListCanvas(node.mNativeRenderNode, width, height)); 245 private static native long nCreateDisplayListCanvas(long node, int width, int height); argument 248 int width, int height); 247 nResetDisplayListCanvas(long canvas, long node, int width, int height) argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 424 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 425 super.initialize(width, height, parentWidth, parentHeight); 482 a.initialize(width, height, parentWidth, parentHeight);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 268 * @param ySize The height of the content. 318 // The caption height will probably never dynamically change while we are resizing. 321 // Remember the height of the caption. 337 final int height = newBounds.height(); 339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 342 DisplayListCanvas canvas = mFrameAndBackdropNode.start(width, height); 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 [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 90 // Reread the desired height from the theme-specified style. 171 public void setContentHeight(int height) { argument 172 mContentHeight = height;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GIFMovie.cpp | 145 // pad for rest height 153 int height = bm->height(); local 160 if (frame->ImageDesc.Top + copyHeight > height) { 161 copyHeight = height - frame->ImageDesc.Top; 184 int height = bm->height(); local 193 if (frame->ImageDesc.Top + copyHeight > height) { 194 copyHeight = height - frame->ImageDesc.Top; 204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, argument 355 const int height = gif->SHeight; local [all...] |
H A D | SurfaceTexture.cpp | 317 JNIEnv* env, jobject thiz, jint width, jint height) { 319 surfaceTexture->setDefaultBufferSize(width, height); 316 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 129 double height = 0; local 131 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); 196 double height = 0; local 198 const int result = FPDF_GetPageSizeByIndex(document, pageIndex, &width, &height); 211 env->SetIntField(outSize, gPointClassInfo.y, height);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 117 jint width, jint height) { 119 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); 123 jlong renderNodePtr, jint width, jint height) { 126 canvas->resetRecording(width, height, renderNode); 116 android_view_DisplayListCanvas_createDisplayListCanvas(jlong renderNodePtr, jint width, jint height) argument 122 android_view_DisplayListCanvas_resetDisplayListCanvas(jlong canvasPtr, jlong renderNodePtr, jint width, jint height) argument
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.cpp | 197 void ClipArea::setViewportDimensions(int width, int height) { argument 199 mViewportBounds.set(0, 0, width, height);
|
H A D | LayerBuilder.cpp | 200 LayerBuilder::LayerBuilder(uint32_t width, uint32_t height, argument 203 , height(height) 341 renderNode->getName(), width, height); 377 this, width, height, offscreenBuffer, beginLayerOp,
|
H A D | Matrix.h | 129 void loadOrtho(int width, int height) { argument 130 loadOrtho(0, width, height, 0, -1, 1);
|
H A D | PathCache.cpp | 127 uint32_t& width, uint32_t& height) { 130 const float pathHeight = std::max(bounds.height(), 1.0f); 138 height = uint32_t(pathHeight + texture->offset * 2.0 + 0.5); 154 uint32_t width, height; local 155 computePathBounds(path, paint, texture, width, height); 156 if (width > maxTextureSize || height > maxTextureSize) { 158 width, height, maxTextureSize, maxTextureSize); 162 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(SkImageInfo::MakeA8(width, height)); 222 const uint32_t size = texture->width() * texture->height(); 251 void PathCache::purgeCache(uint32_t width, uint32_t height) { argument 126 computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture, uint32_t& width, uint32_t& height) argument 443 getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint) argument 489 getOval(float width, float height, const SkPaint* paint) argument 512 getRect(float width, float height, const SkPaint* paint) argument 535 getArc(float width, float height, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): argument 57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) { 76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 132 void RenderState::setViewport(GLsizei width, GLsizei height) { argument 134 mViewportHeight = height;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | OpenGLPipeline.cpp | 72 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches); 202 static bool layerMatchesWH(OffscreenBuffer* layer, int width, int height) { argument 203 return layer->viewportWidth == (uint32_t)width && layer->viewportHeight == (uint32_t)height;
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 183 static sk_sp<Bitmap> createBitmap(int width, int height, argument 185 SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType); 189 static sk_sp<Bitmap> createBitmap(int width, int height, SkBitmap* outBitmap) { argument 190 SkImageInfo info = SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType); 199 renderthread::RenderThread& renderThread, uint32_t width, uint32_t height, 203 static std::unique_ptr<DisplayList> createDisplayList(int width, int height, argument 205 CanvasType canvas(width, height);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 26 TestCanvasBase(int width, int height) : SkCanvas(width, height) { argument
|
H A D | RenderNodeDrawableTests.cpp | 90 ZReorderCanvas(int width, int height) : SkCanvas(width, height) {} argument 237 ProjectionTestCanvas(int width, int height) : SkCanvas(width, height) {} argument 958 ShadowTestCanvas(int width, int height) : SkCanvas(width, height) {} argument
|
/frameworks/base/libs/input/ |
H A D | SpriteController.h | 235 int32_t width, int32_t height, bool drawn, bool visible) { 238 mLocked.state.surfaceHeight = height; 288 sp<SurfaceControl> obtainSurface(int32_t width, int32_t height); 234 setSurfaceLocked(const sp<SurfaceControl>& surfaceControl, int32_t width, int32_t height, bool drawn, bool visible) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 193 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 195 memcpy(dst, src, width * height * sizeof(T)); 199 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 201 for (size_t i = 0; i < height; ++i) { 203 dst[j * height + height - 1 - i] = src[i * width + j]; 209 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 211 for (size_t i = 0; i < height; ++i) { 213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j]; 219 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument 229 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 277 uint32_t width, height; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 112 Log.v(TAG, "height = " + mVideoHeight + " width= " + mVideoWidth); 222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument 238 mRecorder.setVideoSize(width, height);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
H A D | OSUInfo.java | 195 public List<IconInfo> getIconInfo(Locale locale, Set<String> types, int width, int height) { argument 200 + ", types " + types + ", " + width + "*" + height); 217 delta = iconInfo.getHeight() - height;
|