Searched refs:source (Results 276 - 300 of 1101) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp36 AMRSource(const sp<DataSource> &source,
100 static status_t getFrameSizeByOffset(const sp<DataSource> &source, argument
103 ssize_t count = source->readAt(offset, &header, 1);
119 AMRExtractor::AMRExtractor(const sp<DataSource> &source) argument
120 : mDataSource(source),
146 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize);
209 const sp<DataSource> &source, const sp<MetaData> &meta,
211 : mDataSource(source),
342 const sp<DataSource> &source, String8 *mimeType, float *confidence,
346 if (source
208 AMRSource( const sp<DataSource> &source, const sp<MetaData> &meta, bool isWide, const off64_t *offset_table, size_t offset_table_length) argument
341 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) {
238 const sp<DataSource> &source, const sp<MetaData> &meta,
241 : mDataSource(source),
135 AACExtractor( const sp<DataSource> &source, const sp<AMessage> &_meta) argument
237 AACSource( const sp<DataSource> &source, const sp<MetaData> &meta, const Vector<uint64_t> &offset_vector, int64_t frame_duration_us) argument
336 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageItemInfo.java389 protected PackageItemInfo(Parcel source) { argument
390 name = source.readString();
391 packageName = source.readString();
392 labelRes = source.readInt();
394 = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
395 icon = source.readInt();
396 logo = source.readInt();
397 metaData = source.readBundle();
398 banner = source.readInt();
399 showUserIcon = source
[all...]
/frameworks/base/core/java/android/service/notification/
H A DCondition.java121 public Condition(Parcel source) { argument
122 this((Uri)source.readParcelable(Condition.class.getClassLoader()),
123 source.readString(),
124 source.readString(),
125 source.readString(),
126 source.readInt(),
127 source.readInt(),
128 source.readInt());
228 public Condition createFromParcel(Parcel source) {
229 return new Condition(source);
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.cpp352 std::string PseudoMethodAccent::Text(const StringPiece& source) { argument
353 const char* s = source.data();
355 const size_t I = source.size();
438 std::string PseudoMethodAccent::Placeholder(const StringPiece& source) { argument
440 return kPlaceholderOpen + source.to_string() + kPlaceholderClose;
443 std::string PseudoMethodBidi::Text(const StringPiece& source) { argument
444 const char* s = source.data();
448 for (size_t i = 0; i < source.size(); i++) {
468 std::string PseudoMethodBidi::Placeholder(const StringPiece& source) { argument
470 return kRlm + kRlo + source
[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/compile/libbcc/lib/
H A DRSCompilerDriver.cpp114 // embed build checksum metadata into the source
209 ALOGE("Unable to compile the source to file %s! (%s)", pOutputPath,
255 Source *source = Source::CreateFromBuffer(pContext, pResName, local
257 if (source == nullptr) {
261 Script script(source);
314 for (Source* source : sources) {
315 if (!source->extractMetadata()) {
331 for (Source* source : sources) {
333 source->getWrapperInformation(&sourceWrapperCompilerVersion, &sourceWrapperOptimizationLevel);
337 ALOGE("ScriptGroup source file
388 Source* source = sources[p.first]; local
[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/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp89 uint8_t *source = &mStorage[convertFramesToBytes(startIndex)]; local
92 wrappingBuffer->data[0] = source;
98 wrappingBuffer->data[0] = source;
153 uint8_t *source = (uint8_t *) buffer; local
168 memcpy(wrappingBuffer.data[partIndex], source, numBytes);
170 source += numBytes;
/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.java198 public DisconnectCause createFromParcel(Parcel source) {
199 int code = source.readInt();
200 CharSequence label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
201 CharSequence description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
202 String reason = source.readString();
203 int tone = source.readInt();
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityOptionsCompat.java81 * @param source The View that the new activity is animating from. This
84 * source.
85 * @param startY The y starting location of the activity, relative to source.
91 public static ActivityOptionsCompat makeScaleUpAnimation(View source, argument
95 source, startX, startY, startWidth, startHeight));
105 * @param source The View that the new activity is animating from. This
107 * @param startX The x starting location of the new activity, relative to <var>source</var>.
108 * @param startY The y starting location of the activity, relative to <var>source</var>.
114 public static ActivityOptionsCompat makeClipRevealAnimation(View source, argument
118 source, start
142 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DFitWidthBitmapDrawable.java120 public void setSource(Rect source) { argument
121 mBitmapState.mSource = source;
157 Rect source = validateSource();
158 float scale = (float) bounds.width() / source.width();
159 mDest.bottom = mDest.top + (int) (source.height() * scale);
162 canvas.drawBitmap(mBitmapState.mBitmap, source, mDest, mBitmapState.mPaint);
/frameworks/base/core/java/android/os/
H A DHardwarePropertiesManager.java107 * @param source source of requested device temperature, one of {@link #TEMPERATURE_CURRENT},
118 @TemperatureSource int source) {
124 switch (source) {
131 source);
136 Log.w(TAG, "Unknown device temperature source.");
117 getDeviceTemperatures(@eviceTemperatureType int type, @TemperatureSource int source) argument
H A DMessage.java558 public Message createFromParcel(Parcel source) {
560 msg.readFromParcel(source);
599 private void readFromParcel(Parcel source) { argument
600 what = source.readInt();
601 arg1 = source.readInt();
602 arg2 = source.readInt();
603 if (source.readInt() != 0) {
604 obj = source.readParcelable(getClass().getClassLoader());
606 when = source.readLong();
607 data = source
[all...]
/frameworks/base/core/java/android/text/
H A DLoginFilter.java44 * of <code>source</code>. Returns the CharSequence that we want
50 public CharSequence filter(CharSequence source, int start, int end, argument
66 char c = source.charAt(i);
75 modification = new SpannableStringBuilder(source, start, end);
/frameworks/base/services/core/java/com/android/server/
H A DHardwarePropertiesManagerService.java41 private static native float[] nativeGetDeviceTemperatures(int type, int source); argument
55 public float[] getDeviceTemperatures(String callingPackage, int type, int source) argument
59 return nativeGetDeviceTemperatures(type, source);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDevicePowerStatusAction.java45 static DevicePowerStatusAction create(HdmiCecLocalDevice source, argument
47 if (source == null || callback == null) {
51 return new DevicePowerStatusAction(source, targetAddress, callback);
H A DOneTouchPlayAction.java38 // source device can simply send <Text|Image View On> and <Active Source> in succession
58 static OneTouchPlayAction create(HdmiCecLocalDevicePlayback source, argument
60 if (source == null || callback == null) {
64 return new OneTouchPlayAction(source, targetAddress,
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp29 String8 source("res");
49 data.add(source,sourceData);
52 CrunchCache cc(source,dest,ff);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DParallaxTransition.java58 final Parallax source = (Parallax) view.getTag(R.id.lb_parallax_source);
59 if (source == null) {
67 source.updateValues();
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.h34 const uint8_t* source, uint8_t* destination,

Completed in 646 milliseconds

<<11121314151617181920>>