Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DTextDropShadowCache.cpp156 FontRenderer::DropShadow shadow = mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, in get() local
159 if (!shadow.image) { in get()
166 texture->left = shadow.penX; in get()
167 texture->top = shadow.penY; in get()
171 const uint32_t size = shadow.width * shadow.height; in get()
183 texture->upload(GL_ALPHA, shadow.width, shadow.height, in get()
184 GL_ALPHA, GL_UNSIGNED_BYTE, shadow.image); in get()
202 free(shadow.image); in get()
DDisplayListOp.h253 Rect shadow(mLocalBounds); in getLocalBounds()
254 shadow.translate(textShadow.dx, textShadow.dx); in getLocalBounds()
255 shadow.outset(textShadow.radius); in getLocalBounds()
256 localBounds.unionWith(shadow); in getLocalBounds()
/frameworks/base/docs/html/ndk/reference/
Ddoxygen.css36 -webkit-transition: text-shadow 0.5s linear;
37 -moz-transition: text-shadow 0.5s linear;
38 -ms-transition: text-shadow 0.5s linear;
39 -o-transition: text-shadow 0.5s linear;
40 transition: text-shadow 0.5s linear;
45 text-shadow: 0 0 15px cyan;
197 -webkit-transition-property: background-color, box-shadow;
199 -moz-transition-property: background-color, box-shadow;
201 -ms-transition-property: background-color, box-shadow;
203 -o-transition-property: background-color, box-shadow;
[all …]
Dtabs.css38 text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
51 text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
59 text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
/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/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'],
207 landRes: ['shadow', 'back', 'fore'],
209 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/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java71 BufferedImage shadow = null; in drawShadow() local
73 shadow = getPathShadow(outline, canvas, elevation); in drawShadow()
75 if (shadow == null) { in drawShadow()
78 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, in drawShadow()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java72 public void setShadow(boolean shadow) { in setShadow() argument
73 mIsShadow = shadow; in setShadow()
158 final boolean shadow = in loadFromXml()
188 mIsShadow = shadow; in loadFromXml()
/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
Dcompatibility.jd119 <li>{@link android.support.v7.widget.CardView} falls back to a programmatic shadow implementation
/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>
Dicon_design_launcher.jd239 This padding can also be used to make room for a subtle drop shadow, which can help ensure
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridActivity.java396 View shadow = new View(viewGroup.getContext());
397 shadow.setBackgroundResource(mNinePatchShadow);
398 viewGroup.addView(shadow);
/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/design/material/
Dindex.jd116 <li>The size of the shadow: views with higher Z values cast bigger shadows.</li>
/frameworks/base/docs/html/training/wearables/ui/
Dcards.jd27 light-drop shadow. A
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd261 // Draw the shadow

12