Home
last modified time | relevance | path

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

12

/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDarkIconDispatcher.java72 static boolean isInArea(Rect area, View view) { in isInArea() argument
73 if (area.isEmpty()) { in isInArea()
76 sTmpRect.set(area); in isInArea()
80 int intersectStart = Math.max(left, area.left); in isInArea()
81 int intersectEnd = Math.min(left + view.getWidth(), area.right); in isInArea()
84 boolean coversFullStatusBar = area.top <= 0; in isInArea()
90 void onDarkChanged(Rect area, float darkIntensity, int tint); in onDarkChanged() argument
DClock.java229 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
230 setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsMatchers.java293 final Rect area = new Rect();
294 fab.getContentRect(area);
296 final int rectHeightQuarter = area.height() / 4;
297 final int rectWidthQuarter = area.width() / 4;
298 area.left += rectWidthQuarter;
299 area.top += rectHeightQuarter;
300 area.right -= rectWidthQuarter;
301 area.bottom -= rectHeightQuarter;
306 fillColor, area, 0, true);
362 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/telephony/java/com/android/internal/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/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 …]
DLegacyResultMapper.java388 for (Camera.Area area : meteringAreaList) { in getMeteringRectangles()
391 activeArray, zoomData, area); in getMeteringRectangles()
/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.cpp104 OffscreenBuffer* BakedOpRenderer::copyToLayer(const Rect& area) { in copyToLayer() argument
105 const uint32_t width = area.getWidth(); in copyToLayer()
106 const uint32_t height = area.getHeight(); in copyToLayer()
109 if (!area.isEmpty() && width != 0 && height != 0) { in copyToLayer()
114 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); in copyToLayer()
DBakedOpRenderer.h76 WARN_UNUSED_RESULT OffscreenBuffer* copyToLayer(const Rect& area);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java286 public void setExcludedArea(Rect area) { in setExcludedArea() argument
287 if (area == null) { in setExcludedArea()
293 int left = Math.max(area.left, 0); in setExcludedArea()
294 int top = Math.max(area.top, 0); in setExcludedArea()
295 int right = Math.min(area.right, getWidth()); in setExcludedArea()
296 int bottom = Math.min(area.bottom, getHeight()); in setExcludedArea()
/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp160 const size_t area = width*height; in requestNewEntry() local
166 mPixelUsedByVDs += area; in requestNewEntry()
167 mPixelAllocated += area; in requestNewEntry()
179 auto freeRectIt = mFreeRects.lower_bound(area); in requestNewEntry()
189 mPixelUsedByVDs += area; in requestNewEntry()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java499 Area area = null; in clip() local
502 area = new Area(shape); in clip()
504 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip()
507 assert area != null; in clip()
510 if (area != null) { in clip()
512 layer.setClip(area); in clip()
519 if (area != null) { in clip()
520 mClip = area; in clip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java113 int area = width * height; in processNotification() local
114 if (area > RESIZE_BITMAP_AREA) { in processNotification()
115 double factor = Math.sqrt((float) RESIZE_BITMAP_AREA / area); in processNotification()
/frameworks/rs/tests/java_api/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDarkIconDispatcherImpl.java58 DarkReceiver receiver = (area, darkIntensity, tint) -> imageView.setImageTintList( in addDarkReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java262 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument
264 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0; in onDarkChanged()
DEventLogTags.logtags32 ## 3: TAP_UNLOCK_HINT Tapped in empty area, causes unlock hint.
/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/media/lib/signer/
DREADME.txt27 without exposing the full surface area of the support library.
/frameworks/base/media/lib/remotedisplay/
DREADME.txt26 without exposing the full surface area of the support library media

12