Searched defs:from (Results 1 - 25 of 62) sorted by path

123

/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp253 sp<MetaData> from = mBuffer->meta_data(); local
254 from->findInt64(kKeyTime, &curTS);
/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...]
H A DNuCachedSource2.cpp50 void copy(size_t from, void *data, size_t size);
137 void PageCache::copy(size_t from, void *data, size_t size) { argument
138 ALOGV("copy from %d size %d", from, size);
144 CHECK_LE(from + size, mTotalSize);
148 while (from >= offset + (*it)->mSize) {
153 size_t delta = from - offset;
471 // If the request can be completely satisfied from the cache, do so.
646 ALOGE("Failed to parse cache parameters from '%s'.", s);
H A DOMXCodec.cpp105 // from IOMXObserver
1739 ALOGW("querying usage flags from OMX IL component failed: %d", err);
1806 CODEC_LOGV("allocating %lu buffers from a native window of size %lu on "
1880 // Dequeue the next buffer from the native window.
2297 const sp<MetaData> &from, const sp<MetaData> &to) {
2298 if (from.get() == NULL && to.get() == NULL) {
2302 if ((from.get() == NULL && to.get() != NULL)
2303 || (from.get() != NULL && to.get() == NULL)) {
2308 CHECK(from->findCString(kKeyMIMEType, &mime_from));
2317 CHECK(from
2296 formatHasNotablyChanged( const sp<MetaData> &from, const sp<MetaData> &to) argument
[all...]
H A DStagefrightMetadataRetriever.cpp299 ALOGE("Unable to instantiate color conversion from format 0x%08x to "
448 int from; member in struct:android::Map
472 if (meta->findCString(kMap[i].from, &value)) {
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/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/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 DARTSPConnection.cpp157 // Split of user:pass@ from hostname.
816 const char *from, unsigned long *x) {
818 *x = strtoul(from, &end, 10);
820 if (end == from || *end != '\0') {
815 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
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.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/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 DConnectivityManager.java58 * If this is a connection that was the result of failing over from a
139 * may be passed up from the lower networking layers, and its
373 * from an App.
842 public static ConnectivityManager from(Context context) { method in class:ConnectivityManager
H A DNetworkPolicyManager.java71 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
H A DUri.java67 that some threads will immediately see changes from other threads on
70 overhead, which means the most common case, access from a single thread,
88 For reference, from RFC 2396:
222 * Gets the decoded user information from the authority.
231 * Gets the encoded user information from the authority.
240 * Gets the encoded host from the authority for this URI. For example,
249 * Gets the port from the authority for this URI. For example,
273 * Gets the decoded query component from this URI. The query comes after
283 * Gets the encoded query component from this URI. The query comes after
402 * Constructs a new builder, copying the attributes from thi
2059 static Part from(String encoded, String decoded) { method in class:Uri.Part
2236 static PathPart from(String encoded, String decoded) { method in class:Uri.PathPart
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java48 * on-demand from an application. OBBs are a good way of providing large amounts
51 * a shared storage pool accessible from all programs. The system does not
53 * OBB, there is no guarantee that a read from that OBB will produce the
298 public static StorageManager from(Context context) { method in class:StorageManager
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java111 * from the following XML resource:</p>
398 * this resource is loaded from <var>res</var> and returned. Otherwise
410 * this resource is loaded from <var>res</var> and returned. Otherwise
422 * this resource is loaded from <var>res</var> and returned. Otherwise
435 * this resource is loaded from <var>res</var> and returned. Otherwise
522 // We are restarting from a previous saved state; used that to
734 * to fill in the list from a resource.
1185 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1187 for (int j=0; j<from.size(); j++) {
1188 Header oh = from
[all...]
/frameworks/base/core/java/android/provider/
H A DMediaStore.java109 * An intent to perform a search for music media and automatically play content from the
125 * An intent to perform a search for readable media and automatically play content from the
141 * An intent to perform a search for video media and automatically play content from the
362 * from MTP to the media provider
582 * stream from database (MICRO_KIND) or file (MINI_KIND).
752 * is automatically computed from the DATA column.
759 * is automatically computed from the DATA column.
1085 * <P>Type: INTEGER (ID from Images table)</P>
1128 * A non human readable key calculated from the TITLE, used for
1174 * A non human readable key calculated from th
1604 moveItem(ContentResolver res, long playlistId, int from, int to) argument
[all...]
/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/core/java/android/view/
H A DLayoutInflater.java58 * it only works with an XmlPullParser returned from a compiled resource
67 * This field should be made private, so it is hidden from the SDK.
114 * Hook you can supply that is called when inflating from a LayoutInflater.
184 * Views; most importantly, this supplies the theme from which the default
208 * Obtains the LayoutInflater from the given context.
210 public static LayoutInflater from(Context context) { method in class:LayoutInflater
342 * Inflate a new view hierarchy from the specified xml resource. Throws
357 * Inflate a new view hierarchy from the specified xml node. Throws
377 * Inflate a new view hierarchy from the specified xml resource. Throws
394 if (DEBUG) System.out.println("INFLATING from resourc
[all...]
H A DViewDebug.java103 * @ViewDebug.IntToString(from = 0, to = "VISIBLE"),
104 * @ViewDebug.IntToString(from = 4, to = "INVISIBLE"),
105 * @ViewDebug.IntToString(from = 8, to = "GONE")
123 * @ViewDebug.IntToString(from = 0, to = "INVALID"),
124 * @ViewDebug.IntToString(from = 1, to = "FIRST"),
125 * @ViewDebug.IntToString(from = 2, to = "SECOND")
186 * Defines a mapping from an int value to a String. Such a mapping can be used
199 int from(); method in interface:ViewDebug.IntToString
210 * Defines a mapping from a flag to a String. Such a mapping can be used
284 * Returns a View to enable grabbing screenshots from custo
[all...]
/frameworks/base/core/java/android/widget/
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 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 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]));

Completed in 323 milliseconds

123