/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SizeAreaComparator.java | 28 * Comparator for api1 {@link Camera.Size} objects by the area. 30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p> 48 long area = width * size.height; 51 if (area == area2) { 55 return (area > area2) ? 1 : -1; 59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area
|
H A D | ParameterUtils.java | 58 /** 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 890 convertCameraAreaToActiveArrayRectangle( Rect activeArray, ZoomData zoomData, Camera.Area area) argument 951 convertCameraAreaToActiveArrayRectangle( Rect activeArray, ZoomData zoomData, Camera.Area area, boolean usePreviewCrop) argument [all...] |
H A D | LegacyResultMapper.java | 386 for (Camera.Area area : meteringAreaList) { 389 activeArray, zoomData, area);
|
H A D | LegacyMetadataMapper.java | 289 Log.v(TAG, String.format("mapScalerStreamConfigs - largest JPEG area %dx%d, AR=%f", 890 // Use the largest jpeg size (by area) for both active array and pixel array 1148 long area = size.width * (long) size.height; 1151 return baseDuration + area * stallPerArea;
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SizeAreaComparator.java | 28 * Comparator for {@link Size} objects by the area. 30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p> 47 long area = width * size.getHeight(); 50 if (area == area2) { 54 return (area > area2) ? 1 : -1; 58 * Get the largest {@code Size} from the list by comparing each size's area
|
/frameworks/compile/mclinker/unittests/ |
H A D | MCRegionFragmentTest.cpp | 49 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local 51 MemoryRegion* region = area->request(0, 4096); 64 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local 66 MemoryRegion* region = area->request(0, 4096);
|
H A D | FragmentRefTest.cpp | 50 MemoryArea* area = areaFactory->produce(path, FileHandle::ReadWrite); local 52 llvm::StringRef region = area->request(0, 4096);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbLocation.java | 86 * 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/ |
H A D | ShadowTessellator.cpp | 96 // the shadow is within the clip area. 120 // For the penumbra area. 155 double area = 0; local 164 area += a; 169 if (area != 0) { 170 centroid = (Vector2){static_cast<float>(sumx / (3 * area)), 171 static_cast<float>(sumy / (3 * area))};
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 496 Area area = null; 499 area = new Area(shape); 501 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); 504 assert area != null; 507 if (area != null) { 509 layer.setClip(area); 516 if (area != null) { 517 mClip = area;
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 258 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 D | context.h | 565 GGLcoord area() const { return m_area; } function in struct:android::gl::compute_iterators_t
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1975 * {@link Parameters#getMaxNumFocusAreas()}. If metering or focusing area 1987 * every pixel in the area. This means that a large metering area with 1988 * the same weight as a smaller area will have more effect in the 2005 * Create an area with specified rectangle and weight. 2007 * @param rect the bounds of the area. 2008 * @param weight the weight of the area. 2015 * Compares {@code obj} to this area. 2017 * @param obj the object to compare this area with. 2019 * the same as those of this area [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 189 Area area = new Area(pathDelegate.mPath); 190 if (area.isRectangular()) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2494 const char* area = areasStr.string() + areaStart; local 2499 vals[i] = strtol(area, &numEnd, 10); 2500 if (errno || numEnd == area) return BAD_VALUE; 2501 area = numEnd + 1; 2513 // Definition of valid area can be found in 2527 // fixed focus can only set (0,0,0,0,0) focus area 2844 // chosen to maximize its area on the sensor 2939 // centering the zoom area within the active area 2997 * ratios. Since each stream will maximize its area withi [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 1314 * @param length area size 1315 * @return the values in this area 1319 byte[] area = new byte[length]; 1320 int readLen = pduDataStream.read(area, 0, length);
|