Searched defs:from (Results 1 - 25 of 115) sorted by relevance

12345

/frameworks/av/include/media/stagefright/foundation/
H A DALookup.h30 bool lookup(const T& from, U *to) const;
31 bool rlookup(const U& from, T *to) const;
34 inline bool map(const T& from, V *to) const { return lookup(from, to); } argument
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } argument
49 bool ALookup<T, U>::lookup(const T& from, U *to) const { argument
51 if (elem.first == from) {
60 bool ALookup<T, U>::rlookup(const U& from, T *to) const { argument
62 if (elem.second == from) {
[all...]
H A DMutexed.h97 * unlock() or lock() from different threads; they must be called from the thread
106 inline Locked(Locked &&from) : argument
107 mLock(from.mLock),
108 mTreasure(from.mTreasure),
109 mLocked(from.mLocked) {}
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DReflectIntermediateClass.java28 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.java13 private InputStream from; field in class:SocketConnect
16 public SocketConnect(Socket from, Socket to) throws IOException { argument
17 this.from = from.getInputStream();
28 int r = from.read(buffer);
34 from.close();
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerException.java43 public static PackageManagerException from(PackageParserException e) method in class:PackageManagerException
48 public static PackageManagerException from(InstallerException e) method in class:PackageManagerException
/frameworks/base/core/java/android/os/health/
H A DSystemHealthManager.java59 public static SystemHealthManager from(Context context) { method in class:SystemHealthManager
74 * application. The keys for this HealthStats object will be from the {@link UidHealthStats}
93 * for this HealthStats object will be from the {@link UidHealthStats} class.
110 * the requested uids. The keys for this HealthStats object will be from the
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DDurationsTable.java29 * Add all of the durations from the other table into this one.
33 public void addDurations(DurationsTable from) { argument
34 final int N = from.getKeyCount();
36 final int key = from.getKeyAt(i);
37 this.addDuration(SparseMappingTable.getIdFromKey(key), from.getValue(key));
/frameworks/base/media/java/android/media/session/
H A DParcelableVolumeInfo.java45 public ParcelableVolumeInfo(Parcel from) { argument
46 volumeType = from.readInt();
47 controlType = from.readInt();
48 maxVolume = from.readInt();
49 currentVolume = from.readInt();
50 audioAttrs = AudioAttributes.CREATOR.createFromParcel(from);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityResult.java28 public ActivityResult(ActivityRecord from, String resultWho, argument
31 mFrom = from;
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp19 const char* from; ///< the prefix of the input string. (match FROM*) member in struct:mcld::NameMap
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java13 * The callbacks specified in this method can be called from multiple threads.
58 * @param errorCode one of the ERROR_* codes from {@link TextToSpeech}
65 * Called when an utterance has been stopped while in progress or flushed from the
130 static UtteranceProgressListener from( method in class:UtteranceProgressListener
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DResourceRequestKey.java25 * Simple RequestKey for decoding from a resource id.
36 public static ResourceRequestKey from(Resources res, int resId) { method in class:ResourceRequestKey
/frameworks/support/v4/java/android/support/v4/media/session/
H A DParcelableVolumeInfo.java42 public ParcelableVolumeInfo(Parcel from) { argument
43 volumeType = from.readInt();
44 controlType = from.readInt();
45 maxVolume = from.readInt();
46 currentVolume = from.readInt();
47 audioStream = from.readInt();
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
68 to->setInt32Data(from->int32Data());
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java40 * This class inflates scenes and transitions from resource files.
61 * Obtains the TransitionInflater from the given context.
63 public static TransitionInflater from(Context context) { method in class:TransitionInflater
68 * Loads a {@link Transition} object from a resource
96 * Loads a {@link TransitionManager} object from a resource
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DListChangeRegistry.java100 * @param from The index of the first element moved.
104 public void notifyMoved(ObservableList list, int from, int to, int count) { argument
105 ListChanges listChanges = acquire(from, to, count);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DReadRecInd.java26 * @param from the from value
34 public ReadRecInd(EncodedStringValue from, argument
41 setFrom(from);
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplHoneycombMr1.java78 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 DTestUtilsMatchers.java118 * from the view and up its ancestor chain matches the specified color.
244 public static Matcher<List<Float>> inRange(final float from, final float to) { argument
260 if ((curr < from) || (curr > to)) {
262 from + " and " + to;
/frameworks/base/core/java/android/content/
H A DContentValues.java57 * Creates a set of values copied from the given set
59 * @param from the values to copy
61 public ContentValues(ContentValues from) { argument
62 mValues = new HashMap<String, Object>(from.mValues);
66 * Creates a set of values copied from the given HashMap. This is used
100 * Adds all values from the passed in ContentValues.
102 * @param other the ContentValues from which to copy
/frameworks/base/core/java/android/view/
H A DGhostView.java154 private static void copySize(View from, View to) { argument
157 to.setRight(from.getWidth());
158 to.setBottom(from.getHeight());
183 // Remove all GhostViews from the middle
271 * Returns true if viewParents is from a View that is on top of the comparedWith's view.
272 * The ArrayLists contain the ancestors of views in order from top most grandparent, to
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
51 * This field should be made private, so it is hidden from the SDK.
57 * This field should be made private, so it is hidden from the SDK.
77 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
80 mOriginalFrom = from;
81 findColumns(c, from);
93 * @param from A list of column names representing the data to bind to the UI. Can be null
95 * @param to The views that should display column in the "from" parameter.
97 * are given the values of the first N columns in the from
102 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument
325 findColumns(Cursor c, String[] from) argument
360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java68 * Borrowed from CursorWindowTest.java
94 // Now see if we can pull 2 rows from the adapter
116 // Now see if we can pull 2 rows from the adapter
124 // Now see if we can pull 5 rows from the adapter
135 // Now see if we can pull 2 rows from the adapter
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
258 String[] from, in
257 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp244 static bool hasSameVerbs(const PathData& from, const PathData& to) { argument
245 return from.verbs == to.verbs && from.verbSizes == to.verbSizes;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelMethod.java172 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()) {
177 int fromConversionLevel = getImplicitConversionLevel(from);

Completed in 817 milliseconds

12345