/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
H A D | ReflectIntermediateClass.java | 10 * 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 D | SocketConnect.java | 14 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 D | ELFEmulation.cpp | 20 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 D | TextOutput.cpp | 10 * 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/rs/cpp/util/ |
H A D | StrongPointer.h | 10 * 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 D | StrongPointer.h | 10 * 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 D | ARTPAssembler.cpp | 10 * 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 D | ASessionDescription.cpp | 10 * 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/extensions/library/src/main/java/android/databinding/ |
H A D | ListChangeRegistry.java | 10 * 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 D | ReadRecInd.java | 11 * 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 D | ValueAnimatorCompatImplHoneycombMr1.java | 10 * 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/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtilsMatchers.java | 10 * Unless required by applicable law or agreed to in writing, software 61 // One option is to check if we have a ColorDrawable and then call getColor 244 public static Matcher<List<Float>> inRange(final float from, final float to) { argument 260 if ((curr < from) || (curr > to)) { 262 from + " and " + to; 344 * @param childMatcher the type of the child to match on
|
/frameworks/base/core/java/android/view/ |
H A D | GhostView.java | 10 * 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 D | SimpleCursorAdapter.java | 10 * 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 D | SimpleAdapter.java | 10 * 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 D | SimpleCursorTreeAdapter.java | 10 * 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 D | SimpleExpandableListAdapter.java | 10 * 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 D | SimpleCursorAdapterTest.java | 10 * Unless required by applicable law or agreed to in writing, software 166 // check columns to see if rearrangement tracked (should be swapped now) 173 * Test that you can safely construct with a null cursor *and* null to/from arrays. 183 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays 206 * Test going from one mapping to a different mapping 251 * This is simply a way to sneak a look at the protected mFrom() array. A more API- 252 * friendly way to do this would be to mock out a View and a ViewBinder and exercise 258 String[] from, int[] to) { 257 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | VectorDrawableTests.cpp | 10 * Unless required by applicable law or agreed to in writing, software 244 static bool hasSameVerbs(const PathData& from, const PathData& to) { argument 245 return from.verbs == to.verbs && from.verbSizes == to.verbSizes; 328 // Now try to interpolate with a slightly modified version of self and expect success 396 //TODO: Also need to test property sync and dirty flag when properties change.
|
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 29 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 D | ModelMethod.java | 10 * 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 D | ObservableArrayListTest.java | 10 * 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 D | ProgramCache.cpp | 10 * 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 D | ValueAnimatorCompat.java | 10 * 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 164 public void setIntValues(int from, int to) { argument 165 mImpl.setIntValues(from, to); 172 public void setFloatValues(float from, float to) { argument 173 mImpl.setFloatValues(from, to);
|
/frameworks/support/design/eclair-mr1/android/support/design/widget/ |
H A D | ValueAnimatorCompatImplEclairMr1.java | 10 * Unless required by applicable law or agreed to in writing, software 93 public void setIntValues(int from, int to) { argument 95 mIntValues[1] = to; 104 public void setFloatValues(float from, float to) { argument 106 mFloatValues[1] = to; 141 // Set our animated fraction to 1 173 // Check to see if we've passed the animation duration
|