/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 219 float source, float target, float progress) { 220 // interpolate the angle from source to target 222 // shortest path to change source to target. 223 float diff = target - source; 227 float result = source + diff * progress; 232 float source, float target, float progress) { 233 return source + progress * (target - source); 319 public static String[] copyOf(String[] source, int newSize) { argument 321 newSize = Math.min(source 218 interpolateAngle( float source, float target, float progress) argument 231 interpolateScale( float source, float target, float progress) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 99 // Draws the source rectangle part of the texture to the target rectangle. 100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 379 public BitmapRegionTileSource(Context context, BitmapSource source) { argument 381 mRotation = source.getRotation(); 382 mDecoder = source.getBitmapRegionDecoder(); 390 int previewSize = source.getPreviewSize(); 395 // thread. Thus to simplify, this source will decode its own bitmap. 396 Bitmap preview = decodePreview(source, previewSize); 501 private Bitmap decodePreview(BitmapSource source, int targetSize) { argument 502 Bitmap result = source.getPreviewBitmap();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 67 public TileSource source; field in class:TiledImageView.ImageRendererWrapper 152 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument 157 mRenderer.source = source; 159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; 160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 161 mRenderer.rotation = source != null ? source [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 93 public SyncOperation(Account account, int userId, int reason, int source, String provider, argument 97 reason, source, extras, runTimeFromNow, flexTime, backoff, delayUntil, 101 public SyncOperation(ComponentName service, int userId, int reason, int source, argument 104 this(new SyncStorageEngine.EndPoint(service, userId), reason, source, extras, 108 private SyncOperation(SyncStorageEngine.EndPoint info, int reason, int source, Bundle extras, argument 113 this.syncSource = source;
|
/frameworks/base/test-runner/tests/src/android/test/ |
H A D | InstrumentationTestRunnerTest.java | 176 private void assertContentsInOrder(List<TestDescriptor> actual, TestDescriptor... source) { argument 177 TestDescriptor[] clonedSource = source.clone();
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeed.java | 180 private void innerSetDataSource(MediaPlayerDataSource source) { argument 181 checkNotNull(source, "source"); 185 mDataSource = source; 264 private void stopAndStartPlayingAgain(MediaPlayerDataSource source) { argument 267 innerSetDataSource(source); 315 public PlaybackRunnable(MediaPlayerDataSource source) { argument 316 mInnerSource = source;
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 67 int32_t source; member in struct:android::InputMessage::Body::Key 85 int32_t source; member in struct:android::InputMessage::Body::Motion 212 int32_t source, 233 int32_t source, 355 // Batched motion events per device and source. 361 // Touch state per device and source, only for sources of class pointer. 385 int32_t source; member in struct:android::InputConsumer::TouchState 391 void initialize(int32_t deviceId, int32_t source) { argument 393 this->source = source; [all...] |
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 295 // Can't do mipmapping with camera source 382 private int loadShader(int shaderType, String source) { argument 385 GLES20.glShaderSource(shader, source);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 91 public static String formatNumber(String source, int defaultFormattingType) { argument 92 final SpannableStringBuilder text = new SpannableStringBuilder(source);
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 34 public static Object obtain(View source) { argument 35 return AccessibilityNodeInfo.obtain(source); 208 public static void setSource(Object info, View source) { argument 209 ((AccessibilityNodeInfo) info).setSource(source);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 98 * The number of tracks in the media's original source. 103 * The disc number for the media's original source. 108 * The artist for the album of the media's original source. 123 * The artwork for the album of the media's original source as a 129 * The artwork for the album of the media's original source as a Uri style 577 * initial values. All fields in the source metadata will be included in 580 * @param source 582 public Builder(MediaMetadataCompat source) { argument 583 mBundle = new Bundle(source.mBundle);
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityRecordCompat.java | 36 public void setSource(Object record, View source); argument 255 public void setSource(Object record, View source) { argument 466 public void setSource(Object record, View source) { argument 467 AccessibilityRecordCompatIcs.setSource(record, source); 564 * Sets the event source. 566 * @param source The source. 570 public void setSource(View source) { argument 571 IMPL.setSource(mRecord, source); 575 * Sets the source t [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 182 // Instantiate and initialize the data source for the decoder 221 // AndroidBufferQueue data source is handled by a subclass, 228 // Instantiate and initialize the decoder attached to the data source 262 sp<MediaSource> source = extractor->getTrack(audioTrackIndex); local 263 sp<MetaData> meta = source->getFormat(); 302 source = OMXCodec::Create( 304 source); 306 if (source == NULL) { 312 meta = source->getFormat(); 316 if (source [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 115 status_t setDataSource(const sp<IStreamSource> &source) { argument 118 data.writeStrongBinder(source->asBinder()); 394 sp<IStreamSource> source = local 396 reply->writeInt32(setDataSource(source));
|
H A D | mediaplayer.cpp | 181 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source) argument 189 (NO_ERROR != player->setDataSource(source))) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 43 const sp<Source> &source, 49 mSource(source), 662 // handle widevine classic source - that fills an arbitrary input buffer 41 Decoder( const sp<AMessage> ¬ify, const sp<Source> &source, const sp<Renderer> &renderer, const sp<NativeWindowWrapper> &nativeWindow, const sp<CCDecoder> &ccDecoder) argument
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 47 CameraSourceListener(const sp<CameraSource> &source); 66 CameraSourceListener::CameraSourceListener(const sp<CameraSource> &source) argument 67 : mSource(source) { 85 sp<CameraSource> source = mSource.promote(); local 86 if (source.get() != NULL) { 87 source->dataCallback(msgType, dataPtr); 94 sp<CameraSource> source = mSource.promote(); local 95 if (source.get() != NULL) { 96 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); 158 CameraSource *source local 907 ProxyListener(const sp<CameraSource>& source) argument [all...] |
H A D | MP3Extractor.cpp | 49 const sp<DataSource> &source, uint32_t match_header, 61 if (source->readAt(*inout_pos, id3header, sizeof(id3header)) 124 totalBytesRead = source->readAt(pos + remainingBytes, 168 if (source->readAt(test_pos, tmp, 4) < 4) { 215 const sp<MetaData> &meta, const sp<DataSource> &source, 250 const sp<DataSource> &source, const sp<AMessage> &meta) 252 mDataSource(source), 354 // When getting the id3 tag, skip the V1 tags to prevent the source cache 420 const sp<MetaData> &meta, const sp<DataSource> &source, 424 mDataSource(source), 48 Resync( const sp<DataSource> &source, uint32_t match_header, off64_t *inout_pos, off64_t *post_id3_pos, uint32_t *out_header) argument 249 MP3Extractor( const sp<DataSource> &source, const sp<AMessage> &meta) argument 419 MP3Source( const sp<MetaData> &meta, const sp<DataSource> &source, off64_t first_frame_pos, uint32_t fixed_header, const sp<MP3Seeker> &seeker) argument 650 SniffMP3( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument [all...] |
H A D | MPEG2TSWriter.cpp | 38 SourceInfo(const sp<MediaSource> &source); 96 MPEG2TSWriter::SourceInfo::SourceInfo(const sp<MediaSource> &source) argument 97 : mSource(source), 102 mLooper->setName("MPEG2TSWriter source"); 539 status_t MPEG2TSWriter::addSource(const sp<MediaSource> &source) { argument 542 sp<MetaData> meta = source->getFormat(); 551 sp<SourceInfo> info = new SourceInfo(source); 570 notify->setInt32("source-index", i); 609 CHECK(msg->findInt32("source-index", &sourceIndex)); 616 sp<SourceInfo> source local 652 sp<SourceInfo> source = mSources.editItemAt(sourceIndex); local 664 const sp<SourceInfo> &source = mSources.editItemAt(i); local [all...] |
H A D | NuCachedSource2.cpp | 183 const sp<DataSource> &source, 186 : mSource(source), 242 HTTPBase* source = static_cast<HTTPBase *>(mSource.get()); local 243 return source->getEstimatedBandwidthKbps(kbps); 255 // this, the source will be marked as EOS. 263 // explicitly disconnect from the source, to allow any 271 HTTPBase *source = static_cast<HTTPBase *>(mSource.get()); local 272 return source->setBandwidthStatCollectFreq(freqMs); 371 ALOGE("source returned error %zd, %d retries left", n, mNumRetriesLeft); 182 NuCachedSource2( const sp<DataSource> &source, const char *cacheConfig, bool disconnectAtHighwatermark) argument
|
H A D | SampleTable.cpp | 108 SampleTable::SampleTable(const sp<DataSource> &source) argument 109 : mDataSource(source),
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 97 MPEG2PSExtractor::MPEG2PSExtractor(const sp<DataSource> &source) argument 98 : mDataSource(source), 700 const sp<DataSource> &source, String8 *mimeType, float *confidence, 703 if (source->readAt(0, header, sizeof(header)) < (ssize_t)sizeof(header)) { 699 SniffMPEG2PS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 246 sp<DataSource> source = local 249 if (source == NULL) { 253 return MediaExtractor::Create(source); 583 sp<MediaSource> source = CreateSourceForMime(mime); local 585 if (source == NULL) { 594 if (source == NULL || seekSource == NULL) { 601 mOMX, source->getFormat(), false /* createEncoder */, 602 source, componentName); 609 CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyTransmitter.h | 110 sp<MediaSource> source = new VideoSource(width, height); local 122 true /* createEncoder */, source); 496 CHECK(GetAttribute(transport.c_str(), "source", &value));
|