Home
last modified time | relevance | path

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

12

/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
98 different layout definitions for square and round screens. This class detects the screen shape
105 <li>Specify a layout definition file for square screens with the <code>rectLayout</code>
136 <p>Then create different layout definition files for square and round screens. In this example,
144 <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.jd172 on round and square devices, using wider side margins on round screens. However,
D2d-picker.jd47 your 2D picker works on both round and square devices.</p>
Dlists.jd54 the list is displayed properly on both round and square devices:</p>
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardCircleFramedDrawable.java67 final int square = Math.min(width, height); in KeyguardCircleFramedDrawable() local
69 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); in KeyguardCircleFramedDrawable()
/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.jd241 square preview images. To specify a round preview image, use the
245 included, the square preview image is used for both square and round devices. For round devices,
246 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 <code>onApplyWindowInsets()</code> method in the
/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/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/wear/
Dindex.jd92 <div class="framed-wear-square">
102 <div class="framed-wear-square">
111 <div class="framed-wear-square">
/frameworks/base/docs/html/design/style/
Diconography.jd183 <p>Optical square, <strong>24x24 dp</strong></p>
264 <p>Optical square, <strong>12x12 dp</strong></p>
343 <p>Optical square, <strong>22x22 dp</strong></p>
/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>
521 if ($('#output-square').is(':checked')) {
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java1218 private float square(float d) { in square() method in GlowPadView
1233 return square(scaledTapRadius); in getScaledGlowRadiusSquared()
/frameworks/base/docs/html/training/wearables/apps/
Dlayouts.jd115 children in the center square of a round screen.</li>
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt183 (For example, a function in a library to compute square roots has
187 be optional: if the application does not supply it, the square
188 root function must still compute square roots.)

12