Home
last modified time | relevance | path

Searched refs:its (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd8 draw its layout.
11 the root node of its layout hierarchy.</p>
17 each of its children to be drawn
43 its measurements. The second pass happens in
45 this pass each parent is responsible for positioning all of its children
52 returns, its {@link android.view.View#getMeasuredWidth()} and
61 its children. For example, the parent may measure each child once with
77 its current bounds.</p>
93 which means the {@link android.view.View} wants to be as big as its parent
97 enclose its content (plus padding).</li>
[all …]
Ddeclaring-layout.jd67 … separate the presentation of your application from the code that controls its behavior. Your UI d…
199 <p>Note that every LayoutParams subclass has its own syntax for setting
200 values. Each child element must define LayoutParams that are appropriate for its parent,
201 though it may also define different LayoutParams for its own children. </p>
213 required by its content.</li>
215 tells your view to become as big as its parent view group will allow.</li>
241 both return the location of the view relative to its parent. For instance,
243 right of the left edge of its direct parent.
264 within its parent. The
279 To measure its dimensions, a view takes into account its padding. The padding
[all …]
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd4 <p>In most cases, every Android application runs in its own Linux process.
5 This process is created for the application when some of its code needs to
7 the system needs to reclaim its memory for use by other applications.</p>
25 receives an Intent in its {@link android.content.BroadcastReceiver#onReceive
28 considers the BroadcastReceiver to be no longer active, and thus, its hosting
43 cause its containing process to be considered foreground in different
48 at the top of the screen that the user is interacting with (its
51 (its {@link android.content.BroadcastReceiver#onReceive
54 in one of its callbacks ({@link android.app.Service#onCreate Service.onCreate()},
67 that is visible to the user on-screen but not in the foreground (its
[all …]
/frameworks/base/docs/html/training/basics/fragments/
Dindex.jd46 behaves somewhat like a nested activity that can define its own layout and manage its own
49 <p>When a fragment specifies its own layout, it can be configured in different combinations with
62 <dd>Learn how to build a fragment and implement basic behaviors within its callback
Dcreating.jd34 <p>You can think of a fragment as a modular section of an activity, which has its own lifecycle,
35 receives its own input events, and which you can add or remove while the activity is running (sort
60 example, here's a simple fragment that specifies its own layout:</p>
79 manage its state as it is added or removed from the activity and as the activity transitions
80 between its lifecycle states. For instance, when the activity's {@link
Dcommunicating.jd35 self-contained, modular component that defines its own layout and behavior. Once you
46 <p>To allow a Fragment to communicate up to its Activity, you can define an interface
48 the interface implementation during its onAttach() lifecycle method and can then call
145 // Call a method in the ArticleFragment to update its content
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd50 <dd>An XML file that defines a drawable that changes the size of another Drawable based on its
189 <dd>Defines the bitmap source and its properties.
208 bitmap is shrunk or stretched to smooth its apperance.</dd>
211 position the drawable in its container if the bitmap is smaller than the container.
216 <td>Put the object at the top of its container, not changing its size.</td></tr>
218 <td>Put the object at the bottom of its container, not changing its size. </td></tr>
220 <td>Put the object at the left edge of its container, not changing its size. </td></tr>
222 <td>Put the object at the right edge of its container, not changing its size. </td></tr>
224 <td>Place object in the vertical center of its container, not changing its size. </td></tr>
226 <td>Grow the vertical size of the object if needed so it completely fills its container. </td></tr>
[all …]
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd65 its layout. Unlike the built-in views, your custom view can make application-specific assumptions
67 shape of its children, and thus avoid traversing its children to calculate measurements. The
71 measures them. Instead, it sets their sizes directly according to its own custom layout
/frameworks/base/docs/html/training/backward-compatible-ui/
Dnew-implementation.jd46 …tialized on first access&mdash;instantiating the class or accessing one of its static fields or me…
57 …l tabs. <code>CompatTabHoneycomb</code> simply proxies all method calls to its contained {@link an…
86 …ies method calls to an actual {@link android.app.ActionBar}, obtained from its contained {@link an…
105 // Tab is a CompatTabHoneycomb instance, so its
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd57 {@link android.view.ViewGroup}, including on the surface of its children. If
64 method gives a parent the chance to see any touch event before its children do.
81 {@code MyViewGroup} should handle touch events by scrolling its contents. However,
161 The {@link android.view.ViewGroup} calls this method when a child does not want the parent and its
240 …ava.lang.Runnable} on the UI thread. This ensures that the parent lays out its children before cal…
248 In its capacity as touch delegate for the {@link android.widget.ImageButton} child view, the
267 // lays out its children before you call getHitRect()
287 // Extend the touch area of the ImageButton beyond its bounds
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd90 stops, the system retains the current state of its user interface. When the user presses the
93 previous activity resumes (the previous state of its UI is restored). Activities in the stack are
129 activities in its stack&mdash;two under the current activity. The user presses the <em>Home</em>
133 (Task B) with its own stack of activities. After interacting with
136 foreground&mdash;all three activities in its stack are intact and the activity at the top of the
163 <li>When Activity A starts Activity B, Activity A is stopped, but the system retains its state
165 If the user presses the <em>Back</em> button while in Activity B, Activity A resumes with its state
169 its task goes into the background. The system retains the state of every activity in the task. If
190 stopped. This way, when users navigate back to a previous activity, its user interface appears
283 <p>As such, if Activity A starts Activity B, Activity B can define in its manifest how it
[all …]
/frameworks/base/docs/html/training/run-background-service/
Dreport-status.jd46 components, first create an {@link android.content.Intent} that contains the status in its
148 {@link android.support.v4.content.LocalBroadcastManager} and call its
151 and its {@link android.content.IntentFilter}:
157 // Registers the DownloadStateReceiver and its intent filters
165 {@link android.content.Intent} object, each with its own action. This feature allows you to
/frameworks/base/docs/html/training/monitoring-device-state/
Dindex.jd28 <p>For your app to be a good citizen, it should seek to limit its impact on the battery life of its
30 and behavior based on the state of its device.</p>
/frameworks/base/docs/html/training/transitions/
Doverview.jd60 app changes from its search entry screen to its search results screen, it fades out views that
66 tree of views. The framework animates each view by changing one or more of its property values
94 <p>A scene stores the state of a view hierarchy, including all its views and their property
109 <p>A scene can also define its own actions that run when you make a scene change. For example,
112 <p>In addition to the view hierarchy and its property values, a scene also stores a reference
/frameworks/base/docs/html/training/
Dbest-background.jd8 application's performance and minimize its drain on the battery.</p>
/frameworks/base/docs/html/guide/practices/app-design/
Dindex.jd6 …nd consider these design goals as you plan your application and throughout its development, especi…
8 … a compelling technical feature set. The user experience is more than just its visual design or UI…
/frameworks/base/tools/layoutlib/create/
DREADME.txt38 The ASM library is used to do the bytecode modification using its visitor pattern API.
154 The listeners are currently pretty basic: we only pass the signature of the method being called, its
172 - OverrideMethod and its associated MethodListener and MethodAdapter are used to intercept calls to
198 This simply changes the name of a class in its definition, as well as all its references in internal
203 replace. To do so, the generator renames Paint to _original_Paint. Later the bridge provides its own
229 inner class Paint$Style in the Paint class should be discarded and the bridge will provide its own
245 receives the original 'this' as its first argument. If the original method is an inner non-static
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd99 the activity that started it and it stays there for its entire lifetime.
101 has an affinity for when its current task is no longer displayed.
118 of a task is determined by reading the affinity of its root activity.
130 "{@code false}" if the system is allowed to reset the task to its initial
144 to the task in its last state, regardless of how they get there. This is
160 providing an extended graphical banner for its associated item. Use with the
184 "{@code true}" if the task is always stripped down to its root activity, and
191 are brought to its root activity regardless of what they were last doing in
219 activity remains running and its <code>{@link android.app.Activity#onConfigurationChanged(android.c…
372 </code> element has its own<code>
[all …]
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd38 its window. Though an Activity is typically full screen, it can also be
82 transformed into its native format using the included &quot;dx&quot; tool.
141 <dd>A filter object that an application declares in its manifest file, to
142 tell the system what types of Intents each of its components is willing to
221 specify its size and format dynamically. A SurfaceView provides a way to
249 windows, and so on). It receives calls from its parent object (see
250 viewgroup, below)to draw itself, and informs its parent object about where
277 clicks and perform simple functions related to its parent. A panel floats
278 in front of its parent, and is positioned relative to it. A common example
/frameworks/base/docs/html/training/material/
Dshadows-clipping.jd24 <p>The elevation of a view, represented by the Z property, determines the visual appearance of its
77 <p>The bounds of a view's background drawable determine the default shape of its shadow.
116 from the view's background. To prevent a view from casting a shadow, set its outline provider
124 You can clip a view to its outline area using the {@link android.view.View#setClipToOutline
/frameworks/webview/nullwebview/
Dproguard.flags6 # Keep the factory and its public members; it's the main entry point used by the
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
DREADME.md7 A vendor wishing to customize the behavior shall provides its own set of configuration files
/frameworks/base/docs/html/training/load-data-background/
Dhandle-results.jd96 * when it's finished its query
110 The {@link android.support.v4.content.CursorLoader} is reset whenever its
118 finishes, {@link android.support.v4.content.CursorLoader} re-runs its query.
/frameworks/compile/mclinker/
DLICENSE.TXT31 Urbana-Champaign, nor the names of its contributors may be used to
47 have its own individual LICENSE.TXT file in the directory in which it appears.
/frameworks/base/docs/html/training/swipe/
Dindex.jd36 Even if your app automatically updates its content on a regular basis, you
64 …wipeRefreshLayout widget displays a progress indicator until your app finishes updating its data.">

12345678910>>...26