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

12

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DReflectIntermediateClass.java10 * Unless required by applicable law or agreed to in writing, software
23 * Offer an indirection to some Big0xx classes and have their initialization
28 public static int get(int from, int to, int sleepMillis) throws ClassNotFoundException, argument
32 for (int i = from; i <= to; i++) {
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java14 private OutputStream to; field in class:SocketConnect
16 public SocketConnect(Socket from, Socket to) throws IOException { argument
18 this.to = to.getOutputStream();
32 to.write(buffer, 0, r);
35 to.close();
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp20 const char* to; ///< the output string. member in struct:NameMap
80 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
85 // FIXME: this is the hack to help assignment processing in current
/frameworks/native/libs/binder/
H A DTextOutput.cpp10 * Unless required by applicable law or agreed to in writing, software
40 TextOutput& operator<<(TextOutput& to, bool val) argument
42 if (val) to.print("true", 4);
43 else to.print("false", 5);
44 return to;
47 TextOutput& operator<<(TextOutput& to, int val) argument
51 to.print(buf, strlen(buf));
52 return to;
55 TextOutput& operator<<(TextOutput& to, long val) argument
59 to
63 operator <<(TextOutput& to, unsigned int val) argument
71 operator <<(TextOutput& to, unsigned long val) argument
79 operator <<(TextOutput& to, long long val) argument
87 operator <<(TextOutput& to, unsigned long long val) argument
95 print_float(TextOutput& to, double value) argument
107 operator <<(TextOutput& to, float val) argument
112 operator <<(TextOutput& to, double val) argument
117 operator <<(TextOutput& to, const void* val) argument
125 operator <<(TextOutput& to, const String8& val) argument
131 operator <<(TextOutput& to, const String16& val) argument
142 operator <<(TextOutput& to, const TypeCode& val) argument
161 operator <<(TextOutput& to, const HexDump& val) argument
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp80 FILE* to; local
82 to = stdout;
84 /* open file in binary mode to ensure that the tool produces the
87 to = fopen(filename.c_str(), "wb");
88 if (to == NULL) {
89 fprintf(stderr, "unable to open %s for write\n", filename.c_str());
94 document->Write(to);
96 fclose(to);
/frameworks/rs/cpp/util/
H A DStrongPointer.h10 * Unless required by applicable law or agreed to in writing, software
31 TextOutput& printStrongPointer(TextOutput& to, const void* val);
115 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
214 return printStrongPointer(to, val.get());
/frameworks/rs/server/
H A DStrongPointer.h10 * Unless required by applicable law or agreed to in writing, software
30 TextOutput& printStrongPointer(TextOutput& to, const void* val);
114 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
213 return printStrongPointer(to, val.get());
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp10 * Unless required by applicable law or agreed to in writing, software
61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
65 to->meta()->setInt32("rtp-time", rtpTime);
68 to->setInt32Data(from->int32Data());
H A DASessionDescription.cpp10 * Unless required by applicable law or agreed to in writing, software
266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
316 // Failed to parse float or trailing "dash".
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java10 * Unless required by applicable law or agreed to in writing, software
52 break; // an animator can only be attached to one object
57 public static Tweener to(Object object, long duration, Object... vars) { method in class:Tweener
63 // Iterate through arguments and discover properties to animate
136 return Tweener.to(object, duration, vars);
139 // Listener to watch for completed animations and remove them.
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DReadRecInd.java11 * Unless required by applicable law or agreed to in writing, software
30 * @param to the to value
32 * NullPointerException if messageId or to is null.
38 EncodedStringValue[] to) throws InvalidHeaderValueException {
44 setTo(to);
34 ReadRecInd(EncodedStringValue from, byte[] messageId, int mmsVersion, int readStatus, EncodedStringValue[] to) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroupThunker.java10 * Unless required by applicable law or agreed to in writing, software
84 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) { argument
87 bN.addConnection(tt.getNObj(), from.mN, to.mN);
94 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) { argument
97 bN.addConnection(tt.getNObj(), from.mN, to.mN);
/frameworks/base/core/java/android/view/
H A DGhostView.java10 * Unless required by applicable law or agreed to in writing, software
26 * by its parent because its visibility is set to INVISIBLE, but will be drawn
27 * here using its render node. When the GhostView is set to INVISIBLE, the View it is
160 private static void copySize(View from, View to) { argument
161 to.setLeft(0);
162 to.setTop(0);
163 to.setRight(from.getWidth());
164 to.setBottom(from.getHeight());
168 * Move the GhostViews to the end so that they are on top of other views and it is easier
169 * to d
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * views you want to display the columns, and the XML file that defines
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
44 * to get control over the filtering process. You can refer to
50 * A list of columns containing the data to bind to th
77 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
102 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument
360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
H A DSimpleAdapter.java10 * Unless required by applicable law or agreed to in writing, software
30 * An easy adapter to map static data to views defined in an XML file. You can specify the data
31 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row
33 * defines the views used to display the row, and a mapping from keys in the Map to specific
36 * Binding data to views occurs in two phases. First, if a
68 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The
72 * item. The layout file should include at least those named views defined in "to"
73 * @param from A list of column names that will be added to th
79 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
[all...]
H A DSimpleCursorTreeAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * you want to display the columns, and the XML file that defines the appearance
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
42 /** The name of the columns that contain the data to display for a group. */
45 /** The indices of columns that contain data to display for a group. */
53 /** The name of the columns that contain the data to display for a child. */
56 /** The indices of columns that contain data to displa
212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument
[all...]
H A DSimpleExpandableListAdapter.java10 * Unless required by applicable law or agreed to in writing, software
28 * An easy adapter to map static data to group and child views defined in an XML
30 * Maps. Each entry in the ArrayList corresponds to one group in the expandable
32 * that defines the views used to display a group, and a mapping from keys in
33 * the Map to specific views. This process is similar for a child, except it is
35 * where the first List corresponds to the group of the child, the second List
36 * corresponds to the position of the child within the group, and finally the
60 * @param groupData A List of Maps. Each entry in the List corresponds to
74 * corresponds to
243 bindView(View view, Map<String, ?> data, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java10 * Unless required by applicable law or agreed to in writing, software
164 // check columns to see if rearrangement tracked (should be swapped now)
171 * Test that you can safely construct with a null cursor *and* null to/from arrays.
181 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays
204 * Test going from one mapping to a different mapping
249 * This is simply a way to sneak a look at the protected mFrom() array. A more API-
250 * friendly way to do this would be to mock out a View and a ViewBinder and exercise
256 String[] from, int[] to) {
255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp29 void print(FILE* to) const;
66 ErrorPos::print(FILE* to) const
83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string());
85 fprintf(to, "%s: %s%s\n", this->file.string(), type, this->error.string());
88 fprintf(to, "%s%s\n", type, this->error.string());
156 SourcePos::printErrors(FILE* to) argument
160 it->print(to);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp10 * Unless required by applicable law or agreed to in writing, software
31 * A simple formatter class to automatically add the endl and
63 friend inline Formatter& operator<<(Formatter& to, FormaterManipFunc func) { argument
64 return (*func)(to);
82 // generate shaders on initialization so as to avoid jank.
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java10 * Unless required by applicable law or agreed to in writing, software
24 * The kernels may be connected internally or to an external allocation.
31 * Inputs bound to script globals are set directly upon the script.
35 * script kernels and connections. Attempting to create a
36 * ScriptGroup with multiple DAGs or attempting to create
40 * Script objects. Attempting to use multiple kernels from the same
58 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
60 mToK = to;
64 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
66 mToF = to;
315 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
350 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightService.java10 * Unless required by applicable law or agreed to in writing, software
48 * Used by the UI mode manager and other components to adjust night mode
156 private static boolean hasMoved(Location from, Location to) { argument
157 if (to == null) {
166 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) {
171 float distance = from.distanceTo(to);
174 float totalAccuracy = from.getAccuracy() + to.getAccuracy();
242 // Don't do anything -- we are still trying to get a
254 // register a new one for it to get an immediate update.
258 // Fall through to r
[all...]
/frameworks/native/include/binder/
H A DParcel.h10 * Unless required by applicable law or agreed to in writing, software
117 // descriptors are dup'ed, so it is safe to delete the native_handle
124 // The Parcel does not take ownership of the given fd unless you ask it to.
131 // Writes a raw fd and optional comm channel fd to the parcel as a ParcelFileDescriptor.
136 // Writes a blob to the parcel.
180 // response headers. Callers should use this to read & parse the
192 // in the parcel, which you do not own -- use dup() to get your own copy.
228 void print(TextOutput& to, uint32_t flags = 0) const;
391 inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel) argument
393 parcel.print(to);
[all...]
H A DTextOutput.h10 * Unless required by applicable law or agreed to in writing, software
42 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } argument
54 // Text output stream for printing to the log (via utils/Log.h).
57 // Text output stream for printing to stdout.
60 // Text output stream for printing to stderr.
65 TextOutput& endl(TextOutput& to);
66 TextOutput& indent(TextOutput& to);
67 TextOutput& dedent(TextOutput& to);
131 endl(TextOutput& to) argument
137 indent(TextOutput& to) argument
143 dedent(TextOutput& to) argument
149 operator <<(TextOutput& to, const char* str) argument
155 operator <<(TextOutput& to, char c) argument
161 operator <<(TextOutput& to, TextOutputManipFunc func) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java10 * Unless required by applicable law or agreed to in writing, software
28 * Used to write apps that run on platforms prior to Android 3.0. When running
30 * to switch to the framework's implementation. See the framework SDK
35 * A list of columns containing the data to bind to the UI.
41 * A list of View ids representing the views to which the data must be bound.
62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
64 mTo = to;
87 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument
343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]

Completed in 832 milliseconds

12