/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 581 private int buildShader(String source, int type) { argument 584 glShaderSource(shader, source);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 132 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { argument 135 CHECK_EQ((status_t)OK, source->start()); 140 err = source->read(&mbuf); 159 CHECK_EQ((status_t)OK, source->stop()); 165 static void playSource(OMXClient *client, sp<MediaSource> &source) { argument 166 sp<MetaData> meta = source->getFormat(); 173 rawSource = source; 184 client->interface(), meta, false /* createEncoder */, source, 196 source.clear(); 399 DetectSyncSource(const sp<MediaSource> &source); 423 DetectSyncSource(const sp<MediaSource> &source) argument 518 sp<MediaSource> source = sources.editItemAt(i); local 535 performSeekTest(const sp<MediaSource> &source) argument 1045 sp<MediaSource> source = extractor->getTrack(i); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 1286 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1289 if (source->readAt(0, tmp, 12) < 12) { 1285 SniffAVI( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | FLACExtractor.cpp | 130 // current position within the data source 793 const sp<DataSource> &source, String8 *mimeType, float *confidence, 801 if (source->readAt(0, header, sizeof(header)) != sizeof(header) 792 SniffFLAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | OggExtractor.cpp | 68 MyVorbisExtractor(const sp<DataSource> &source); 207 MyVorbisExtractor::MyVorbisExtractor(const sp<DataSource> &source) argument 208 : mSource(source), 971 OggExtractor::OggExtractor(const sp<DataSource> &source) argument 972 : mDataSource(source), 1014 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1017 if (source->readAt(0, tmp, 4) < 4 || memcmp(tmp, "OggS", 4)) { 1013 SniffOgg( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 39 DataSourceReader(const sp<DataSource> &source) argument 40 : mSource(source) { 626 MatroskaExtractor::MatroskaExtractor(const sp<DataSource> &source) argument 627 : mDataSource(source), 940 const sp<DataSource> &source, String8 *mimeType, float *confidence, 942 DataSourceReader reader(source); 939 SniffMatroska( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 416 sp<MediaSource> source = mStreams.editValueAt(i)->getSource(type); local 417 if (source != NULL) { 419 return source; 874 // and won't enqueue any access units to the source until 1203 sp<MediaSource> source = program->getSource(type); local 1205 if (source != NULL) { 1206 return source;
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 1332 public IntentFilter createFromParcel(Parcel source) { 1333 return new IntentFilter(source); 1413 private IntentFilter(Parcel source) { argument 1415 source.readStringList(mActions); 1416 if (source.readInt() != 0) { 1418 source.readStringList(mCategories); 1420 if (source.readInt() != 0) { 1422 source.readStringList(mDataSchemes); 1424 if (source.readInt() != 0) { 1426 source [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 1072 public void readFromParcel(Parcel source) { argument 1073 fontScale = source.readFloat(); 1074 mcc = source.readInt(); 1075 mnc = source.readInt(); 1076 if (source.readInt() != 0) { 1077 locale = new Locale(source.readString(), source.readString(), 1078 source.readString()); 1080 userSetLocale = (source.readInt()==1); 1081 touchscreen = source 1114 Configuration(Parcel source) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 210 public void readFromParcel(Parcel source) { argument 211 dalvikPss = source.readInt(); 212 dalvikPrivateDirty = source.readInt(); 213 dalvikSharedDirty = source.readInt(); 214 nativePss = source.readInt(); 215 nativePrivateDirty = source.readInt(); 216 nativeSharedDirty = source.readInt(); 217 otherPss = source.readInt(); 218 otherPrivateDirty = source.readInt(); 219 otherSharedDirty = source 232 MemoryInfo(Parcel source) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 98 public static SpannableStringBuilder valueOf(CharSequence source) { argument 99 if (source instanceof SpannableStringBuilder) { 100 return (SpannableStringBuilder) source; 102 return new SpannableStringBuilder(source);
|
H A D | TextUtils.java | 246 * from the source string. This is different than simply calling 248 * in that it does not preserve any style runs in the source sequence, 251 public static String substring(CharSequence source, int start, int end) { argument 252 if (source instanceof String) 253 return ((String) source).substring(start, end); 254 if (source instanceof StringBuilder) 255 return ((StringBuilder) source).substring(start, end); 256 if (source instanceof StringBuffer) 257 return ((StringBuffer) source).substring(start, end); 260 getChars(source, star 427 stringOrSpannedString(CharSequence source) argument 496 getReverse(CharSequence source, int start, int end) argument 504 Reverser(CharSequence source, int start, int end) argument 983 copySpansFrom(Spanned source, int start, int end, Class kind, Spannable dest, int destoff) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 45 public Surface createFromParcel(Parcel source) { 48 s.readFromParcel(source); 275 private native void nativeReadFromParcel(Parcel source); argument 705 public void readFromParcel(Parcel source) { argument 706 if (source == null) { 707 throw new IllegalArgumentException("source must not be null"); 710 mName = source.readString(); 711 nativeReadFromParcel(source);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 27 * about state change of its source {@link android.view.View}. When a view fires 112 * Sets the event source. 114 * @param source The source. 118 public void setSource(View source) { argument 119 setSource(source, UNDEFINED); 123 * Sets the source to be a virtual descendant of the given <code>root</code>. 125 * is set as the source. 151 * Gets the {@link AccessibilityNodeInfo} of the event source. 157 * @return The info of the source [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 1546 public LayoutParams(ViewGroup.LayoutParams source) { argument 1547 super(source);
|
H A D | LinearLayout.java | 1866 public LayoutParams(MarginLayoutParams source) { argument 1867 super(source);
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 340 jint deviceId, jint source, jint action, jint flags, jint edgeFlags, 377 event->initialize(deviceId, source, action, flags, edgeFlags, metaState, buttonState, 446 jint nativePtr, jint source) { 448 event->setSource(source); 338 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jint nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument 445 android_view_MotionEvent_nativeSetSource(JNIEnv* env, jclass clazz, jint nativePtr, jint source) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 300 * on the configuration of the source. For instance, without 452 * the source btimap, the source bitmap is returned and now new bitmap is 455 * @param src The source bitmap. 458 * @param filter true if the source should be filtered. 459 * @return The new scaled bitmap or the source bitmap if no scaling is required. 492 * Returns an immutable bitmap from the source bitmap. The new bitmap may 493 * be the same object as source, or a copy may have been made. It is 501 * Returns an immutable bitmap from the specified subset of the source 502 * bitmap. The new bitmap may be the same object as source, o 513 createBitmap(Bitmap source, int x, int y, int width, int height) argument 540 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument [all...] |
/frameworks/base/icu4j/java/android/icu/text/ |
H A D | ArabicShaping.java | 52 * length different from the source length. Some legacy systems rely on the 73 * Convert a range of text in the source array, putting the result 77 * @param source An array containing the input text 97 public int shape(char[] source, int sourceStart, int sourceLength, argument 99 if (source == null) { 100 throw new IllegalArgumentException("source can not be null"); 102 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) { 103 throw new IllegalArgumentException("bad source start (" + sourceStart + 105 ") for buffer of length " + source.length); 141 return internalShape(source, sourceStar 154 shape(char[] source, int start, int length) argument 1132 calculateSize(char[] source, int sourceStart, int sourceLength) argument 1815 internalShape(char[] source, int sourceStart, int sourceLength, char[] dest, int destStart, int destSize) argument [all...] |
/frameworks/base/include/androidfw/ |
H A D | Input.h | 63 * This input source flag is hidden from the API because switches are only used by the system 141 // Indicates that the input event is from a trusted source such as a directly attached 249 inline void setSource(int32_t source) { mSource = source; } argument 252 void initialize(int32_t deviceId, int32_t source); 296 int32_t source, 503 int32_t source, 536 static bool isTouchEvent(int32_t source, int32_t action);
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 235 int32_t source, 245 ALOGD("channel '%s' publisher ~ publishKeyEvent: seq=%u, deviceId=%d, source=0x%x, " 249 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 262 msg.body.key.source = source; 277 int32_t source, 293 ALOGD("channel '%s' publisher ~ publishMotionEvent: seq=%u, deviceId=%d, source=0x%x, " 299 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 318 msg.body.motion.source = source; 232 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument 274 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 572 int32_t source = msg->body.motion.source; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 665 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) { 671 const uint8_t* input = source + y * width; 709 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) { 719 const uint8_t* input = source + x; 664 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 708 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 1138 * @param source The phone number to format 1142 public static String formatNumber(String source) { argument 1143 SpannableStringBuilder text = new SpannableStringBuilder(source); 1152 * @param source the phone number to format 1159 public static String formatNumber(String source, int defaultFormattingType) { argument 1160 SpannableStringBuilder text = new SpannableStringBuilder(source);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AsmAnalyzer.java | 52 /** The input source JAR to parse. */ 65 * @param osJarPath The input source JARs to parse. 321 /** All classes found in the source JAR. */ 337 * @param zipClasses All classes found in the source JAR. 560 public void visitSource(String source, String debug) { argument
|
H A D | DependencyFinder.java | 70 * @param osJarPath The input source JARs to parse. 103 mLog.info("++++++ %d Entries found in source JARs", deps.size()); 121 mLog.info("------ %d Entries missing from source JARs", missing.size()); 501 public void visitSource(String source, String debug) { argument
|