Home
last modified time | relevance | path

Searched refs:square (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/docs/html/training/wearables/ui/
Dlayouts.jd29 <p>When you create layouts for Android Wear apps, you need to account for devices with square
31 Android Wear devices, so layouts designed for square screens do not work well on round devices.
35 <p>For example, figure 1 shows how the following layout looks on square and round screens:</p>
39 square screens does not work well on round screens.</p>
61 <li>Define different layouts for square and round devices. Your app detects the shape
63 <li>Use a special layout included in the library for both square and round devices. This layout
99 class included in the Wearable UI Library lets you specify different layout definitions for square
109 <li>Specify a layout definition file for square screens with the <code>rectLayout</code>
140 <p>Then create different layout definition files for square and round screens. In this example,
148 <p>The layouts that you specify for square or round screens are not inflated until
[all …]
Dindex.jd37 both round and square Android Wear devices.</p>
47 <dd>Learn how to create layouts that look good on round and square Android Wear devices.</dd>
Dcards.jd198 on round and square devices, using wider side margins on round screens. However,
D2d-picker.jd53 your 2D picker works on both round and square devices.</p>
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DCircleFramedDrawable.java67 final int square = Math.min(width, height); in CircleFramedDrawable() local
69 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); in CircleFramedDrawable()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c60 frame_t square[SQUARE_FRAMES]; variable
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; in main()
158 square[i].right = square[i].left; in main()
193 buffer = square; in main()
194 size = sizeof(square); in main()
/frameworks/base/docs/html/training/graphics/opengl/
Dshapes.jd19 <li><a href="#square">Define a Square</a></li>
41 basics of defining a shape, shape faces, as well as defining a triangle and a square.</p>
99 <h2 id="square">Define a Square</h2>
102 complex? Say, a square? There are a number of ways to do this, but a typical path to drawing such a
105 <img src="{@docRoot}images/opengl/ccw-square.png">
107 <strong>Figure 1.</strong> Drawing a square using two triangles.</p>
Ddraw.jd64 // initialize a square
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp294 inline int square(int x) { in square() function
312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier()
317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier()
322 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier()
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddesigning.jd54 <dt><em>Plan for square and round devices</em></dt>
55 <dd>Your design should work for both square and round Android Wear devices, including devices with
102 both square and round devices. The corners of the background image are not visible on round
Dservice.jd246 square preview images. To specify a round preview image, use the
250 included, the square preview image is used for both square and round devices. For round devices,
251 a square preview image is cropped using a circular shape.</p>
Dissues.jd28 <p>Some Android Wear devices have square screens, while others have round screens. Devices with
34 the screen is square or round, override the
/frameworks/rs/scriptc/
Drs_value_types.rsh83 * RenderScript supports fixed size square matrices of floats of size 2x2, 3x3, and 4x4.
501 * A square 2x2 matrix of floats. The entries are stored in the array at the
513 * A square 3x3 matrix of floats. The entries are stored in the array at the
525 * A square 4x4 matrix of floats. The entries are stored in the array at the
537 * A square 4x4 matrix of floats that represents a quaternion.
Drs_for_each.rsh124 * float __attribute__((kernel)) square(float a) {
129 * rsForEach(square, ain, aout);
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_menu.jd102 asset</em>, to create a consistent visual weight. If your icon is square or
103 nearly square, it should be scaled even smaller.</p>
114 the content is square. The box for square icons is smaller than that for other
Dicon_design_launcher_archive.jd158 your icon is square or nearly square, it should be scaled even smaller.</p>
169 the content is square. The box for square icons is smaller than that for other
Dicon_design_tab.jd159 the content is square. The box for square icons is smaller than that for other
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd52 square and round faces as well as different resolutions. Some concepts work better in a certain
61 <p>Ideally, the visual functionality of the watch face works for both round and square
64 different executions for square and round screens.</p>
76 to draw a visual connection between your square and round versions. By using similar color
77 palettes and a few consistent visual elements, the overall appearance of square and round
91 when translating to a square format. Try extending and exploring this extra space.</p>
Dindex.jd29 <div class="framed-wear-square" style="float:right;margin:0 -22px 60px 40px">
46 <div class="framed-wear-square" style="float:right;margin:0 -22px 60px 40px">
Dstyle.jd19 <p>Use the Android Wear emulator to test both square and round devices, and note that <a
20 …>WatchViewStub</code></a> is available to activities to detect whether a square or round device is…
/frameworks/base/docs/html/wear/
Dindex.jd122 <div class="framed-wear-square">
132 <div class="framed-wear-square">
141 <div class="framed-wear-square">
/frameworks/rs/api/
Drs_math.spec79 2 divided by the square root of pi, as a 32 bit float.
142 The inverse of the square root of 2, as a 32 bit float.
149 The square root of 2, as a 32 bit float.
1141 summary: Reciprocal of a square root computed to 16 bit precision
1159 Returns the approximate square root of a value.
2523 summary: Approximate reciprocal of a square root
2648 summary: Approximate square root
3013 summary: Reciprocal of a square root
3157 Returns the square root of a value.
Drs_for_each.spec123 float __attribute__((kernel)) square(float a) {<br/>
128 &nbsp;&nbsp;rsForEach(square, ain, aout);<br/>
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd45 …<input type="radio" id="output-square" name="output-wear" checked="checked" class="form-field-chec…
46 <label for="output-square">Square</label><br>
536 if ($('#output-square').is(':checked')) {
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd81 <p> RenderScript supports fixed size square matrices of floats of size 2x2, 3x3, and 4x4.
849 <p> A square 2x2 matrix of floats. The entries are stored in the array at the
869 <p> A square 3x3 matrix of floats. The entries are stored in the array at the
889 <p> A square 4x4 matrix of floats. The entries are stored in the array at the
906 <p> A square 4x4 matrix of floats that represents a quaternion.

123