[go: nahoru, domu]

Searched defs:area (Results 1 - 15 of 15) 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/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/opt/telephony/src/java/android/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScrimView.java167 public void setExcludedArea(Rect area) { argument
168 if (area == null) {
174 int left = Math.max(area.left, 0);
175 int top = Math.max(area.top, 0);
176 int right = Math.min(area.right, getWidth());
177 int bottom = Math.min(area.bottom, getHeight());
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java410 * Sets the dark area so {@link #setIconsDark} only affects the icons in the specified area.
412 * @param darkArea the area in which icons should change it's tint, in logical screen
504 * @return true if more than half of the {@param view} area are in {@param area}, false
507 private static boolean isInArea(Rect area, View view) { argument
508 if (area.isEmpty()) {
511 sTmpRect.set(area);
515 int intersectStart = Math.max(left, area.left);
516 int intersectEnd = Math.min(left + view.getWidth(), area
[all...]
H A DScrimController.java523 public void setExcludedBackgroundArea(Rect area) { argument
524 mScrimBehind.setExcludedArea(area);
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java651 * If the bitmap's area is greater than the value specified, then the bitmap
652 * will be resized so that it's area matches {@code area}. If the
659 * @param area the number of pixels that the intemediary scaled down Bitmap should cover,
663 public Builder resizeBitmapArea(final int area) { argument
664 mResizeArea = area;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java429 * @param touchArea the area in which touch will initiate this dock state
430 * @param dockArea the visible dock area
432 * the initial touch area. This is also the new dock area to
455 * Returns whether {@param x} and {@param y} are contained in the area scaled to the
458 public boolean areaContainsPoint(RectF area, int width, int height, float x, float y) { argument
459 int left = (int) (area.left * width);
460 int top = (int) (area.top * height);
461 int right = (int) (area.right * width);
462 int bottom = (int) (area
[all...]
/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.h565 GGLcoord area() const { return m_area; } function in struct:android::gl::compute_iterators_t
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2512 const char* area = areasStr.string() + areaStart; local
2517 vals[i] = strtol(area, &numEnd, 10);
2518 if (errno || numEnd == area) return BAD_VALUE;
2519 area = numEnd + 1;
2531 // Definition of valid area can be found in
2545 // fixed focus can only set (0,0,0,0,0) focus area
2909 // chosen to maximize its area on the sensor
2960 // center the zoom area within the active area
3021 * ratios. Since each stream will maximize its area withi
[all...]

Completed in 421 milliseconds