/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
MutableFrameFormat.java | 52 public void setDimensions(int[] dimensions) { 53 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length); 58 int[] dimensions = new int[1]; local 59 dimensions[0] = size; 60 mDimensions = dimensions; 65 int[] dimensions = new int[2]; local 66 dimensions[0] = width; 67 dimensions[1] = height 73 int[] dimensions = new int[3]; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer2D.java | 40 int[] dimensions = backingStore.getDimensions(); local 41 int dimCount = dimensions != null ? dimensions.length : 0;
|
TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { 44 int[] pow2Dims = new int[] { powOf2(dimensions[0]), powOf2(dimensions[1]) }; 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); 60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 61 current.resize(dimensions);
|
FrameQueue.java | 81 public Frame fetchAvailableFrame(int[] dimensions); 116 public Frame fetchAvailableFrame(int[] dimensions) { 120 return new Frame(mType, dimensions, manager); 158 public Frame fetchAvailableFrame(int[] dimensions) { 159 return mQueueImpl.fetchAvailableFrame(dimensions);
|
FrameType.java | 26 * A FrameType generally consists of an element type and number of dimensions. The currently 59 * <li>The dimensions must match (except for singles and arrays, see below).</li> 80 * type must have its element and dimensions specified. This ensures that filters that need to 261 * Returns the number of dimensions of the FrameType or -1 if no dimensions were set. 262 * @return The number of dimensions of the FrameType. 271 * A FrameType is fully specified if its element and dimensions are specified. 337 int dimensions = Math.max(writer.mDimensions, reader.mDimensions); local 340 return success ? FrameType.fetchType(mergedClass, dimensions) : null; 404 private static FrameType fetchType(int elementId, int dimensions, int accessHints) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ArrayProto.java | 47 protected final int dimensions; field in class:ArrayProto 64 dimensions = i; 70 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } 71 public int getDimensions() { return dimensions; } 84 if (dimensions > 1) { 85 return makeArrayType(elementType, dimensions-1); 104 if (dimensions == ((ArrayProto)other).dimensions && 111 if (dimensions == ((ArrayProto)other).dimensions) { 124 int dimensions = Math.min(this.dimensions, ((ArrayProto)other).dimensions); local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/cloudwatch/ |
metric.py | 44 self.dimensions = None 50 if name == 'Dimensions': 51 self.dimensions = Dimension() 52 return self.dimensions 104 self.dimensions, 110 dimensions=None, alarm_actions=None, ok_actions=None, 127 if not dimensions: 128 dimensions = self.dimensions 132 unit, description, dimensions, [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/cloudwatch/ |
test_connection.py | 56 <Dimensions> 61 </Dimensions> 84 <Dimensions> 89 </Dimensions> 119 c.build_put_params(params, name="N", value=1, dimensions={"D": "V"}) 123 'MetricData.member.1.Dimensions.member.1.Name': 'D', 124 'MetricData.member.1.Dimensions.member.1.Value': 'V', 131 c.build_put_params(params, name=["N", "M"], value=[1, 2], dimensions={"D": "V"}) 135 'MetricData.member.1.Dimensions.member.1.Name': 'D', 136 'MetricData.member.1.Dimensions.member.1.Value': 'V' [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/cloudwatch/ |
test_connection.py | 48 dimensions = None 73 dimensions=dimensions,
|
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoItemData.java | 33 Size dimensions, long sizeInBytes, int orientation, 35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions,
|
PhotoDataFactory.java | 46 Size dimensions; local 54 dimensions = decodeBitmapDimensions(filePath); 55 if (dimensions == null) { 56 // If we are unable to decode non-zero bitmap dimensions 62 dimensions = new Size(width, height); 80 dimensions, 87 * Given a file path, decode the bitmap dimensions if possible. 93 // Ensure we only decode the dimensions, not the whole
|
VideoDataFactory.java | 48 Size dimensions; local 58 dimensions = new Size(profile.videoFrameWidth, profile.videoFrameHeight); 61 dimensions = UNKNOWN_SIZE; 64 dimensions = new Size(width, height); 83 dimensions,
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
video.py | 126 dimensions = None 131 dimensions = line.split(',')[2] 132 dimensions = map(int, dimensions.split()[0].split('x')) 135 assert dimensions, ('Failed to determine video dimensions. output=%s' % 137 return dimensions 157 dimensions = GetDimensions(mp4_file) 158 frame_length = dimensions[0] * dimensions[1] * [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
LetterTileProvider.java | 31 import com.android.mail.ui.ImageCanvas.Dimensions; 83 public Bitmap getLetterTile(final Dimensions dimensions, final String displayName, 89 final Bitmap bitmap = getBitmap(dimensions, false /* getDefault */); 92 + "address %s.", dimensions.width, dimensions.height, displayName, address); 105 dimensions.fontSize > 0 ? dimensions.fontSize : getFontSize(dimensions.scale)); 107 c.drawText(mFirstChar, 0, 1, 0 + dimensions.width / 2 [all...] |
/external/mesa3d/src/mesa/main/ |
pbo.c | 66 _mesa_validate_pbo_access(GLuint dimensions, 106 start = _mesa_image_offset(dimensions, pack, width, height, 110 end = _mesa_image_offset(dimensions, pack, width, height, 176 GLuint dimensions, 183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3); 185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, 273 GLuint dimensions, 279 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3) [all...] |
pbo.h | 34 _mesa_validate_pbo_access(GLuint dimensions, 47 GLuint dimensions, 64 GLuint dimensions, 76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
|
/art/runtime/mirror/ |
array.cc | 41 // Recursively create an array with multiple dimensions. Elements may be 45 Handle<mirror::IntArray> dimensions) 47 int32_t array_length = dimensions->Get(current_dimension); 58 if (current_dimension + 1 < dimensions->GetLength()) { 64 current_dimension + 1, dimensions); 77 Handle<IntArray> dimensions) { 78 // Verify dimensions. 82 int num_dimensions = dimensions->GetLength(); 87 int dimension = dimensions->Get(i); 104 for (int32_t i = 1; i < dimensions->GetLength(); ++i) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
cwutil | 28 print "%-10s %-50s %s" % ("Namespace", "Metric Name", "Dimensions") 32 print "%-10s %-50s %s" % (m.namespace, m.name, m.dimensions) 34 def stats(namespace, metric_name, dimensions=None, statistics="Average", start_time=None, end_time=None, period=60, unit=None): 39 dimensions: The dimensions to use, formatted as Name:Value (such as QueueName:myQueue) 48 # Parse the dimensions 49 dimensions = _parse_dict(dimensions) 64 for m in cw.get_metric_statistics(int(period), start_time, end_time, metric_name, namespace, statistics, dimensions, unit): 71 def put(namespace, metric_name, dimensions=None, value=None, unit=None, statistics=None, timestamp=None) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
RoundRectangle.java | 65 throw new IllegalArgumentException("The array of corner dimensions must have eight " + 74 float[] dimensions = cornerDimensions.clone(); local 76 for (int i = 0; i < dimensions.length; i += 2) { 77 if (dimensions[i] < 0 || dimensions[i + 1] < 0) { 78 dimensions[i] = 0; 79 dimensions[i + 1] = 0; 83 double topCornerWidth = (dimensions[0] + dimensions[2]) / 2d; 84 double bottomCornerWidth = (dimensions[4] + dimensions[6]) / 2d [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidArrayTest.java | 75 int[] dimensions = {3, 2, 1}; local 76 Object intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); 93 int[] dimensions = {1, 2, 3}; local 94 Object strStrStrArray = Array.newInstance(String.class, dimensions);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliArrayTypeElement.java | 62 int dimensions = token.getTextLength() - 1; local 63 while (dimensions > 0) { 65 dimensions--;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
BuildResults.java | 37 // Dimensions information 38 Dim[] dimensions; field in class:BuildResults 212 * Returns the dimensions supported for the current build. 214 * @return An array of dimensions. 217 return this.dimensions; 244 if (this.dimensions == null) return -1; 245 int length = this.dimensions.length; 247 if (this.dimensions[i] == null) break; 248 if (this.dimensions[i].getId() == dim_id) { 407 this.dimensions = new Dim[length] [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gwtref/client/ |
ReflectionCache.java | 45 int dimensions = 0;
local 49 dimensions++;
51 c = className.charAt(dimensions);
53 char t = className.charAt(dimensions);
62 return className.substring(dimensions + 1, className.length() - 1).replace('$', '.') + suffix;
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
ViewfinderProcessor.java | 43 public ViewfinderProcessor(RenderScript rs, Size dimensions) { 45 yuvTypeBuilder.setX(dimensions.getWidth()); 46 yuvTypeBuilder.setY(dimensions.getHeight()); 53 rgbTypeBuilder.setX(dimensions.getWidth()); 54 rgbTypeBuilder.setY(dimensions.getHeight());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
RawDataTable.java | 33 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:RawDataTable 66 int length = this.dimensions.length; 69 buffer.append(this.dimensions[i].getName()); 91 int dimLength = this.dimensions.length; 93 Dim dimension = this.dimensions[d]; 116 int length = this.dimensions.length; 119 dimStats[i] = this.configResults.getStatistics(this.buildPrefixes, this.dimensions[i].getId()); 124 String dimName = this.dimensions[i].getName(); 152 int length = this.dimensions.length; 155 String dimName = this.dimensions[i].getName() [all...] |