/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 35 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), 248 void *dst = allocateStorage(from.mSize); 250 memcpy(dst, from.storage(), mSize); 255 const MetaData::typed_data &from) { 256 if (this != &from) { 258 mType = from.mType; 259 void *dst = allocateStorage(from 254 operator =( const MetaData::typed_data &from) argument [all...] |
H A D | NuCachedSource2.cpp | 52 void copy(size_t from, void *data, size_t size); 139 void PageCache::copy(size_t from, void *data, size_t size) { argument 140 ALOGV("copy from %zu size %zu", from, size); 146 CHECK_LE(from + size, mTotalSize); 150 while (from >= offset + (*it)->mSize) { 155 size_t delta = from - offset; 263 // explicitly disconnect from the source, to allow any 513 // If the request can be completely satisfied from the cache, do so. 700 ALOGE("Failed to parse cache parameters from ' [all...] |
H A D | StagefrightMetadataRetriever.cpp | 287 // we don't expect an output from codec config buffer 393 ALOGE("Unable to convert from format 0x%08x to RGB565", srcFormat); 547 int from; member in struct:android::Map 575 if (meta->findCString(kMap[i].from, &value)) {
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 53 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...] |
H A D | AMessage.cpp | 429 const Item *from = &mItems[i]; local 432 to->setName(from->mName, from->mNameLength); 433 to->mType = from->mType; 435 switch (from->mType) { 439 new AString(*from->u.stringValue); 446 to->u.refValue = from->u.refValue; 454 static_cast<AMessage *>(from->u.refValue)->dup(); 463 to->u = from->u;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 266 float from, to; local 267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) { 271 *durationUs = (int64_t)((to - from) * 1E6);
|
H A D | ARTSPConnection.cpp | 158 // Split of user:pass@ from hostname. 824 const char *from, unsigned long *x) { 826 *x = strtoul(from, &end, 10); 828 if (end == from || *end != '\0') { 823 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 94 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 37 * defines the views used to display the row, and a mapping from keys in the Map to specific 78 * "from" 81 * @param from A list of column names that will be added to the Map associated with each 83 * @param to The views that should display column in the "from" parameter. These should all be 85 * in the from parameter. 88 @LayoutRes int resource, String[] from, @IdRes int[] to) { 91 mFrom = from; 156 * {@code null} to use the theme from the adapter's context 167 mDropDownInflater = LayoutInflater.from(context); 189 final String[] from 87 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, @LayoutRes int resource, String[] from, @IdRes int[] to) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 25 * 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 D | SimpleExpandableListAdapter.java | 32 * 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/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 156 private static boolean hasMoved(Location from, Location to) { argument 161 if (from == null) { 166 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) { 171 float distance = from.distanceTo(to); 174 float totalAccuracy = from.getAccuracy() + to.getAccuracy(); 285 // enable passive provider to receive updates from location fixes (gps 351 Slog.d(TAG, "Estimated location from timezone: " + location);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Transform.java | 73 public Matrix getMatrix(char from, char to) {
argument 74 return mAllMat[from][to];
|
/frameworks/support/v4/java/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompat.java | 42 public static FingerprintManagerCompat from(Context context) { method in class:FingerprintManagerCompat 147 * Container for callback data from {@link FingerprintManagerCompat#authenticate(CryptoObject,
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 36 * This field should be made private, so it is hidden from the SDK. 42 * This field should be made private, so it is hidden from the SDK. 62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 65 mOriginalFrom = from; 66 findColumns(from); 78 * @param from A list of column names representing the data to bind to the UI. Can be null 80 * @param to The views that should display column in the "from" parameter. 82 * are given the values of the first N columns in the from 87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument 91 mOriginalFrom = from; 309 findColumns(String[] from) argument 343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) 29 : mSrcFormat(from), 27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 75 // Pops from the top of the stack as current configuration state (matrix, 81 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 107 // from * (1 - ratio) + to * ratio 109 public abstract void drawMixed(BasicTexture from, int toColor, argument 113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio. 116 public abstract void drawMixed(BasicTexture from, int toColor, argument 119 // Unloads the specified texture from the canvas. The resource allocated 121 // to the unloaded state. This function should be called only from
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 611 void JNIHelper::setByteArrayRegion(jbyteArray array, int from, int to, jbyte *bytes) { argument 612 mEnv->SetByteArrayRegion(array, from, to, bytes); 615 void JNIHelper::setIntArrayRegion(jintArray array, int from, int to, jint *ints) { argument 616 mEnv->SetIntArrayRegion(array, from, to, ints); 619 void JNIHelper::setLongArrayRegion(jlongArray array, int from, int to, jlong *longs) { argument 620 mEnv->SetLongArrayRegion(array, from, to, longs);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationManagerCompat.java | 50 * <p>To use this class, call the static function {@link #from} to get a 102 public static NotificationManagerCompat from(Context context) { method in class:NotificationManagerCompat 236 // Parse the string again if it is different from the last time this method was called. 303 * from any thread. 373 Log.d(TAG, "Disconnected from service " + componentName); 449 * Ensure we have unbound from a service.
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Palette.java | 34 * A helper class to extract prominent colors from an image. 36 * A number of colors with different profiles are extracted from the image: 45 * These can be retrieved from the appropriate getter method. 57 * Palette p = Palette.from(bitmap).generate(); 60 * Palette.from(bitmap).generate(new PaletteAsyncListener() { 93 public static Builder from(Bitmap bitmap) { method in class:Palette 98 * Generate a {@link Palette} from the pre-generated list of {@link Palette.Swatch} swatches. 99 * This is useful for testing, or if you want to resurrect a {@link Palette} instance from a 102 public static Palette from(List<Swatch> swatches) { method in class:Palette 111 return from(bitma [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | AdapterHelper.java | 520 boolean onItemRangeMoved(int from, int to, int itemCount) { argument 521 if (from == to) { 527 mPendingUpdates.add(obtainUpdateOp(UpdateOp.MOVE, from, to, null)); 749 void offsetPositionsForMove(int from, int to); argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelperTest.java | 184 if (move.from == vh) { 234 RecyclerView.ViewHolder from, to; field in class:ItemTouchHelperTest.MoveRecord 236 public MoveRecord(RecyclerView.ViewHolder from, argument 238 this.from = from; 240 fromPos = from.getAdapterPosition();
|
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 66 * unspecified. This pair identifies this notification from your app to the 178 public static NotificationManager from(Context context) { method in class:NotificationManager 275 * will be hidden. If it's persistent, it will be removed from the status 285 * will be hidden. If it's persistent, it will be removed from the status 536 /** Calls from repeat callers are prioritized. */
|
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 690 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument 693 if (from == -1) { 694 from = N-1; 696 if (from >= N) { 700 return from; 703 while (from >= 0) { 704 UndoState state = states.get(from); 706 return from; 708 from--; 714 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 65 * it only works with an XmlPullParser returned from a compiled resource 76 * This field should be made private, so it is hidden from the SDK. 131 * Hook you can supply that is called when inflating from a LayoutInflater. 201 * Views; most importantly, this supplies the theme from which the default 225 * Obtains the LayoutInflater from the given context. 227 public static LayoutInflater from(Context context) { method in class:LayoutInflater 363 * Inflate a new view hierarchy from the specified xml resource. Throws 378 * Inflate a new view hierarchy from the specified xml node. Throws 398 * Inflate a new view hierarchy from the specified xml resource. Throws 417 Log.d(TAG, "INFLATING from resourc [all...] |