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

1234

/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.java35 public static PackageManagerException from(PackageParserException e) method in class:PackageManagerException
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp19 const char* from; ///< the prefix of the input string. (match FROM*) member in struct:NameMap
80 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java11 * The callbacks specified in this method can be called from multiple threads.
56 * @param errorCode one of the ERROR_* codes from {@link TextToSpeech}
68 static UtteranceProgressListener from( method in class:UtteranceProgressListener
/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/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());
H A DASessionDescription.cpp266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java50 * unspecified. This pair identifies this notification from your app to the
107 public static NotificationManager from(Context context) { method in class:NotificationManager
190 * will be hidden. If it's persistent, it will be removed from the status
200 * will be hidden. If it's persistent, it will be removed from the status
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java39 * This class inflates scenes and transitions from resource files.
60 * Obtains the TransitionInflater from the given context.
62 public static TransitionInflater from(Context context) { method in class:TransitionInflater
67 * Loads a {@link Transition} object from a resource
94 * Loads a {@link TransitionManager} object from a resource
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java132 Tweener from(Object object, long duration, Object... vars) { method in class:Tweener
/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);
H A DSendReq.java54 * @param from the from value
61 EncodedStringValue from,
67 setFrom(from);
60 SendReq(byte[] contentType, EncodedStringValue from, int mmsVersion, byte[] transactionId) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroupThunker.java84 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/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.java160 private static void copySize(View from, View to) { argument
163 to.setRight(from.getWidth());
164 to.setBottom(from.getHeight());
189 // Remove all GhostViews from the middle
277 * Returns true if viewParents is from a View that is on top of the comparedWith's view.
278 * 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.java66 * Borrowed from CursorWindowTest.java
92 // Now see if we can pull 2 rows from the adapter
114 // Now see if we can pull 2 rows from the adapter
122 // Now see if we can pull 5 rows from the adapter
133 // Now see if we can pull 2 rows from the adapter
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
256 String[] from, in
255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp107 // any more buffers from the input. This will cause back pressure on the
125 // Acquire and detach the buffer from the input
129 "acquiring buffer from input failed (%d)", status);
131 ALOGV("acquired buffer %#" PRIx64 " from input",
136 "detaching buffer from input failed (%d)", status);
187 const sp<IGraphicBufferProducer>& from) {
193 status_t status = from->detachNextBuffer(&buffer, &fence);
201 "detaching buffer from output failed (%d)", status);
204 ALOGV("detached buffer %#" PRIx64 " from output %p",
205 buffer->getId(), from
186 onBufferReleasedByOutput( const sp<IGraphicBufferProducer>& from) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java46 * <p>When crossing from one task stack to another post-Android 3.0,
65 * from the developer guide and <a href="{@docRoot}design/patterns/navigation.html">Navigation</a>
66 * from the design guide.
149 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder
206 // We have the actual parent intent, build the rest from static metadata
264 * @param index Index from 0-getIntentCount()
278 * @param index Index from 0-getIntentCount()
/frameworks/av/media/libstagefright/
H A DMetaData.cpp35 MetaData::MetaData(const MetaData &from) argument
37 mItems(from.mItems) {
244 MetaData::typed_data::typed_data(const typed_data &from) argument
245 : mType(from.mType),
247 allocateStorage(from.mSize);
248 memcpy(storage(), from.storage(), mSize);
252 const MetaData::typed_data &from) {
253 if (this != &from) {
255 mType = from.mType;
256 allocateStorage(from
251 operator =( const MetaData::typed_data &from) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp53 AString::AString(const String8 &from) argument
57 setTo(from.string(), from.length());
60 AString::AString(const AString &from) argument
64 setTo(from, 0, from.size());
67 AString::AString(const AString &from, size_t offset, size_t n) argument
71 setTo(from, offset, n);
78 AString &AString::operator=(const AString &from) { argument
79 if (&from !
107 setTo(const AString &from, size_t offset, size_t n) argument
191 append(const AString &from) argument
195 append(const AString &from, size_t offset, size_t n) argument
274 insert(const AString &from, size_t insertionPos) argument
278 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]

Completed in 1638 milliseconds

1234