Searched defs:area (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/mclinker/unittests/
H A DMCRegionFragmentTest.cpp44 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local
46 MemoryRegion* region = area->request(0, 4096);
59 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local
61 MemoryRegion* region = area->request(0, 4096);
H A DFragmentRefTest.cpp46 MemoryArea* area = local
50 llvm::StringRef region = area->request(0, 4096);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsCbLocation.java86 * Returns the GSM location area code, or UMTS service area code.
87 * @return location area code, -1 if unknown, 0xffff max legal value
127 * Test whether this location is within the location area of the specified object.
129 * @param area the location area to compare with this location
130 * @return true if this location is contained within the specified location area
132 public boolean isInLocationArea(SmsCbLocation area) { argument
133 if (mCid != -1 && mCid != area.mCid) {
136 if (mLac != -1 && mLac != area
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DClipAreaTests.cpp33 ClipArea area; local
34 area.setViewportDimensions(kViewportBounds.getWidth(), kViewportBounds.getHeight());
35 return area;
89 ClipArea area(createClipArea());
90 EXPECT_FALSE(area.isEmpty());
94 ClipArea area(createClipArea());
98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op);
99 EXPECT_FALSE(area.isEmpty());
100 EXPECT_FALSE(area.isSimple());
101 EXPECT_FALSE(area
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScrimView.java177 public void setExcludedArea(Rect area) { argument
178 if (area == null) {
184 int left = Math.max(area.left, 0);
185 int top = Math.max(area.top, 0);
186 int right = Math.min(area.right, getWidth());
187 int bottom = Math.min(area.bottom, getHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDarkIconDispatcher.java69 * @return true if more than half of the {@param view} area are in {@param area}, false
72 static boolean isInArea(Rect area, View view) { argument
73 if (area.isEmpty()) {
76 sTmpRect.set(area);
80 int intersectStart = Math.max(left, area.left);
81 int intersectEnd = Math.min(left + view.getWidth(), area.right);
84 boolean coversFullStatusBar = area.top <= 0;
90 void onDarkChanged(Rect area, float darkIntensity, int tint); argument
H A DClock.java229 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
230 setTextColor(DarkIconDispatcher.getTint(area, this, tint));
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.cpp103 OffscreenBuffer* BakedOpRenderer::copyToLayer(const Rect& area) { argument
104 const uint32_t width = area.getWidth();
105 const uint32_t height = area.getHeight();
107 if (!area.isEmpty() && width != 0 && height != 0) {
112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height);
H A DShadowTessellator.cpp96 // the shadow is within the clip area.
128 double area = 0; local
137 area += a;
142 if (area != 0) {
143 centroid = (Vector2){static_cast<float>(sumx / (3 * area)),
144 static_cast<float>(sumy / (3 * area))};
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java241 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument
242 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java56 /** The default normalized area uses the default normalized rectangle with a weight=1 */
89 * The metering area scaled to the range of [-1000, 1000].
283 * Returns the largest supported picture size, as compared by its area.
293 * Convert a camera area into a human-readable string.
295 public static String stringFromArea(Camera.Area area) { argument
296 if (area == null) {
300 Rect r = area.rect;
308 sb.append(area.weight);
316 * Convert a camera area list into a human-readable string
327 for (Camera.Area area
893 convertCameraAreaToActiveArrayRectangle( Rect activeArray, ZoomData zoomData, Camera.Area area) argument
956 convertCameraAreaToActiveArrayRectangle( Rect activeArray, ZoomData zoomData, Camera.Area area, boolean usePreviewCrop) argument
[all...]
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java685 * If the bitmap's area is greater than the value specified, then the bitmap
686 * will be resized so that its area matches {@code area}. If the
693 * @param area the number of pixels that the intermediary scaled down Bitmap should cover,
697 public Palette.Builder resizeBitmapArea(final int area) { argument
698 mResizeArea = area;
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java679 * If the bitmap's area is greater than the value specified, then the bitmap
680 * will be resized so that its area matches {@code area}. If the
687 * @param area the number of pixels that the intermediary scaled down Bitmap should cover,
691 public Builder resizeBitmapArea(final int area) { argument
692 mResizeArea = area;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DScrimController.java558 public void setExcludedBackgroundArea(Rect area) { argument
559 mScrimBehind.setExcludedArea(area);
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp258 const GGLcoord area = (m_area + TRI_HALF) >> TRI_FRACTION_BITS; local
260 // triangles with an area smaller than 1.0 are not smooth-shaded
263 if (abs(area) >= minArea) {
265 // factor for deltas/area:
267 // First compute the 1/area with full 32-bits precision,
269 d = gglRecipQNormalized(area, &q);
275 // We'll keep 16-bits of precision for deltas/area. So we need
698 // rho = sqrt( texelArea / area )
700 // lod = log2( texelArea / area ) / 2
701 // lod = (log2( texelArea ) - log2( area )) /
703 const GGLcoord area = abs(lerp.area()); local
[all...]
H A Dcontext.h566 GGLcoord area() const { return m_area; } function in struct:android::gl::compute_iterators_t
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java966 * the {@link Named#SRGB sRGB} gamut and if the area of its gamut is
967 * 90% of greater than the area of the {@link Named#NTSC_1953 NTSC}
2619 // A color space is wide-gamut if its area is >90% of NTSC 1953 and
3101 * a wide color gamut. A color gamut is considered wide if its area is &gt; 90%
3102 * of the area of NTSC 1953 and if it contains the sRGB color gamut entirely.
3112 * @see #area(float[])
3116 return (area(primaries) / area(NTSC_1953_PRIMARIES) > 0.9f &&
3121 * Computes the area of the triangle represented by a set of RGB primaries
3125 * @return The area o
3129 private static float area(@NonNull @Size(6) float[] primaries) { method in class:ColorSpace.Rgb
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2651 const char* area = areasStr.string() + areaStart; local
2656 vals[i] = strtol(area, &numEnd, 10);
2657 if (errno || numEnd == area) return BAD_VALUE;
2658 area = numEnd + 1;
2670 // Definition of valid area can be found in
2684 // fixed focus can only set (0,0,0,0,0) focus area
3010 // chosen to maximize its area on the sensor
3061 // center the zoom area within the active area
3122 * ratios. Since each stream will maximize its area withi
[all...]

Completed in 2076 milliseconds