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

123

/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java11 * The callbacks specified in this method can be called from multiple threads.
52 static UtteranceProgressListener from( method in class:UtteranceProgressListener
/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/compile/mclinker/lib/Target/
H A DELFEmulation.cpp18 const char* from; ///< the prefix of the input string. (match FROM*) member in struct:NameMap
73 pScript.sectionMap().append(map[i].from, map[i].to, exist);
/frameworks/base/services/java/com/android/server/am/
H A DActivityResult.java29 public ActivityResult(ActivityRecord from, String resultWho, argument
32 mFrom = from;
/frameworks/base/core/java/android/app/
H A DNotificationManager.java46 * unspecified. This pair identifies this notification from your app to the
93 public static NotificationManager from(Context context) { method in class:NotificationManager
172 * will be hidden. If it's persistent, it will be removed from the status
182 * will be hidden. If it's persistent, it will be removed from the status
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java35 * This class inflates scenes and transitions from resource files.
51 * Obtains the TransitionInflater from the given context.
53 public static TransitionInflater from(Context context) { method in class:TransitionInflater
58 * Loads a {@link Transition} object from a resource
85 * Loads a {@link TransitionManager} object from a resource
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h41 std::string from; member in struct:mcld::SectionMap::NamePair
61 // add a mapping from input sub-string to output name.
/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/com/android/internal/widget/multiwaveview/
H A DTweener.java132 Tweener from(Object object, long duration, Object... vars) { method in class:Tweener
/frameworks/opt/mms/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/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp253 sp<MetaData> from = mBuffer->meta_data(); local
254 from->findInt64(kKeyTime, &curTS);
/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/net/
H A DNetworkPolicyManager.java71 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
/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...]
H A DSimpleAdapter.java33 * defines the views used to display the row, and a mapping from keys in the Map to specific
70 * "from"
73 * @param from A list of column names that will be added to the Map associated with each
75 * @param to The views that should display column in the "from" parameter. These should all be
77 * in the from parameter.
80 int resource, String[] from, int[] to) {
83 mFrom = from;
153 final String[] from = mFrom;
160 final Object data = dataSet.get(from[i]);
235 * @param value the value retrieved from th
79 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
[all...]
H A DSimpleCursorTreeAdapter.java25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
48 * The View IDs that will display a group's data fetched from the
59 * The View IDs that will display a child's data fetched from the
84 * @param groupTo The group views (from the group layouts) that should
85 * display column in the "from" parameter. These should all be
87 * given the values of the first N columns in the from parameter.
97 * @param childTo The child views (from the child layouts) that should
98 * display column in the "from" parameter. These should all be
100 * given the values of the first N columns in the from parameter.
125 * @param groupTo The group views (from th
212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument
[all...]
H A DSimpleExpandableListAdapter.java32 * that defines the views used to display a group, and a mapping from keys in
64 * @param groupFrom A list of keys that will be fetched from the Map
80 * @param childFrom A list of keys that will be fetched from the Map
109 * @param groupFrom A list of keys that will be fetched from the Map
128 * @param childFrom A list of keys that will be fetched from the Map
158 * @param groupFrom A list of keys that will be fetched from the Map
177 * @param childFrom A list of keys that will be fetched from the Map
243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { argument
249 v.setText((String)data.get(from[i]));
/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/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.cpp34 MetaData::MetaData(const MetaData &from) argument
36 mItems(from.mItems) {
233 MetaData::typed_data::typed_data(const typed_data &from) argument
234 : mType(from.mType),
236 allocateStorage(from.mSize);
237 memcpy(storage(), from.storage(), mSize);
241 const MetaData::typed_data &from) {
242 if (this != &from) {
244 mType = from.mType;
245 allocateStorage(from
240 operator =( const MetaData::typed_data &from) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp51 AString::AString(const AString &from) argument
55 setTo(from, 0, from.size());
58 AString::AString(const AString &from, size_t offset, size_t n) argument
62 setTo(from, offset, n);
69 AString &AString::operator=(const AString &from) { argument
70 if (&from != this) {
71 setTo(from, 0, from.size());
98 void AString::setTo(const AString &from, size_ argument
182 append(const AString &from) argument
186 append(const AString &from, size_t offset, size_t n) argument
265 insert(const AString &from, size_t insertionPos) argument
269 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DScriptGroup.java40 * Currently, all kernels in a ScriptGroup must be from separate
41 * Script objects. Attempting to use multiple kernels from the same
59 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
60 mFrom = from;
65 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
66 mFrom = from;
99 * Allocation provided from outside of the ScriptGroup.
161 * must come from different Script objects. Additionally, all kernels
185 // do a DFS from original node, looking for original node
311 * @param from Th
316 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
351 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]

Completed in 1226 milliseconds

123