/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | MutableFrameFormat.java | 52 public void setDimensions(int[] dimensions) { in setDimensions() argument 53 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length); in setDimensions() 58 int[] dimensions = new int[1]; in setDimensions() local 59 dimensions[0] = size; in setDimensions() 60 mDimensions = dimensions; in setDimensions() 65 int[] dimensions = new int[2]; in setDimensions() local 66 dimensions[0] = width; in setDimensions() 67 dimensions[1] = height; in setDimensions() 68 mDimensions = dimensions; in setDimensions() 73 int[] dimensions = new int[3]; in setDimensions() local [all …]
|
D | FrameFormat.java | 328 public static String dimensionsToString(int[] dimensions) { in dimensionsToString() argument 330 if (dimensions != null) { in dimensionsToString() 331 int n = dimensions.length; in dimensionsToString() 333 if (dimensions[i] == SIZE_UNSPECIFIED) { in dimensionsToString() 336 buffer.append("[" + String.valueOf(dimensions[i]) + "]"); in dimensionsToString() 423 int calcSize(int[] dimensions) { in calcSize() argument 424 if (dimensions != null && dimensions.length > 0) { in calcSize() 426 for (int dim : dimensions) { in calcSize()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | RoundRectangle.java | 74 float[] dimensions = cornerDimensions.clone(); in RoundRectangle() local 76 for (int i = 0; i < dimensions.length; i += 2) { in RoundRectangle() 77 if (dimensions[i] < 0 || dimensions[i + 1] < 0) { in RoundRectangle() 78 dimensions[i] = 0; in RoundRectangle() 79 dimensions[i + 1] = 0; in RoundRectangle() 83 double topCornerWidth = (dimensions[0] + dimensions[2]) / 2d; in RoundRectangle() 84 double bottomCornerWidth = (dimensions[4] + dimensions[6]) / 2d; in RoundRectangle() 85 double leftCornerHeight = (dimensions[1] + dimensions[7]) / 2d; in RoundRectangle() 86 double rightCornerHeight = (dimensions[3] + dimensions[5]) / 2d; in RoundRectangle() 94 this.ulWidth = dimensions[0] * scale; in RoundRectangle() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument 44 int[] pow2Dims = new int[] { powOf2(dimensions[0]), powOf2(dimensions[1]) }; in makeMipMappedFrame() 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame() 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame() 60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame() 61 current.resize(dimensions); in makeTempFrame()
|
D | FrameType.java | 337 int dimensions = Math.max(writer.mDimensions, reader.mDimensions); in tryMergeObjectTypes() local 340 return success ? FrameType.fetchType(mergedClass, dimensions) : null; in tryMergeObjectTypes() 404 private static FrameType fetchType(int elementId, int dimensions, int accessHints) { in fetchType() argument 405 return fetchType(elementId, dimensions, accessHints, null); in fetchType() 408 private static FrameType fetchType(Class<?> clazz, int dimensions) { in fetchType() argument 409 return fetchType(ELEMENT_OBJECT, dimensions, ACCESS_UNKNOWN, clazz); in fetchType() 413 int elementId, int dimensions, int accessHints, Class<?> clazz) { in fetchType() argument 414 String typeKey = FrameType.keyValueForType(elementId, dimensions, accessHints, clazz); in fetchType() 417 type = new FrameType(elementId, dimensions, accessHints, clazz); in fetchType() 423 private FrameType(int elementId, int dimensions, int accessHints, Class<?> clazz) { in FrameType() argument [all …]
|
D | FrameQueue.java | 81 public Frame fetchAvailableFrame(int[] dimensions); in fetchAvailableFrame() argument 116 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 120 return new Frame(mType, dimensions, manager); in fetchAvailableFrame() 158 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 159 return mQueueImpl.fetchAvailableFrame(dimensions); in fetchAvailableFrame()
|
D | FrameBuffer2D.java | 40 int[] dimensions = backingStore.getDimensions(); in assertCanCreate() local 41 int dimCount = dimensions != null ? dimensions.length : 0; in assertCanCreate()
|
D | FrameImage2D.java | 136 private void validateBitmapSize(Bitmap bitmap, int[] dimensions) { in validateBitmapSize() argument 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { in validateBitmapSize() 139 + "x" + bitmap.getHeight() + " to frame of size " + dimensions[0] + "x" in validateBitmapSize() 140 + dimensions[1] + "!"); in validateBitmapSize()
|
D | Frame.java | 136 public static Frame create(FrameType type, int[] dimensions) { in create() argument 142 return new Frame(type, dimensions, manager); in create() 166 Frame(FrameType type, int[] dimensions, FrameManager manager) { in Frame() argument 167 mBackingStore = new BackingStore(type, dimensions, manager); in Frame()
|
D | FrameManager.java | 115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); in fetchBacking() argument 135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 179 && dimensionsCompatible(backing.getDimensions(), dimensions) in fetchBacking() 409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 410 return mCache.fetchBacking(mode, access, dimensions, elemSize); in fetchBacking()
|
D | FrameBuffer1D.java | 96 void updateLength(int[] dimensions) { in updateLength() argument 98 for (int dim : dimensions) { in updateLength()
|
D | OutputPort.java | 70 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 71 Frame frame = getQueue().fetchAvailableFrame(dimensions); in fetchAvailableFrame()
|
D | BackingStore.java | 74 public BackingStore(FrameType type, int[] dimensions, FrameManager frameManager) { in BackingStore() argument 76 mDimensions = dimensions != null ? Arrays.copyOf(dimensions, dimensions.length) : null; in BackingStore() 368 public void setDimensions(int[] dimensions) { in setDimensions() argument 369 mDimensions = dimensions; in setDimensions()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | ViewfinderProcessor.java | 43 public ViewfinderProcessor(RenderScript rs, Size dimensions) { in ViewfinderProcessor() argument 45 yuvTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 46 yuvTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor() 53 rgbTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 54 rgbTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { in MeteringRectangle() argument 114 checkNotNull(dimensions, "dimensions must not be null"); in MeteringRectangle() 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle() 119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); in MeteringRectangle()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
D | TestDelegates.java | 195 int dimensions = 0; in getMethodName() local 197 dimensions++; in getMethodName() 201 for (int i = 0; i < dimensions; i++) { in getMethodName()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvasProxy.cpp | 110 if (pxRef && bitmap.dimensions() != pxRef->info().dimensions()) { in onDrawBitmap() 116 origin.fX + bitmap.dimensions().width(), in onDrawBitmap() 117 origin.fY + bitmap.dimensions().height(), in onDrawBitmap() 119 left + bitmap.dimensions().width(), in onDrawBitmap() 120 top + bitmap.dimensions().height(), in onDrawBitmap()
|
/frameworks/base/docs/html/distribute/analyze/ |
D | measure.jd | 44 reports have pre-selected dimensions listed as rows in a table. With nearly 350 45 dimensions you can break down your analysis by: 113 dimensions that apply to many businesses — the number of users, their 141 Custom dimensions are another way to send custom data that is specific to 143 dimensions can be scoped at a user, session, hit, or product level. A common 149 breakdown of orientation as users play your game. Custom dimensions can be
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 166 // Verify dimensions 230 // Verify dimensions 298 // Verify dimensions 366 // Verify dimensions 434 // Verify dimensions 502 // Verify dimensions 566 // Verify dimensions 630 // Verify dimensions 698 // Verify dimensions 766 // Verify dimensions [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffFilterTestCase.java | 132 protected Frame createFrame(FrameType type, int[] dimensions) { in createFrame() argument 133 return new Frame(type, dimensions, mRunner.getFrameManager()); in createFrame()
|
/frameworks/rs/api/ |
D | rs_for_each.spec | 23 an executing kernel, like dimensions and current indices. These functions take 51 over, like dimensions. It also contains rarely used indices of the currently processed 108 and the output allocation if it exists, must have the same dimensions. 247 // The current index in the common x, y, z dimensions are accessed by<br/> 249 // to the other dimensions, extract them from the kernel context:<br/>
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 60 dimensions and type of the image data prior to construction (and memory allocation) of the 72 <p>To avoid {@code java.lang.OutOfMemory} exceptions, check the dimensions of a bitmap before 78 <p>Now that the image dimensions are known, they can be used to decide if the full image should be 143 // First decode with inJustDecodeBounds=true to check dimensions
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_status_bar.jd | 71 <p><strong>Warning:</strong>The style and dimensions of status bar icons have changed dramatically 127 status bar icon dimensions corresponding to a given generalized screen density are shown in the 135 finished icon dimensions for each generalized screen density.</p> 279 <li>Status bar icon dimensions for high-density (<code>hdpi</code>) screens:</li> 294 <li>Status bar icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 310 <li>Status bar icon dimensions for low-density (<code>ldpi</code>) screens:</li> 352 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 408 <li>All dimensions specified are based on a 25x25 pixel artboard size with a 2
|
D | icon_design_tab.jd | 169 <li>Tab icon dimensions for high-density (<code>hdpi</code>) screens:</li> 184 <li>Tab icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 200 <li>Tab icon dimensions for low-density (<code>ldpi</code>) screens:</li> 243 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 263 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 325 <li>All dimensions specified on this page are based on a 32x32 px artboard size.
|
D | icon_design_menu.jd | 123 <li>Menu icon dimensions for high-density (<code>hdpi</code>) screens:</li> 139 <li>Menu icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 156 <li>Menu icon dimensions for low-density (<code>ldpi</code>) screens:</li> 205 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 270 <li>All dimensions specified on this page are based on a 48x48 pixel artboard
|