Searched defs:to (Results 1 - 13 of 13) sorted by relevance

/development/ndk/platforms/android-3/include/linux/netfilter/
H A Dxt_connbytes.h5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
31 aligned_u64 to; member in struct:xt_connbytes_info::__anon153
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DBitmapPixels.java10 * Unless required by applicable law or agreed to in writing, software
78 // now apply the alpha to r, g, b
86 private static void makeRamp(int from, int to, int n, argument
94 int dr = ((getR32(to) << 23) - r) / (n - 1);
95 int dg = ((getG32(to) << 23) - g) / (n - 1);
96 int db = ((getB32(to) << 23) - b) / (n - 1);
97 int da = ((getA32(to) << 23) - a) / (n - 1);
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
H A DMyRssReader4.java10 * Unless required by applicable law or agreed to in writing, software
49 // Populate ArrayAdapter and bind it to ListView
61 new String[]{RssContentProvider.TITLE}, // Columns to retrieve.
62 new int[]{R.id.list_item}); // IDs of widgets to display
74 // We'd like to store the current ListView selection.
88 // Always call the superclass implementation to
173 public RssCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to){ argument
174 super(context, layout, c, from, to);
184 // Now get the hasBeenRead value to determine the font.
H A DMyRssReader5.java10 * Unless required by applicable law or agreed to in writing, software
55 // Populate ArrayAdapter and bind it to ListView
70 new String[]{RssContentProvider.TITLE}, // Columns to retrieve.
71 new int[]{R.id.list_item}); // IDs of widgets to display
82 // Listener to listen for list selection changes, and send the new text to
85 // Need to nest this in a try block because we get called sometimes
94 // is deleted. In that case, we don't want to throw an error.
107 // We'd like to store the current ListView selection.
120 // Always call the superclass implementation to
217 RssCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
H A DAdapters.java10 * Unless required by applicable law or agreed to in writing, software
47 * <p>This class can be used to load {@link android.widget.Adapter adapters} defined in
48 * XML resources. XML-defined adapters can be used to easily create adapters in your
49 * own application or to pass adapters to other processes.</p>
53 * types. Arbitrary adapters are not supported to guarantee the safety of the loaded
57 * to display the content of a cursor, most often coming from a content provider</li>
76 * <li><code>android:layout</code>: Reference to the XML layout to be inflated for
86 * <li><code>android:uri</code>: URI of the content provider to quer
911 XmlCursorAdapter(Context context, int layout, String uri, String[] from, int[] to, String selection, String[] selectionArgs, String sortOrder, HashMap<String, CursorBinder> binders) argument
1124 addStringMapping(String from, String to) argument
1128 addResourceMapping(String from, int to) argument
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DGameView.java10 * Unless required by applicable law or agreed to in writing, software
38 * A trivial joystick based physics game to demonstrate joystick handling.
40 * If the game controller has a vibrator, then it is used to provide feedback
216 // somewhat expensive to query.
219 // It's possible for the device id to be invalid.
226 // Ignore joystick while the DPad is pressed to avoid conflicting motions.
248 // In a real game, we would allow the user to configure the axes manually.
489 static int blend(float alpha, int from, int to) { argument
490 return from + (int) ((to - from) * alpha);
/development/tools/emulator/system/qemud/
H A Dqemud.c33 * other channel numbers correspond to clients. More specifically,
36 * * the client connects to /dev/socket/qemud
43 * initiation request to the emulator (i.e. through channel 0):
48 * number corresponding to the channel number.
64 * to the emulator:
69 * chooses to close the connection.
71 * * any command sent through channel 0 to the emulator that is
85 #define T_ACTIVE 0 /* set to 1 to dump traffic */
197 int2hex( int value, uint8_t* to, in argument
208 fd_read(int fd, void* to, int len) argument
[all...]
/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/widget/ ...
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 5599 milliseconds