/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/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/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 | 196 int dimensions = 0; in getMethodName() local 198 dimensions++; in getMethodName() 201 for (int i = 0; i < dimensions; i++) { in getMethodName()
|
/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/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/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/design/building-blocks/ |
D | grid-lists.jd | 23 <p>The items in a grid list are arranged in two dimensions, one of which is fixed when scrolling 27 <p>Avoid creating grid lists that scroll in two dimensions.</p>
|
/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
|
D | icon_design_list.jd | 55 icon dimensions for each of the three generalized screen densities.</p> 116 <li>All dimensions specified are based on a 32x32 pixel artboard size in
|
D | icon_design_dialog.jd | 53 icon dimensions for each of the three generalized screen densities.</p> 114 <li>All dimensions specified on this page are based on a 32x32 pixel artboard size
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 53 absolute pixels to define distances or sizes. Defining layout dimensions with 56 different devices. Therefore, when specifying dimensions, always use either
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_image_native_buffer.txt | 91 with properties (format, usage, dimensions, etc.) not supported by
|