/frameworks/base/libs/hwui/tests/unit/ |
D | ClipAreaTests.cpp | 33 ClipArea area; in createClipArea() local 34 area.setViewportDimensions(kViewportBounds.getWidth(), kViewportBounds.getHeight()); in createClipArea() 35 return area; in createClipArea() 89 ClipArea area(createClipArea()); in TEST() local 90 EXPECT_FALSE(area.isEmpty()); in TEST() 94 ClipArea area(createClipArea()); in TEST() local 98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op); in TEST() 99 EXPECT_FALSE(area.isEmpty()); in TEST() 100 EXPECT_FALSE(area.isSimple()); in TEST() 101 EXPECT_FALSE(area.isRectangleList()); in TEST() [all …]
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 239 final Rect area = new Rect(); 240 fab.getContentRect(area); 242 final int rectHeightQuarter = area.height() / 4; 243 final int rectWidthQuarter = area.width() / 4; 244 area.left += rectWidthQuarter; 245 area.top += rectHeightQuarter; 246 area.right -= rectWidthQuarter; 247 area.bottom -= rectHeightQuarter; 252 fillColor, area, 0, true); 308 final Rect area = new Rect(); [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | MCRegionFragmentTest.cpp | 44 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F() local 46 MemoryRegion* region = area->request(0, 4096); in TEST_F() 59 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F() local 61 MemoryRegion* region = area->request(0, 4096); in TEST_F()
|
D | FragmentRefTest.cpp | 46 MemoryArea* area = variable 50 llvm::StringRef region = area->request(0, 4096);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScrimView.java | 167 public void setExcludedArea(Rect area) { in setExcludedArea() argument 168 if (area == null) { in setExcludedArea() 174 int left = Math.max(area.left, 0); in setExcludedArea() 175 int top = Math.max(area.top, 0); in setExcludedArea() 176 int right = Math.min(area.right, getWidth()); in setExcludedArea() 177 int bottom = Math.min(area.bottom, getHeight()); in setExcludedArea()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsCbLocation.java | 132 public boolean isInLocationArea(SmsCbLocation area) { in isInLocationArea() argument 133 if (mCid != -1 && mCid != area.mCid) { in isInLocationArea() 136 if (mLac != -1 && mLac != area.mLac) { in isInLocationArea() 139 return mPlmn.equals(area.mPlmn); in isInLocationArea()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SizeAreaComparator.java | 47 long area = width * size.getHeight(); in compare() local 50 if (area == area2) { in compare() 54 return (area > area2) ? 1 : -1; in compare()
|
/frameworks/base/libs/hwui/ |
D | ShadowTessellator.cpp | 128 double area = 0; in centroid2d() local 137 area += a; in centroid2d() 142 if (area != 0) { in centroid2d() 143 centroid = (Vector2){static_cast<float>(sumx / (3 * area)), in centroid2d() 144 static_cast<float>(sumy / (3 * area))}; in centroid2d()
|
D | BakedOpRenderer.cpp | 103 OffscreenBuffer* BakedOpRenderer::copyToLayer(const Rect& area) { in copyToLayer() argument 104 const uint32_t width = area.getWidth(); in copyToLayer() 105 const uint32_t height = area.getHeight(); in copyToLayer() 107 if (!area.isEmpty() && width != 0 && height != 0) { in copyToLayer() 112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); in copyToLayer()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | SizeAreaComparator.java | 48 long area = width * size.height; in compare() local 51 if (area == area2) { in compare() 55 return (area > area2) ? 1 : -1; in compare()
|
D | ParameterUtils.java | 295 public static String stringFromArea(Camera.Area area) { in stringFromArea() argument 296 if (area == null) { in stringFromArea() 300 Rect r = area.rect; in stringFromArea() 308 sb.append(area.weight); in stringFromArea() 327 for (Camera.Area area : areaList) { in stringFromAreaList() 328 if (area == null) { in stringFromAreaList() 331 sb.append(stringFromArea(area)); in stringFromAreaList() 894 Rect activeArray, ZoomData zoomData, Camera.Area area) { in convertCameraAreaToActiveArrayRectangle() argument 895 return convertCameraAreaToActiveArrayRectangle(activeArray, zoomData, area, in convertCameraAreaToActiveArrayRectangle() 957 Rect activeArray, ZoomData zoomData, Camera.Area area, boolean usePreviewCrop) { in convertCameraAreaToActiveArrayRectangle() argument [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 497 Area area = null; in clip() local 500 area = new Area(shape); in clip() 502 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip() 505 assert area != null; in clip() 508 if (area != null) { in clip() 510 layer.setClip(area); in clip() 517 if (area != null) { in clip() 518 mClip = area; in clip()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 507 private static boolean isInArea(Rect area, View view) { in isInArea() argument 508 if (area.isEmpty()) { in isInArea() 511 sTmpRect.set(area); in isInArea() 515 int intersectStart = Math.max(left, area.left); in isInArea() 516 int intersectEnd = Math.min(left + view.getWidth(), area.right); in isInArea() 519 boolean coversFullStatusBar = area.top <= 0; in isInArea()
|
/frameworks/base/docs/html/training/ |
D | building-connectivity.jd | 9 You'll learn how to connect to other devices in the area, connect to the Internet, backup and
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | Healing.java | 113 int area = calcMaskArea(mask); in heal() local 115 int steps = (int) Math.sqrt(area); in heal()
|
/frameworks/base/docs/html/training/gestures/ |
D | viewgroup.jd | 213 for a parent to extend the touchable area of a child view beyond the child's bounds. 219 "delegate view" (that is, the child whose touch area the parent will extend). 240 …getHitRect getHitRect()} method gets the child's hit rectangle (touchable area) in the parent's co… 241 …nk android.view.View#getHitRect getHitRect()} to get the bounds of the child's touchable area.</li> 287 // Extend the touch area of the ImageButton beyond its bounds
|
/frameworks/base/docs/html/design/tv/ |
D | style.jd | 15 <p>The additional resolution and screen area afforded by modern displays is best used to display 48 <p>During the evolution of TV technology, overscan originally described an area of TV content 54 <p>Build a 5% margin into your TV screen designs to account for overscan area the TV may not
|
/frameworks/base/docs/html/training/tv/start/ |
D | layouts.jd | 121 overscan safe area. Adding a 5% margin of 48dp on the left and right edges and 27dp on the top and 123 safe area. 127 clipped to the overscan safe area. This approach ensures that background screen elements look 132 child layout that has a 5% margin and can contain elements within the overscan safe area: 142 <!-- Screen elements that can render outside the overscan safe area go here --> 153 <!-- Screen elements that need to be within the overscan safe area go here -->
|
/frameworks/base/docs/html/training/printing/ |
D | photos.jd | 43 option sizes the image so that the whole image is shown within the printable area of the page. 46 option scales the image so that it fills the entire printable area of the page. Choosing this
|
/frameworks/native/opengl/libagl/ |
D | primitives.cpp | 258 const GGLcoord area = (m_area + TRI_HALF) >> TRI_FRACTION_BITS; in initLerp() local 263 if (abs(area) >= minArea) { in initLerp() 269 d = gglRecipQNormalized(area, &q); in initLerp() 703 const GGLcoord area = abs(lerp.area()); in compute_lod() local 710 int log2Area = (32-TRI_FRACTION_BITS*2-1) - gglClz(area); in compute_lod() 829 const GLenum winding = (c->lerp.area() > 0) ? GL_CW : GL_CCW; in cull_triangle()
|
/frameworks/base/docs/html/ndk/samples/ |
D | index.jd | 4 <p>Welcome to the NDK samples area. Here, you can download a variety of sample
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 458 public boolean areaContainsPoint(RectF area, int width, int height, float x, float y) { in areaContainsPoint() argument 459 int left = (int) (area.left * width); in areaContainsPoint() 460 int top = (int) (area.top * height); in areaContainsPoint() 461 int right = (int) (area.right * width); in areaContainsPoint() 462 int bottom = (int) (area.bottom * height); in areaContainsPoint()
|
/frameworks/base/media/lib/remotedisplay/ |
D | README.txt | 26 without exposing the full surface area of the support library media
|
/frameworks/base/media/lib/signer/ |
D | README.txt | 27 without exposing the full surface area of the support library.
|
/frameworks/base/docs/html/training/swipe/ |
D | add-swipe-interface.jd | 55 shows you how to add a refresh action to the action bar overflow area, so 127 overflow area:
|