Searched defs:source (Results 251 - 275 of 325) sorted by relevance

<<111213

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java581 private int buildShader(String source, int type) { argument
584 glShaderSource(shader, source);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp132 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 DAVIExtractor.cpp1286 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 DFLACExtractor.cpp130 // 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 DOggExtractor.cpp68 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 DMatroskaExtractor.cpp39 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 DATSParser.cpp416 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 DIntentFilter.java1332 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 DConfiguration.java1072 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 DDebug.java210 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 DSpannableStringBuilder.java98 public static SpannableStringBuilder valueOf(CharSequence source) { argument
99 if (source instanceof SpannableStringBuilder) {
100 return (SpannableStringBuilder) source;
102 return new SpannableStringBuilder(source);
H A DTextUtils.java246 * 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 DSurface.java45 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 DAccessibilityRecord.java27 * 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 DGallery.java1546 public LayoutParams(ViewGroup.LayoutParams source) { argument
1547 super(source);
H A DLinearLayout.java1866 public LayoutParams(MarginLayoutParams source) { argument
1867 super(source);
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp340 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 DBitmap.java300 * 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 DArabicShaping.java52 * 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 DInput.h63 * 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 DInputTransport.cpp235 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 DFontRenderer.cpp665 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 DPhoneNumberUtils.java1138 * @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 DAsmAnalyzer.java52 /** 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 DDependencyFinder.java70 * @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

Completed in 9336 milliseconds

<<111213