/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/tests/src/com/android/layoutlib/bridge/ |
D | TestDelegates.java | 181 int dimensions = 0; in getMethodName() local 183 dimensions++; in getMethodName() 186 for (int i = 0; i < dimensions; i++) { in getMethodName()
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselRS.java | 328 int dimensions; in matrixFromFloat() local 330 dimensions = 0; in matrixFromFloat() 332 dimensions = 4; in matrixFromFloat() 334 dimensions = 3; in matrixFromFloat() 340 for (int i = 0; i < dimensions; i++) { in matrixFromFloat() 341 for (int j = 0; j < dimensions; j++) { in matrixFromFloat() 342 rsMatrix.set(i, j, matrix[i*dimensions + j]); in matrixFromFloat()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 62 dimensions and type of the image data prior to construction (and memory allocation) of the 74 <p>To avoid {@code java.lang.OutOfMemory} exceptions, check the dimensions of a bitmap before 80 <p>Now that the image dimensions are known, they can be used to decide if the full image should be 126 worth decoding to the most appropriate image dimensions to save space.</p> 139 // First decode with inJustDecodeBounds=true to check dimensions
|
/frameworks/base/docs/html/design/building-blocks/ |
D | grid-lists.jd | 15 <p>The items in a grid list are arranged in two dimensions, one of which is fixed when scrolling 19 <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 | 70 <p><strong>Warning:</strong>The style and dimensions of status bar icons have changed dramatically 126 status bar icon dimensions corresponding to a given generalized screen density are shown in the 134 finished icon dimensions for each generalized screen density.</p> 278 <li>Status bar icon dimensions for high-density (<code>hdpi</code>) screens:</li> 293 <li>Status bar icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 309 <li>Status bar icon dimensions for low-density (<code>ldpi</code>) screens:</li> 351 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 407 <li>All dimensions specified are based on a 25x25 pixel artboard size with a 2
|
D | icon_design_tab.jd | 168 <li>Tab icon dimensions for high-density (<code>hdpi</code>) screens:</li> 183 <li>Tab icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 199 <li>Tab icon dimensions for low-density (<code>ldpi</code>) screens:</li> 242 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 262 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 324 <li>All dimensions specified on this page are based on a 32x32 px artboard size.
|
D | icon_design_menu.jd | 122 <li>Menu icon dimensions for high-density (<code>hdpi</code>) screens:</li> 138 <li>Menu icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 155 <li>Menu icon dimensions for low-density (<code>ldpi</code>) screens:</li> 204 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 269 <li>All dimensions specified on this page are based on a 48x48 pixel artboard
|
D | icon_design_dialog.jd | 52 icon dimensions for each of the three generalized screen densities.</p> 103 <li>All dimensions specified on this page are based on a 32x32 pixel artboard size
|
D | icon_design_list.jd | 54 icon dimensions for each of the three generalized screen densities.</p> 105 <li>All dimensions specified are based on a 32x32 pixel artboard size in
|
D | icon_design_action_bar.jd | 71 action bar icon dimensions, corresponding to a given generalized screen density, are shown in 75 finished Action Bar icon dimensions for each generalized screen density.</p>
|
D | icon_design_launcher_archive.jd | 177 <li>Launcher icon dimensions for high-density (<code>hdpi</code>) screens:</li> 193 <li>Launcher icon dimensions for medium-density (<code>mdpi</code>) screens:</li> 210 <li>Launcher icon dimensions for low-density (<code>ldpi</code>) screens:</li> 311 …<p><em>Note: all pixel dimensions are for medium density and should be scaled appropriately for ot… 395 <li>All dimensions specified are based on a 250x250 pixel artboard size
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 51 absolute pixels to define distances or sizes. Defining layout dimensions with 54 different devices. Therefore, when specifying dimensions, always use either
|
D | index.jd | 72 several different screen sizes (using flexible dimensions for
|
/frameworks/rs/scriptc/ |
D | rs_core.rsh | 128 * dimensions. 157 * dimensions.
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | how-android-draws.jd | 49 unspecified dimensions to find out how big they want to be, then call 64 The measure pass uses two classes to communicate dimensions. The
|
D | declaring-layout.jd | 221 <li><var>wrap_content</var> tells your view to size itself to the dimensions 241 two dimensions, expressed as a width and a height. The unit for location 242 and dimensions is the pixel. 272 <em>measured height</em>. These dimensions define how big a view wants to be 274 measured dimensions can be obtained by calling {@link android.view.View#getMeasuredWidth()} 281 dimensions define the actual size of the view on screen, at drawing time and 288 To measure its dimensions, a view takes into account its padding. The padding 305 <p>For more information about dimensions, see
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 49 this behavior for your web page by defining the default dimensions of the viewport or the initial 83 the viewport has its own dimensions that determine the number of pixels available to a web page. 85 defined by the dimensions of the viewport, 86 not the dimensions of the device screen. For example, although a device screen might have a width of 175 and the device's screen width does <em>not</em> match those dimensions, then the web page 185 <p>As an alternative to specifying the viewport dimensions with exact pixels, you can set the 186 viewport size to always match the dimensions of the device screen, by defining the
|
/frameworks/base/docs/html/distribute/googleplay/about/ |
D | distribution.jd | 78 unique users and unique devices, across a variety of different dimensions such 86 dimensions. At a glance, these charts highlight your app’s installation peaks
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | gridview.jd | 163 image is resized and cropped to fit in these dimensions, as appropriate.</li> 169 the dimensions given to the ImageView.)</li>
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | motion.jd | 39 moving and transforming drawn objects in three dimensions or in other unique ways to create
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | available-resources.jd | 46 <dd>Define values such as booleans, integers, dimensions, colors, and other arrays.<br/>
|
/frameworks/base/docs/html/training/camera/ |
D | photobasics.jd | 236 // Get the dimensions of the View 240 // Get the dimensions of the bitmap
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 135 <dd>A virtual pixel unit that you should use when defining UI layout, to express layout dimensions 266 <p>In figure 2, the text view and bitmap drawable have dimensions specified in pixels ({@code px} 270 dimensions are specified in density-independent pixels ({@code dp} units). Because the baseline for 676 are density-indpendent pixel (dp) values and your layout dimensions should also always be defined 867 the shortest of the available screen's two dimensions. So, in order for a device to be considered 946 dimensions in an XML layout file</li> 955 <h3 id="use-relative">1. Use wrap_content, fill_parent, or the dp unit for layout dimensions</h3> 978 standard unit for expressing dimension or coordinate values. That means that the dimensions of a 1057 <p>If you request the dimensions of a pre-scaled resource, the system returns values 1058 representing the dimensions <em>after</em> scaling. For example, a bitmap designed at 50x50 pixels [all …]
|