Home
last modified time | relevance | path

Searched refs:shadow (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/hwui/
DTextDropShadowCache.cpp179 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, text, 0, in get() local
182 if (!shadow.image) { in get()
189 texture->left = shadow.penX; in get()
190 texture->top = shadow.penY; in get()
191 texture->width = shadow.width; in get()
192 texture->height = shadow.height; in get()
196 const uint32_t size = shadow.width * shadow.height; in get()
213 GL_ALPHA, GL_UNSIGNED_BYTE, shadow.image); in get()
232 free(shadow.image); in get()
DDisplayListOp.h267 Rect shadow(mLocalBounds); in getLocalBounds()
268 shadow.translate(textShadow.dx, textShadow.dx); in getLocalBounds()
269 shadow.outset(textShadow.radius); in getLocalBounds()
270 localBounds.unionWith(shadow); in getLocalBounds()
DOpenGLRenderer.cpp2632 const ShadowTexture* shadow = mCaches.dropShadowCache.get(
2636 if (!shadow) return;
2637 const AutoTexture autoCleanup(shadow);
2639 const float sx = x - shadow->left + textShadow.dx;
2640 const float sy = y - shadow->top + textShadow.dy;
2655 sx, sy, sx + shadow->width, sy + shadow->height);
2656 setupDrawTexture(shadow->id);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java70 BufferedImage shadow = null; in drawShadow() local
74 shadow = s.mShadow; in drawShadow()
77 shadow = getPathShadow(child, outline, canvas); in drawShadow()
79 if (shadow == null) { in drawShadow()
82 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, in drawShadow()
94 BufferedImage shadow; in getRectShadow() local
105 shadow = new BufferedImage(clipBounds.width() + shadowSize, clipBounds.height(), in getRectShadow()
107 Graphics2D graphics = shadow.createGraphics(); in getRectShadow()
117 return new Shadow(shadow, shadowSize); in getRectShadow()
199 public Shadow(BufferedImage shadow, int shadowWidth) { in Shadow() argument
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Ddevice-art.jd34 <input type="checkbox" id="output-shadow" checked="checked" class="form-field-checkbutton">
35 <label for="output-shadow">阴影</label><br>
175 landRes: ['shadow', 'back', 'fore'],
177 portRes: ['shadow', 'back', 'fore'],
188 landRes: ['shadow', 'back', 'fore'],
190 portRes: ['shadow', 'back', 'fore'],
202 landRes: ['shadow', 'back', 'fore'],
204 portRes: ['shadow', 'back', 'fore'],
216 landRes: ['shadow', 'back', 'fore'],
218 portRes: ['shadow', 'back', 'fore'],
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd38 The drag shadow</a>
130 being dragged. As the user's finger moves this representation (a &quot;drag shadow&quot;)
133 Once the user releases the drag shadow, the system ends the drag operation.
190 drag shadow.
192 The system first responds by calling back to your application to get a drag shadow. It
193 then displays the drag shadow on the device.
216 The user continues the drag. As the drag shadow intersects the bounding box of a View
220 indicates that the drag shadow has entered the bounding box of the View
228 The user releases the drag shadow within the bounding box of a View that can accept the
236 Note that this step only occurs if the user drops the drag shadow within the bounding
[all …]
/frameworks/base/docs/html/reference/renderscript/
Dtabs.css37 text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
50 text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
58 text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
Ddoxygen.css165 box-shadow: 2px 2px 3px #999;
166 -webkit-box-shadow: 2px 2px 3px #999;
167 -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
422 text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
424 box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
428 -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
432 -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
451 box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
455 -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
460 -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
[all …]
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd38 <input type="checkbox" id="output-shadow" checked="checked" class="form-field-checkbutton">
39 <label for="output-shadow">Shadow</label><br>
193 landRes: ['shadow', 'back', 'fore'],
195 portRes: ['shadow', 'back', 'fore'],
206 landRes: ['shadow', 'back', 'fore'],
208 portRes: ['shadow', 'back', 'fore'],
220 landRes: ['shadow', 'back', 'fore'],
222 portRes: ['shadow', 'back', 'fore'],
234 landRes: ['shadow', 'back', 'fore'],
236 portRes: ['shadow', 'back', 'fore'],
[all …]
/frameworks/base/docs/html/channels/
Dio2013.jd68 box-shadow:inset 500px 500px 999px rgba(000, 000, 000, 0.2);
84 box-shadow:inset 500px 500px 999px rgba(255,255,255, 0.6);
87 text-shadow:1px 1px 0 rgba(0,0,0,0.8);
113 -moz-box-shadow: 0 2px 3px 2px rgba(000,000,000, 0.4);
114 -webkit-box-shadow: 0 2px 3px 2px rgba(000,000,000, 0.4);
115 box-shadow: 0 2px 3px 2px rgba(000,000,000, 0.4);
153 text-shadow: none;
/frameworks/base/docs/html/training/material/
Dshadows-clipping.jd25 shadow: views with higher Z values cast larger, softer shadows. Views with higher Z values occlude
77 <p>The bounds of a view's background drawable determine the default shape of its shadow.
102 <p>The view casts a shadow with rounded corners, since the background drawable defines the
103 view's outline. Providing a custom outline overrides the default shape of a view's shadow.</p>
116 from the view's background. To prevent a view from casting a shadow, set its outline provider
Dlists-cards.jd207 <p>To create a card with a shadow, use the <code>card_view:cardElevation</code> attribute.
209 (API level 21) and above and falls back to a programmatic shadow implementation on earlier versions.
Dget-started.jd99 determines the size of its shadow and its drawing order. To set the elevation of a view, use the
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_list.jd40 <p>List view icons look a lot like dialog icons, but they use an inner shadow
139 <p>List view icons are flat and pictured face-on with an inner shadow. Built up
140 by a light gradient and inner shadow, they stand out well on a dark
155 …<tr><td><em>1.</em></td><td>Inner shadow:</td><td>black | 57 % opacity | angle 120&deg; | blend mo…
Dicon_design_dialog.jd41 shadow in order to stand out against a dark background.</p>
141 dark background, they are built up using a light gradient and inner shadow.</p>
156 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 25% opacity | <br>angle -90&deg; | dista…
Dicon_design_menu.jd209 …<tr><td><em>3.</em></td><td nowrap>Inner shadow:</td><td><code>#000000</code>, 20% opacity<br>angl…
210 …g;<br>altitude 10&deg;<br>highlight <code>#ffffff</code>, 70% opacity<br>shadow <code>#000000</cod…
316 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 20 % opacity<br>angle 90° | distance 2px…
318 …n size 0px<br>angle 90° | altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity<…
345 <td class="image-caption-c">Black<br>r 0 | g 0 | b 0<br>Used for inner shadow and bevel shadow.</td>
Dicon_design_tab.jd319 inner shadow, and have the same front part gradient as
362 fainter inner shadow, and the same front part gradient as the dialog icons.</p>
377 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 10 % opacity | angle 90° distance 2px | …
378 … | size 0px | angle 90° | altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity<…
423 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 20% opacity | <br>angle 90° | distance 2…
424 …ize 0px | angle 90° | <br>altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity<…
Dicon_design_launcher_archive.jd296 angle. A drop shadow is used to create a sense of depth. Launcher icons can use
301 drop shadow effect, as shown in Figure 6.</p>
315 …<tr><td><em>2.</em></td><td nowrap>Drop shadow:</td><td><code>#000000</code>, 75% opacity<br>angle…
444 and therefore the shadow expands to the right and back.</p>
458 …<tr><td><em>2.</em></td><td>Icon shadow:</td><td>black | 20px blur<br>50% opacity | angle 67°</td>…
460 <tr><td><em>4.</em></td><td>Detail shadow:</td><td>black | 10px blur<br>75% opacity</td></tr>
Dicon_design_status_bar.jd355 …<tr><td><em>2.</em></td><td nowrap>Inner shadow:</td><td><code>#FFFFFF</code>, 10% opacity<br>angl…
452 …size 0px | angle 90° |<br>altitude 30°<br>highlight white 75% opacity<br>shadow black 75% opacity<…
454 …rection down | size 0px | angle 117° | <br>altitude 42° | highlight white 70% | no shadow</td></tr>
488 <td class="image-caption-c">Black<br>r 0 | g 0 | b 0<br>Used for bevel shadow.</td>
/frameworks/base/docs/html/develop/
Dindex.jd44 class="play no-shadow no-transform" />
64 class="play no-shadow no-transform" />
77 class="play no-shadow no-transform" style="margin:0 0 0 70px;height:230px;width:340px" />
93 class="play no-shadow no-transform" style="margin:0 0 0 40px;max-height:250px;height:250px;
110 class="play no-shadow no-transform" style="margin:0 0 0 40px;max-height:250px;height:250px;
/frameworks/base/docs/html/design/building-blocks/
Dtabs.jd31 <video width="400" class="with-shadow play-on-hover" autoplay>
/frameworks/base/docs/html/design/style/
Dcolor.jd64 box-shadow: 0 5px 5px rgba(0,0,0,0.1);
/frameworks/base/docs/html/design/tv/
Dpatterns.jd20 what object is focused, so users can easily see what action they can take. Use scale, shadow
/frameworks/base/docs/html/training/wearables/ui/
Dcards.jd25 a card-styled frame with a white background, rounded corners, and a light-drop shadow.
/frameworks/base/docs/html/design/material/
Dindex.jd116 <li>The size of the shadow: views with higher Z values cast bigger shadows.</li>

12