Home
last modified time | relevance | path

Searched refs:area (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp33 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/
DTestUtilsMatchers.java239 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/
DMCRegionFragmentTest.cpp44 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()
DFragmentRefTest.cpp46 MemoryArea* area = variable
50 llvm::StringRef region = area->request(0, 4096);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java167 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/
DSmsCbLocation.java132 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/
DSizeAreaComparator.java47 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/
DShadowTessellator.cpp128 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()
DBakedOpRenderer.cpp103 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/
DSizeAreaComparator.java48 long area = width * size.height; in compare() local
51 if (area == area2) { in compare()
55 return (area > area2) ? 1 : -1; in compare()
DParameterUtils.java295 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/
DGcSnapshot.java497 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/
DStatusBarIconController.java507 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/
Dbuilding-connectivity.jd9 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/
DHealing.java113 int area = calcMaskArea(mask); in heal() local
115 int steps = (int) Math.sqrt(area); in heal()
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd213 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/
Dstyle.jd15 <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/
Dlayouts.jd121 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 &lt;!-- Screen elements that can render outside the overscan safe area go here --&gt;
153 &lt;!-- Screen elements that need to be within the overscan safe area go here --&gt;
/frameworks/base/docs/html/training/printing/
Dphotos.jd43 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/
Dprimitives.cpp258 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/
Dindex.jd4 <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/
DTaskStack.java458 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/
DREADME.txt26 without exposing the full surface area of the support library media
/frameworks/base/media/lib/signer/
DREADME.txt27 without exposing the full surface area of the support library.
/frameworks/base/docs/html/training/swipe/
Dadd-swipe-interface.jd55 shows you how to add a refresh action to the action bar overflow area, so
127 overflow area:

123456