Searched defs:from (Results 1 - 25 of 57) 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/services/java/com/android/server/am/
H A DActivityResult.java29 public ActivityResult(ActivityRecord from, String resultWho, argument
32 mFrom = from;
H A DDeviceMonitor.java149 * Copies from a file to an output stream.
151 private void dump(File from, OutputStream out) throws IOException { argument
152 writeHeader(from, out);
156 in = new FileInputStream(from);
/frameworks/compile/mclinker/lib/LD/
H A DELFSectionMap.cpp15 const char* from; member in struct:NameMap
78 NamePair& pair = append(map[i].from, map[i].to, exist);
80 warning(diag::warn_duplicate_std_sectmap) << map[i].from
82 << pair.from
/frameworks/base/core/java/android/app/
H A DNotificationManager.java45 * unspecified. This pair identifies this notification from your app to the
92 public static NotificationManager from(Context context) { method in class:NotificationManager
165 * will be hidden. If it's persistent, it will be removed from the status
175 * will be hidden. If it's persistent, it will be removed from the status
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwarder.java36 private Socket from, to; field in class:Forwarder
41 public Forwarder (Socket from, Socket to, ForwardServer server) { argument
43 this.from = from;
49 Thread outgoing = new Thread(new SocketPipe(from, to));
50 Thread incoming = new Thread(new SocketPipe(to, from));
58 shutdown(from);
/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/compile/mclinker/include/mcld/LD/
H A DSectionMap.h49 // add a mapping from input substr to output name and offset.
88 const char* from; member in struct:mcld::SectionMap::SectionNameMapping
/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/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.
145 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder
195 // We have the actual parent intent, build the rest from static metadata
253 * @param index Index from 0-getIntentCount()
267 * @param index Index from 0-getIntentCount()
/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java27 * the APIs from Scroller or OverScroller.</p>
43 public static ScrollerCompat from(Context context) { method in class:ScrollerCompat
75 * @return The new X offset as an absolute distance from the origin.
84 * @return The new Y offset as an absolute distance from the origin.
/frameworks/av/media/libstagefright/
H A DMetaData.cpp34 MetaData::MetaData(const MetaData &from) argument
36 mItems(from.mItems) {
230 MetaData::typed_data::typed_data(const typed_data &from) argument
231 : mType(from.mType),
233 allocateStorage(from.mSize);
234 memcpy(storage(), from.storage(), mSize);
238 const MetaData::typed_data &from) {
239 if (this != &from) {
241 mType = from.mType;
242 allocateStorage(from
237 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.java57 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
58 mFrom = from;
63 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
64 mFrom = from;
178 // do a DFS from original node, looking for original node
304 * @param from The source for the connection.
309 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) { argument
310 //android.util.Log.v("RSR", "addConnection " + t +", " + from + ", " + to);
312 Node nf = findNode(from);
322 ConnectLine cl = new ConnectLine(t, from, t
344 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]

Completed in 2067 milliseconds

123