Home
last modified time | relevance | path

Searched refs:custom (Results 1 – 25 of 170) sorted by relevance

1234567

/frameworks/base/docs/html/training/custom-views/
Dcreate-view.jd7 next.link=custom-drawing.html
25 <li><a href="{@docRoot}/guide/topics/ui/custom-components.html">Custom Components</a>
37 <p>A well-designed custom view is much like any other well-designed class. It encapsulates a
41 well-designed class, though, a custom view should:
45 <li>Provide custom styleable attributes that work with Android XML layouts</li>
59 custom view can also
81 appearance and behavior with element attributes. Well-written custom views can also be added and
83 enable this behavior in your custom view, you must:
86 <li>Define custom attributes for your view in a {@code
95 <p>This section discusses how to define custom attributes and specify their values.
[all …]
Dindex.jd19 <li><a href="{@docRoot}guide/topics/ui/custom-components.html">Custom Components</a>
50 <dd>Create a class that acts like a built-in view, with custom
54 <dt><b><a href="custom-drawing.html">Custom Drawing</a></b></dt>
67 custom drawings run faster.
Doptimizing-view.jd81 <p>If you have a complex UI, you should consider writing a custom {@link android.view.ViewGroup
83 its layout. Unlike the built-in views, your custom view can make application-specific assumptions
87 to extend {@link android.view.ViewGroup ViewGroup} as part of a custom view. PieChart has child
89 measures them. Instead, it sets their sizes directly according to its own custom layout
Dcustom-drawing.jd38 <p>The most important part of a custom view is its appearance. Custom drawing can be easy or complex
44 <p>The most important step in drawing a custom view is to override the {@link
52 android.view.View#onDraw(android.graphics.Canvas) onDraw()} to create your custom user interface (U…
115 <p>In order to properly draw your custom view, you need to know what size it is. Complex custom
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dapps.jd18 <li><a href="#custom-views">Building Accessible Custom Views</a>
25 <li><a href="#custom-touch-events">Handling custom touch events</a></li>
82 <p>If you build custom controls that extend the {@link android.view.View} class, you must complete
84 make custom view controls compatible with accessibility services.</p>
235 <h2 id="custom-views">Building Accessible Custom Views</h2>
237 <p>If your application requires a <a href="{@docRoot}guide/topics/ui/custom-components.html">custom
238 view component</a>, you must do some additional work to ensure that your custom view is accessible.
244 <li>Send {@link android.view.accessibility.AccessibilityEvent} objects specific to your custom
256 android.view.KeyEvent#KEYCODE_DPAD_CENTER} appropriately. When building a custom {@link
260 <p>Your custom control should also treat the {@link android.view.KeyEvent#KEYCODE_ENTER} event the
[all …]
Dchecklist.jd72 <a href="{@docRoot}guide/topics/ui/custom-components.html">custom interface controls</a> for
73 your application, <a href="{@docRoot}guide/topics/ui/accessibility/apps.html#custom-views">
74 implement accessibility interfaces</a> for your custom views and provide content descriptions.
75 For custom controls that are intended to be compatible with versions of Android back to 1.6,
121 <a href="{@docRoot}guide/topics/ui/custom-components.html">custom control</a> with a high degree
127 <li><strong>Custom controls and click handling:</strong> If a custom control in your
134 <a href="{@docRoot}guide/topics/ui/accessibility/apps.html#custom-touch-events">Handling custom
159 <li><strong>Custom controls with complex visual interactions:</strong> For custom controls that
/frameworks/base/docs/html/training/id-auth/
Dcustom_auth.jd35 device. This lesson explains how to create a custom account type that works the
58 android.accounts.AccountAuthenticatorActivity}, which you can extend to create your own custom
63 were only one way to do it, there'd be no need for "custom" account types, after
92 custom account code.</p>
95 You've already implemented the meat of your custom account code; what's left is
101 <p>In order for the {@link android.accounts.AccountManager} to work with your custom account
121 things, the name of your custom account type and the icon that the system will
132 used to launch your custom authenticator activity. If your authenticator
171 accounts of your custom type will be able to enumerate and authenticate just as
182 an app wishes to use your custom account type, it can check the device to see if
[all …]
/frameworks/base/docs/html/guide/topics/search/
Dindex.jd10 <li><a href="adding-custom-suggestions.html">Adding Custom Suggestions</a></li>
31 <img src="{@docRoot}images/search/search-suggest-custom.png" alt="" height="417" />
32 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with custom
48 <li>Provide custom search suggestions that match actual results in your application data</li>
58 search interface in your application. When using the search dialog or a custom interface, you
71 <dt><strong><a href="adding-custom-suggestions.html">Adding Custom Suggestions</a></strong></dt>
72 <dd>How to provide suggestions based on custom data from your application and also offer them
107 implementing custom suggestions, you'll need to provide a similar "clear history" method in your
Dadding-custom-suggestions.jd49 <p>When using the Android search dialog or search widget, you can provide custom search suggestions
54 an example of a search dialog with custom suggestions.</p>
56 <p>Once you provide custom suggestions, you can also make them available to the system-wide Quick
59 <p>Before you begin with this guide to add custom suggestions, you need to have implemented the
67 <img src="{@docRoot}images/search/search-suggest-custom.png" alt="" height="417" />
68 <p class="img-caption"><strong>Figure 1.</strong> Screenshot of a search dialog with custom
72 <p>When the user selects a custom suggestion, the Android system sends an {@link
75 android.content.Intent#ACTION_SEARCH} action, you can instead define your custom suggestions to use
81 <p>To provide custom suggestions, do the following:</p>
87 provides custom suggestions.</li>
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java370 final View custom = tab.getCustomView(); in update() local
371 if (custom != null) { in update()
372 final ViewParent customParent = custom.getParent(); in update()
375 ((ViewGroup) customParent).removeView(custom); in update()
377 addView(custom); in update()
379 mCustomView = custom; in update()
/frameworks/base/docs/html/guide/topics/ui/
Dcustom-components.jd10 <li><a href="#custom">Fully Customized Components</a></li>
45 of a screen element. To give an idea of the control you get with custom views, here are some
50 You could create a completely custom-rendered View type, for example a "volume
67 You could capture other events like key presses and handle them in some custom
72 The sections below explain how to create custom Views and use them in your application.
109 <h2 id="custom">Fully Customized Components</h2>
156 custom components, styled text, or anything else you can think of.</p>
321 of a customized View. The custom View is defined in the
324 <p>The LabelView sample demonstrates a number of different aspects of custom components:</p>
326 <li>Extending the View class for a completely custom component.</li>
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java421 final View custom = tab.getCustomView(); in update() local
422 if (custom != null) { in update()
423 final ViewParent customParent = custom.getParent(); in update()
425 if (customParent != null) ((ViewGroup) customParent).removeView(custom); in update()
426 addView(custom); in update()
428 mCustomView = custom; in update()
/frameworks/opt/vcard/tests/res/raw/
Dv21_x_param.vcf4 ADR;X-custom:pobox;street
/frameworks/base/docs/html/training/printing/
Dindex.jd32 your application, including printing images, HTML pages and creating custom documents for
51 <strong><a href="custom-docs.html">Printing a Custom Document</a></strong>
/frameworks/base/tools/layoutlib/
DREADME1 Layoutlib is a custom version of the android View framework designed to run inside Eclipse.
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java128 Object custom; field in FragmentActivity.NonConfigurationInstances
505 Object custom = onRetainCustomNonConfigurationInstance(); in onRetainNonConfigurationInstance() local
527 if (fragments == null && !retainLoaders && custom == null) { in onRetainNonConfigurationInstance()
533 nci.custom = custom; in onRetainNonConfigurationInstance()
634 return nc != null ? nc.custom : null; in getLastCustomNonConfigurationInstance()
/frameworks/base/docs/html/training/basics/actionbar/
Doverlaying.jd50 If you want your layout to be partially visible behind the action bar, create a custom
58 <p>To enable overlay mode for the action bar, you need to create a custom theme that
67 is set to {@code 11} or higher, your custom theme should use
85 running versions lower than Android 3.0, your custom theme should use
Dstyling.jd116 <img src="{@docRoot}images/training/basics/actionbar-theme-custom@2x.png" width="340" alt="" />
119 <p>To change the action bar background, create a custom theme for your activity that overrides the
131 parent theme from which your custom theme and style inherit their styles. Without a parent
210 <li>Action bar title: Create a custom style that specifies the {@code textColor} property and
211 specify that style for the {@link android.R.attr#titleTextStyle} property in your custom
214 The custom style applied to {@link android.R.attr#titleTextStyle} should use
318 …<img src="{@docRoot}images/training/basics/actionbar-theme-custom-tabs@2x.png" width="340" alt="" …
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd80 toast notification. To create a custom layout, define a View layout,
117 text.setText("This is a custom toast");
137 You can now display the toast with your custom layout by calling
142 If you do not have a custom layout to use, you must use
/frameworks/base/docs/html/design/building-blocks/
Dprogress.jd67 <h2 id="custom-indicators">Custom indicators</h2>
68 …sistent experience across Android. However, some situations may call for something more custom.</p>
80 <p>So we designed a custom indicator that could show all of the information in a tiny footprint, wi…
92 …Across Google Play apps with different layouts, the same custom indicator appears with each item. …
Dlists.jd33 simple single-line items, multi-line items, and custom items with icons, checkboxes, and action
/frameworks/base/docs/html/guide/topics/graphics/
Doverview.jd4 …ndroid provides a variety of powerful APIs for applying animation to UI elements and drawing custom
22 extensible and lets you animate properties of custom types as well.</dd>
50 look or behave. In addition, you can do your own custom 2D rendering using the various drawing
/frameworks/base/docs/html/tools/devices/
Dmanaging-avds-cmdline.jd98 the command line also, such as the emulated SD card size, the emulator skin, or a custom
126 create a custom hardware profile. </p>
128 Do you wish to create a custom hardware profile [no]</pre>
130 <p>If you want to set custom hardware emulation options for the AVD, enter
156 skin name (such as "WVGA800") or a custom skin resolution (such as 240x432).
160 <li>To specify a custom density for the skin, answer "yes" when asked whether
161 you want to create a custom hardware profile for the new AVD.</li>
199 If you want to use a custom location for the AVD directory, you
/frameworks/base/docs/html/google/play/licensing/
Dindex.jd12 an application can apply custom constraints based on the licensing status obtained from Google Play.
13 For example, an application can check the licensing status and then apply custom constraints
/frameworks/rs/scriptc/
Drs_graphics.rsh127 * vertex program. Calling this function with a custom vertex shader
135 * vertex program. Calling this function with a custom vertex shader
143 * vertex program. Calling this function with a custom vertex shader
151 * vertex program. Calling this function with a custom vertex shader

1234567