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

123

/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:mcld::NameMap
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
83 // 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/data-binding/library/src/main/java/android/databinding/
H A DListChangeRegistry.java10 * Unless required by applicable law or agreed to in writing, software
50 callback.onItemRangeMoved(sender, listChanges.start, listChanges.to,
101 * @param to The index of where the element was moved to.
104 public void notifyMoved(ObservableList list, int from, int to, int count) { argument
105 ListChanges listChanges = acquire(from, to, count);
113 * @param start The index of the first element to be removed.
121 private static ListChanges acquire(int start, int to, int count) { argument
127 listChanges.to = to;
148 public int to; field in class:ListChangeRegistry.ListChanges
[all...]
/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/design/honeycomb-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplHoneycombMr1.java10 * Unless required by applicable law or agreed to in writing, software
78 public void setIntValues(int from, int to) { argument
79 mValueAnimator.setIntValues(from, to);
88 public void setFloatValues(float from, float to) { argument
89 mValueAnimator.setFloatValues(from, to);
/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
154 private static void copySize(View from, View to) { argument
155 to.setLeft(0);
156 to.setTop(0);
157 to.setRight(from.getWidth());
158 to.setBottom(from.getHeight());
162 * Move the GhostViews to the end so that they are on top of other views and it is easier
163 * 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
34 * An easy adapter to map static data to views defined in an XML file. You can specify the data
35 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row
37 * defines the views used to display the row, and a mapping from keys in the Map to specific
40 * Binding data to views occurs in two phases. First, if a
76 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The
80 * item. The layout file should include at least those named views defined in "to"
81 * @param from A list of column names that will be added to th
87 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, @LayoutRes int resource, String[] from, @IdRes 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/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelMethod.java10 * Unless required by applicable law or agreed to in writing, software
54 * Returns the JNI description of the method which can be used to lookup it in SDK.
65 * @param args The arguments to the method
66 * @return Whether the arguments would be accepted as parameters to this method.
172 public static boolean isImplicitConversion(ModelClass from, ModelClass to) { argument
173 if (from != null && to != null && from.isPrimitive() && to.isPrimitive()) {
174 if (from.isBoolean() || to.isBoolean() || to.isChar()) {
178 int toConversionLevel = getImplicitConversionLevel(to);
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DObservableArrayListTest.java10 * Unless required by applicable law or agreed to in writing, software
59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) {
60 mNotifications.add(new ListChange(MOVE, from, to, count));
75 this.to = 0;
79 public ListChange(int change, int from, int to, int count) { argument
81 this.to = to;
93 public final int to; field in class:ObservableArrayListTest.ListChange
/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/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java10 * Unless required by applicable law or agreed to in writing, software
51 * for animations with repeat count set to INFINITE.</p>
58 * for animations with repeat count set to INFINITE.</p>
99 abstract void setIntValues(int from, int to); argument
101 abstract void setFloatValues(float from, float to); argument
163 public void setIntValues(int from, int to) { argument
164 mImpl.setIntValues(from, to);
171 public void setFloatValues(float from, float to) { argument
172 mImpl.setFloatValues(from, to);
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplEclairMr1.java10 * Unless required by applicable law or agreed to in writing, software
90 public void setIntValues(int from, int to) { argument
92 mIntValues[1] = to;
101 public void setFloatValues(float from, float to) { argument
103 mFloatValues[1] = to;
137 // Set our animated fraction to 1
164 // Check to see if we've passed the animation duration
/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...]

Completed in 912 milliseconds

123