Searched refs:source (Results 201 - 225 of 794) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java138 public CharSequence filter(CharSequence source, int start, int end, argument
140 CharSequence out = super.filter(source, start, end, dest, dstart, dend);
147 source = out;
180 * If it does, we must strip them out from the source.
189 char c = source.charAt(i);
214 stripped = new SpannableStringBuilder(source, start, end);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetShaderSource.cpp1 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */
13 char *source = (char *) 0; local
35 _exceptionMessage = "source == null";
47 source = source_base + sourceOffset;
53 (char *)source
70 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */
73 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) {
88 reinterpret_cast<char *>(source)
95 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */
72 android_glGetShaderSource__IILjava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp37 const sp<IStreamSource> &source)
39 mSource(source),
212 sp<MediaSource> source = mTSParser->getSource( local
215 return static_cast<AnotherPacketSource *>(source.get());
219 sp<AnotherPacketSource> source = getSource(audio); local
221 if (source == NULL) {
225 return source->getFormat();
230 sp<AnotherPacketSource> source = getSource(audio); local
232 if (source == NULL) {
241 if (!source
35 StreamingSource( const sp<AMessage> &notify, const sp<IStreamSource> &source) argument
[all...]
/frameworks/av/media/libstagefright/
H A DDataSource.cpp200 sp<DataSource> source; local
202 source = new FileSource(uri + 7);
240 ALOGE("Failed to connect http source!");
249 source = new NuCachedSource2(
256 source = httpSource;
259 source = DataURISource::Create(uri);
262 source = new FileSource(uri);
265 if (source == NULL || source->initCheck() != OK) {
269 return source;
285 CreateFromIDataSource(const sp<IDataSource> &source) argument
[all...]
H A DAMRExtractor.cpp36 AMRSource(const sp<DataSource> &source,
100 static status_t getFrameSizeByOffset(const sp<DataSource> &source, argument
103 if (source->readAt(offset, &header, 1) < 1) {
116 AMRExtractor::AMRExtractor(const sp<DataSource> &source) argument
117 : mDataSource(source),
143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) {
203 const sp<DataSource> &source, const sp<MetaData> &meta,
205 : mDataSource(source),
330 const sp<DataSource> &source, String8 *mimeType, float *confidence,
334 if (source
202 AMRSource( const sp<DataSource> &source, const sp<MetaData> &meta, bool isWide, const off64_t *offset_table, size_t offset_table_length) argument
329 SniffAMR( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
[all...]
H A DAACExtractor.cpp39 AACSource(const sp<DataSource> &source,
95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { argument
103 if (source->readAt(offset, &syncword, 2) != 2) {
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) {
117 if (source->readAt(offset + 3, &header, 3) < 3) {
136 const sp<DataSource> &source, const sp<AMessage> &_meta)
137 : mDataSource(source),
176 if ((frameSize = getAdtsFrameLength(source, offset, NULL)) == 0) {
236 const sp<DataSource> &source, const sp<MetaData> &meta,
239 : mDataSource(source),
135 AACExtractor( const sp<DataSource> &source, const sp<AMessage> &_meta) argument
235 AACSource( const sp<DataSource> &source, const sp<MetaData> &meta, const Vector<uint64_t> &offset_vector, int64_t frame_duration_us) argument
334 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
H A DWVMExtractor.cpp47 WVMExtractor::WVMExtractor(const sp<DataSource> &source) argument
48 : mDataSource(source)
62 if (source->DrmInitialization(
64 mImpl = (*getInstanceFunc)(source);
169 const sp<DataSource> &source, String8 *mimeType, float *confidence,
184 if ((*snifferFunc)(source)) {
168 SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiDeviceInfo.java59 // Value indicating the device is not an active source.
63 * Logical address used to indicate the source comes from internal device. The logical address
69 * Physical address used to indicate the source comes from internal device. The physical address
90 // Type used to indicate the device that has relinquished its active source status.
122 public HdmiDeviceInfo createFromParcel(Parcel source) {
123 int hdmiDeviceType = source.readInt();
124 int physicalAddress = source.readInt();
125 int portId = source.readInt();
129 int logicalAddress = source.readInt();
130 int deviceType = source
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDevice.java328 public WifiP2pDevice(WifiP2pDevice source) { argument
329 if (source != null) {
330 deviceName = source.deviceName;
331 deviceAddress = source.deviceAddress;
332 primaryDeviceType = source.primaryDeviceType;
333 secondaryDeviceType = source.secondaryDeviceType;
334 wpsConfigMethodsSupported = source.wpsConfigMethodsSupported;
335 deviceCapability = source.deviceCapability;
336 groupCapability = source.groupCapability;
337 status = source
[all...]
/frameworks/native/libs/input/
H A DInputDevice.cpp163 int32_t axis, uint32_t source) const {
167 if (range.axis == axis && range.source == source) {
174 void InputDeviceInfo::addSource(uint32_t source) { argument
175 mSources |= source;
178 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument
180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
/frameworks/av/cmds/stagefright/
H A Drecord.cpp118 sp<MediaSource> source;
142 source = extractor->getTrack(i);
146 return source;
191 sp<MediaSource> source = createSource(argv[1]);
193 if (source == NULL) {
198 sp<MetaData> meta = source->getFormat();
201 client.interface(), meta, false /* createEncoder */, source);
267 CameraSource *source = CameraSource::Create(
269 source->start();
271 printf("source
[all...]
H A Daudioloop.cpp42 fprintf(stderr, " -m use microphone for input, default sine source\n");
84 sp<MediaSource> source; local
88 source = new AudioSource(
94 // use a sine source at 500 hz.
95 source = new SineSource(kSampleRate, channels);
108 if (source->getFormat()->findInt32(kKeyMaxInputSize, &maxInputSize)) {
115 source);
141 source->stop(); // must stop source otherwise delete player will hang
/frameworks/base/core/java/android/view/inputmethod/
H A DCursorAnchorInfo.java123 public CursorAnchorInfo(final Parcel source) { argument
124 mSelectionStart = source.readInt();
125 mSelectionEnd = source.readInt();
126 mComposingTextStart = source.readInt();
127 mComposingText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
128 mInsertionMarkerFlags = source.readInt();
129 mInsertionMarkerHorizontal = source.readFloat();
130 mInsertionMarkerTop = source.readFloat();
131 mInsertionMarkerBaseline = source.readFloat();
132 mInsertionMarkerBottom = source
[all...]
H A DInputMethodSubtype.java287 InputMethodSubtype(Parcel source) { argument
289 mSubtypeNameResId = source.readInt();
290 mSubtypeIconResId = source.readInt();
291 s = source.readString();
293 s = source.readString();
295 s = source.readString();
297 mIsAuxiliary = (source.readInt() == 1);
298 mOverridesImplicitlyEnabledSubtype = (source.readInt() == 1);
299 mSubtypeHashCode = source.readInt();
300 mSubtypeId = source
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScriptGroupFusion.cpp39 const Function* getInvokeFunction(const Source& source, const int slot, argument
41 Module* module = const_cast<Module*>(&source.getModule());
45 source.getName().c_str(), slot);
57 getFunction(Module* mergedModule, const Source* source, const int slot, argument
59 bcinfo::MetadataExtractor metadata(&source->getModule());
65 source->getName().c_str(), slot);
71 source->getName().c_str(), functionName);
104 for (const Source* source : sources) {
106 bcinfo::MetadataExtractor metadata(&source->getModule());
111 source
326 renameInvoke(BCCContext& Context, const Source* source, const int slot, const std::string& newName, Module* module) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp67 sp<TimedTextSource> source; local
68 source = mTextSourceVector.valueFor(index);
69 mPlayer->setDataSource(source);
192 sp<TimedTextSource> source = local
194 if (source == NULL) {
198 mTextSourceVector.add(trackIndex, source);
238 sp<TimedTextSource> source; local
240 source = TimedTextSource::CreateTimedTextSource(
244 if (source == NULL) {
245 ALOGE("Failed to create timed text source");
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageItemInfo.java314 protected PackageItemInfo(Parcel source) { argument
315 name = source.readString();
316 packageName = source.readString();
317 labelRes = source.readInt();
319 = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
320 icon = source.readInt();
321 logo = source.readInt();
322 metaData = source.readBundle();
323 banner = source.readInt();
324 showUserIcon = source
[all...]
H A DPackageInstaller.java909 public SessionParams(Parcel source) { argument
910 mode = source.readInt();
911 installFlags = source.readInt();
912 installLocation = source.readInt();
913 sizeBytes = source.readLong();
914 appPackageName = source.readString();
915 appIcon = source.readParcelable(null);
916 appLabel = source.readString();
917 originatingUri = source.readParcelable(null);
918 referrerUri = source
1110 SessionInfo(Parcel source) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputListener.cpp45 NotifyKeyArgs::NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, argument
49 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags),
55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source),
69 NotifyMotionArgs::NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, argument
75 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags),
87 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source),
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java71 final float imageWidth = mRenderer.source.getImageWidth();
72 final float imageHeight = mRenderer.source.getImageHeight();
89 float initialCenterX = mRenderer.source.getImageWidth() / 2f;
90 float initialCenterY = mRenderer.source.getImageHeight() / 2f;
133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight());
136 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument
137 super.setTileSource(source, isReadyCallback);
144 updateMinScale(getWidth(), getHeight(), source, true);
148 updateMinScale(w, h, mRenderer.source, fals
157 updateMinScale(int w, int h, TileSource source, boolean resetScale) argument
[all...]
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java86 // The device id and source of the current stream of touch events.
207 final int source = event.getSource();
211 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false);
225 addKeyState(deviceId, source, keyCode);
230 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ true);
268 final int source = event.getSource();
269 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
343 final int source = event.getSource();
347 || mTouchEventStreamSource != source)) {
350 + ", previous source "
739 findKeyState(int deviceId, int source, int keyCode, boolean remove) argument
761 addKeyState(int deviceId, int source, int keyCode) argument
773 public int source; field in class:InputEventConsistencyVerifier.KeyState
780 obtain(int deviceId, int source, int keyCode) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DShadowPainter.java38 * If shadowSize is less or equals to 1, no shadow will be painted and the source image will be
41 * @param source the source image
45 * @return an image with the shadow painted in or the source image if shadowSize <= 1
48 public static BufferedImage createDropShadow(BufferedImage source, int shadowSize) { argument
51 return createDropShadow(source, shadowSize, 0.7f, 0);
61 * @param source the source image to be shadowed
66 * @return a new image with the source image on top of its shadow when shadowSize > 0 or the
67 * source imag
70 createDropShadow(BufferedImage source, int shadowSize, float shadowOpacity, int shadowRgb) argument
183 createRectangularDropShadow(BufferedImage source) argument
210 createSmallRectangularDropShadow(BufferedImage source) argument
[all...]
/frameworks/base/core/java/android/net/
H A DIpConfiguration.java89 public IpConfiguration(IpConfiguration source) { argument
91 if (source != null) {
92 init(source.ipAssignment, source.proxySettings,
93 source.staticIpConfiguration, source.httpProxy);
H A DStaticIpConfiguration.java58 public StaticIpConfiguration(StaticIpConfiguration source) { argument
60 if (source != null) {
62 ipAddress = source.ipAddress;
63 gateway = source.gateway;
64 dnsServers.addAll(source.dnsServers);
65 domains = source.domains;
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java179 public DisconnectCause createFromParcel(Parcel source) {
180 int code = source.readInt();
181 CharSequence label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
182 CharSequence description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
183 String reason = source.readString();
184 int tone = source.readInt();

Completed in 665 milliseconds

1234567891011>>