Home
last modified time | relevance | path

Searched refs:we (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/base/docs/html/training/design-navigation/
Dscreen-planning.jd38 … allow users to navigate to and interact with the data. The set of screens we actually expose shou…
40 <p>In our example application, we want to enable users to <strong>view</strong>, <strong>save</stro…
46 <li>Story detail view (from which we can save and share)</li>
48 <li>Photo detail view (from which we can save and share)</li>
57we can define the directed relationships between screens; an arrow from one screen <em>A</em> to a…
65 <p>If we later wanted to allow users to submit news stories or upload photos, we could add addition…
78 …ay. In the next lesson, we explore screen grouping techniques, such as providing multi-pane layout…
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex3.jd30 exactly where we left off at the end of the Notepadv2. </p>
34 <p>To fix this, we will move most of the functionality for creating and editing
41 <p>Instead, we are going to use the <code>DBHelper</code> class
42 to access the notes from the database directly. All we need passed into the
43 NoteEdit Activity is a <code>mRowId</code> (but only if we are editing, if creating we pass
50 the <code>extras</code> Bundle, which we were using to set the title
74 <p>In <code>NoteEdit</code>, we need to check the <var>savedInstanceState</var> for the
76 editing contains a saved state in the Bundle, which we should recover (this would happen
101 Note the null check for <code>savedInstanceState</code>, and we still need to load up
115 <p>Next, we need to populate the fields based on the <code>mRowId</code> if we
[all …]
Dnotepad-ex1.jd52 You must select the Build Target&mdash;we recommend selecting a target with the
72 exercise, we are using a SQLite database to store our data. This is useful
116 The next is the list of columns we want returned, in this case we want the <code>_id</code>,
120 …Having these all <code>null</code> means we want all data, need no grouping, and will take the def…
128 with the <var>rowId</var> we specify. It uses a slightly different version of the
130 The first parameter (set <em>true</em>) indicates that we are interested
132 only for the row "where _id =" the <var>rowId</var> we passed in. So we are returned a Cursor on
214 provided for us by the Android platform, so, we must
227 (as we see here).</p>
249 <p>To make the list of notes in the ListView, we also need to define a View for each row:</p>
[all …]
Dnotepad-ex2.jd42 <code>res/values</code> &mdash; there are several new strings which we will use
48 field used to hold the cursor we are using.
61 which we will be filling in below.
79 <li>In order for each list item in the ListView to register for the context menu, we call
88 menu callback used for the options menu. Here, we add just one line, which will add a menu item
97 …an extra object that may contain additional information about the object selected. However, we don…
98 …these here, because we only have one kind of object in the Activity that uses context menus. In th…
99 step, we'll handle the menu item selection.</p>
104 …<p>Now that we've registered our ListView for a context menu and defined our context menu item, we
105 to handle the callback when it is selected. For this, we need to identify the list ID of the
[all …]
/frameworks/base/tools/layoutlib/rename_font/
DREADME1 This tool is used to rename the PS name encoded inside the ttf font that we ship
4 versions are loaded. As a workaround, we rename all the fonts that we ship with
/frameworks/base/tools/layoutlib/create/
DREADME.txt24 - they contains references to native code (which we want to avoid in Eclipse),
27 - some of the classes that need to be changed are final and/or we need access to their private
33 - filters some packages and removes those we don't want in the output JAR,
62 dependencies and then only keep the ones we want.
65 from these is kept. Currently the one such class is android.view.View: since we want to render
70 ("*" does not matches dots whilst "**" does, and "." and "$" are interpreted as-is). In practice we
98 Each of these are specific strategies we use to be able to modify the Android code to fit within the
116 The next step of the transformation is changing the name of the class in case we requested the class
129 class was originally compiled with Java 7 (version 51). This is because we don't currently generate
131 valid StackMapTable. As a side benefit of this, we can continue to support Java 6 because Java 7 on
[all …]
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc30 // if we meet '//', '///', '////', ...
34 // if we meet '/./'
37 // if we meet '/../'
40 // if we meet other else
42 // if we meet '/.../', '/..../', ... -> illegal
163 // 2. Some but not all elements had beed put into cache, and we stoped.
/frameworks/base/tools/layoutlib/bridge/resources/bars/
DREADME7 For example, for the back icon for ICS, we search first in v18, where we don't
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc37 // if we meet '//', '///', '////', ...
41 // if we meet '/./'
44 // if we meet '/../'
47 // if we meet other else
49 // if we meet '/.../', '/..../', ... -> illegal
197 // 2. Some but not all elements had been put into cache, and we stoped.
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dp_med_ol.c40 Word16 *ww, *we, *hp_wsp; in Pitch_med_ol() local
53 we = &corrweight[98 + L_max - L_0]; in Pitch_med_ol()
82 R0 = Mpy_32_16(hi, lo, *we); in Pitch_med_ol()
83 we--; in Pitch_med_ol()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dp_ol_wgh.cpp596 const Word16 *we; in Lag_max() local
601 we = &corrweight[123 + lag_max - old_lag]; in Lag_max()
618 t0 = Mpy_32_16(t0_h, t0_l, *we, pOverflow); in Lag_max()
619 we--; in Lag_max()
/frameworks/base/docs/html/training/articles/
Dsmp.jd170 location A into reg1. (Note that we’re writing in one order and reading in
204 <p>To get into a situation where we see B=5 before we see the store to A, either
247 different order by thread 2. If that happened, we could actually appear to
384 <p>With this in mind, we’re ready to talk about ARM.</p>
405 reads B repeatedly, looping until we read 1 from B. The idea here is that
467 the other side, assume we read A earlier, or it lives on the same cache line as
468 something else we recently read. Core 2 spins until it sees the update to B,
492 guarantees about the ordering of loads in thread 1, but we don’t have any of
497 program order, why do we need the load/load barrier in thread 2? Because we
507 matter, so long as the appropriate guarantees are kept. If we use a barrier in
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/
Dindex.jd17 of Android 4.2, it’s a good time to talk about the performance work that we’ve done
27 processing. In this example we will look at applying a levels/saturation operation
35 In this post I’ll look at "compute" in more detail. In RenderScript we use
/frameworks/compile/libbcc/
DREADME.rst48 * To reduce launch time, we support caching of
50 if the given apps are performance-sensitive. Thus, we implemented
55 portability enhancement. Launch time reduction after we
74 * For steady-state performance, we enable VFP3 and aggressive
77 * Currently we disable Lazy JITting.
172 a page size, so that we can mmap the context directly into memory.
200 On ARM, we use hardfp. Note that double will be placed in a register pair.
/frameworks/native/services/sensorservice/
DFusion.cpp375 const vec3_t we = w - b; in predict() local
405 const mat33_t wx(crossMatrix(we, 0)); in predict()
407 const float lwedT = length(we)*dT; in predict()
409 const float ilwe = 1/length(we); in predict()
413 const vec3_t psi(sinf(hlwedT)*ilwe*we); in predict()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/
Duiautomator22 # cache so we redirect to an alternative cache
64 # we also pass the list of jar files, so we can extract class names for tests
82 # we are done with jars, starting with parameters now
/frameworks/base/docs/html/design/videos/
Dindex.jd49 …m, it is critical to get user feedback frequently and consistently so that we are able to iterate …
61 …he human brain is purely treated as an information processing machine, and we will teach the audie…
99 …, and the Recent Tasks UI got an overhaul. In this talk, we discuss how and why we got where we ar…
111 …is talk we give practical tips for how to apply fit &amp; finish as you implement your design, we
/frameworks/multidex/library/src/
D.readme2 Once we support binary library this will go away.
/frameworks/support/v7/gridlayout/src/
D.readme2 Once we support binary library this will go away.
/frameworks/multidex/instrumentation/src/
D.readme2 Once we support binary library this will go away.
/frameworks/support/v7/cardview/src/
D.readme2 Once we support binary library this will go away.
/frameworks/support/v7/mediarouter/src/
D.readme2 Once we support binary library this will go away.
/frameworks/support/v17/leanback/src/
D.readme2 Once we support binary library this will go away.
/frameworks/support/v7/appcompat/src/
D.readme2 Once we support binary library this will go away.
/frameworks/base/docs/html/distribute/stories/
Dlocalization.jd105 opportunity arose, we immediately jumped on it. Android is worldwide, and we
106 would be severely limiting ourselves if we focused on English as the only
122 text and graphic assets, we believe users will connect at a much deeper level
198 growth numbers in each country, we also looked at total Android and iOS users
292 Founder Pieter Olivier says, "When we heard that the App Translation
293 Service was available in the Developer Console, we jumped at the opportunity.
303 Olivier continues, "The first thing we did was convert all of our texts into
312 days instead of weeks that we were used to with traditional translation

123456789