| /frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
| MusicProvider.java | 54 private static String SOURCE = "source"; 101 String source = music.getString(SOURCE); local 103 if (!source.startsWith("http")) { 104 source = path + source; 114 mMusicList.add(new MusicTrack(title, album, artist, genre, source,
|
| /frameworks/base/tools/aapt2/proto/ |
| TableProtoDeserializer.cpp | 2 * Copyright (C) 2016 The Android Open Source Project 61 const Source& source, IDiagnostics* diag) 65 source_(source), 90 // Deserialize the symbol status (public/private with source and 95 DeserializeSourceFromPb(pbStatus.source(), *source_pool_, &entry->symbol_status.source); 265 Source parent_source; 370 Source source; local [all...] |
| /frameworks/native/include/input/ |
| InputDevice.h | 2 * Copyright (C) 2012 The Android Open Source Project 67 uint32_t source; member in struct:android::InputDeviceInfo::MotionRange 91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; 93 void addSource(uint32_t source); 94 void addMotionRange(int32_t axis, uint32_t source,
|
| /frameworks/native/libs/input/tests/ |
| InputPublisherAndConsumer_test.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 75 const int32_t source = AINPUT_SOURCE_KEYBOARD; local 85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 104 EXPECT_EQ(source, keyEvent->getSource()); 134 const int32_t source = AINPUT_SOURCE_TOUCHSCREEN; local 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton, 188 EXPECT_EQ(source, motionEvent->getSource());
|
| /frameworks/native/services/inputflinger/ |
| InputListener.h | 2 * Copyright (C) 2011 The Android Open Source Project 57 uint32_t source; member in struct:android::NotifyKeyArgs 68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 84 uint32_t source; member in struct:android::NotifyMotionArgs 102 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
|
| /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
| PhoneNumberUtilsTest.java | 2 * Copyright (C) 2006 The Android Open Source Project 702 Uri source = Uri.fromParts("tel", "+16505551212", null); local 704 Uri converted = PhoneNumberUtils.convertSipUriToTelUri(source); [all...] |
| /frameworks/support/compat/tests/java/android/support/v4/graphics/drawable/ |
| IconCompatTest.java | 2 * Copyright (C) 2017 The Android Open Source Project 62 Bitmap source = Bitmap.createBitmap(200, 150, Bitmap.Config.ARGB_8888); local 63 source.eraseColor(Color.RED); 64 Bitmap result = IconCompat.createLegacyIconFromAdaptiveIcon(source);
|
| /frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
| FitWidthBitmapDrawable.java | 2 * Copyright (C) 2015 The Android Open Source Project 120 public void setSource(Rect source) { 121 mBitmapState.mSource = source; 157 Rect source = validateSource(); local 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);
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
| ParserAdapterTest.java | 2 * Copyright (C) 2007 The Android Open Source Project 206 InputSource source = new InputSource("foo"); local 209 adapter.parse(source); 217 assertEquals(new Object[] { source }, logger.getArgs());
|
| XMLReaderAdapterTest.java | 2 * Copyright (C) 2007 The Android Open Source Project 172 InputSource source = new InputSource("foo"); local 175 adapter.parse(source); 183 assertEquals(new Object[] { source }, logger.getArgs());
|
| /libcore/luni/src/test/java/libcore/java/lang/ |
| SystemTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 82 assertEquals("source of type java.lang.String is not an array", e.getMessage()); 101 assertEquals("source[2] of type java.lang.String cannot be stored in destination array of type java.lang.Integer[]", e.getMessage()); 128 final Object[] source = new Object[512 * 1024]; local 136 source[source.length - 1] = this; 137 source[source.length - 1] = null; 144 System.arraycopy(source, 0, target, 0, source.length) [all...] |
| /libcore/ojluni/src/main/java/java/beans/ |
| PropertyChangeSupport.java | 87 * @param sourceBean The bean to be given as the source for any events. 93 source = sourceBean; 126 * source, it will be notified one less time after being removed. 210 * source for the specified property, it will be notified one less time 263 firePropertyChange(new PropertyChangeEvent(this.source, propertyName, oldValue, newValue)); 358 firePropertyChange(new IndexedPropertyChangeEvent(source, propertyName, oldValue, newValue, index)); 436 PropertyChangeSupport pcs = new PropertyChangeSupport(this.source); 444 fields.put("source", this.source); 465 this.source = fields.get("source", null) 484 private Object source; field in class:PropertyChangeSupport [all...] |
| /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
| MatchOpTest.java | 98 private <T> void assertPredicates(List<T> source, Kind kind, Predicate<T>[] predicates, boolean... answers) { 101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream()); 135 final Supplier<Iterator<Integer>> source; field in class:MatchOpTest.CycleIterator 138 CycleIterator(Supplier<Iterator<Integer>> source) { 139 this.source = source; 145 i = source.get(); 153 i = source.get(); 159 Supplier<Iterator<Integer>> source = () -> Arrays.asList(1, 2, 3, 4).iterator(); local 160 Supplier<Stream<Integer>> s = () -> StreamSupport.stream(Spliterators.spliteratorUnknownSize(new CycleIterator(source), 0), false) 220 final Supplier<PrimitiveIterator.OfInt> source; field in class:MatchOpTest.CycleIterator 244 Supplier<PrimitiveIterator.OfInt> source = () -> Arrays.stream(new int[]{1, 2, 3, 4}).iterator(); local 305 final Supplier<PrimitiveIterator.OfLong> source; field in class:MatchOpTest.CycleIterator 329 Supplier<PrimitiveIterator.OfLong> source = () -> Arrays.stream(new long[]{1, 2, 3, 4}).iterator(); local 390 final Supplier<PrimitiveIterator.OfDouble> source; field in class:MatchOpTest.CycleIterator 414 Supplier<PrimitiveIterator.OfDouble> source = () -> Arrays.stream(new double[]{1, 2, 3, 4}).iterator(); local [all...] |
| /packages/apps/Contacts/tests/src/com/android/contacts/model/ |
| RawContactDeltaTests.java | 2 * Copyright (C) 2009 The Android Open Source Project 87 final RawContactDelta source = RawContactDelta.fromBefore(before); local 91 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 92 assertEquals("Unexpected change when merging", source, merged); 97 final RawContactDelta source = RawContactDelta.fromBefore(before); local 105 source.addEntry(ValuesDelta.fromAfter(phone)); 108 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); 109 assertEquals("Unexpected change when merging", source, merged); 115 final RawContactDelta source = RawContactDelta.fromBefore(before); local 118 final ValuesDelta child = source.getEntry(TEST_PHONE_ID) 129 final RawContactDelta source = RawContactDelta.fromBefore(before); local 163 final RawContactDelta source = RawContactDelta.fromBefore(before); local 174 final RawContactDelta source = RawContactDelta.fromBefore(before); local 214 final RawContactDelta source = RawContactDelta.fromBefore(before); local 263 final RawContactDelta source = RawContactDelta.fromBefore(before); local 300 final RawContactDelta source = RawContactDelta.fromBefore(before); local 329 final RawContactDelta source = new RawContactDelta(values); local 351 final RawContactDelta source = new RawContactDelta(values); local [all...] |
| /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
| BitmapUtils.java | 2 * Copyright (C) 2010 The Android Open Source Project 178 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { 179 if (rotation == 0) return source; 180 int w = source.getWidth(); 181 int h = source.getHeight(); 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); 185 if (recycle) source.recycle();
|
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
| CacheProcessing.java | 2 * Copyright (C) 2013 The Android Open Source Project 96 Bitmap source = cacheBitmap; local 121 if (cacheBitmap != source) { 122 environment.cache(source);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
| PhotoFallbackEffect.java | 2 * Copyright (C) 2010 The Android Open Source Project 40 public Rect source; field in class:PhotoFallbackEffect.Entry 44 public Entry(Path path, Rect source, RawTexture texture) { 46 this.source = source; 97 Rect s = entry.source;
|
| /packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
| AvatarRequest.java | 2 * Copyright (C) 2015 The Android Open Source Project 147 final RectF source = new RectF(0, 0, defaultPerson.getWidth(), defaultPerson.getHeight()); local 149 matrix.setRectToRect(source, dest, Matrix.ScaleToFit.FILL);
|
| ImageRequest.java | 2 * Copyright (C) 2015 The Android Open Source Project 134 * and height of the source image if known so that we don't need to manually decode those. 225 final RectF source = new RectF(0, 0, sourceBitmap.getWidth(), sourceBitmap.getHeight()); local 228 ImageUtils.drawBitmapWithCircleOnCanvas(sourceBitmap, new Canvas(targetBitmap), source,
|
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
| DefaultSuggestionView.java | 2 * Copyright (C) 2009 The Android Open Source Project 20 import com.android.quicksearchbox.Source; 42 * sources, and suggestions under each source. 73 // override default icon (when no other available) with default source icon 75 protected String getFallbackIconId(Source source) { 76 return source.getSourceIconUri().toString(); 79 protected Drawable getFallbackIcon(Source source) { 80 return source.getSourceIcon() 190 handleNewDrawable(icon.getNow(), uniqueIconId, source); local [all...] |
| /packages/apps/TV/src/com/android/tv/tuner/source/ |
| TsStreamWriter.java | 2 * Copyright (C) 2016 The Android Open Source Project 17 package com.android.tv.tuner.source;
|
| /packages/apps/WallpaperPicker/src/com/android/photos/views/ |
| TiledImageView.java | 2 * Copyright (C) 2013 The Android Open Source Project 48 public TileSource source; field in class:TiledImageView.ImageRendererWrapper 107 public void setTileSource(TileSource source, Runnable isReadyCallback) { 109 mRenderer.source = source; 111 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; 112 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 113 mRenderer.rotation = source != null ? source.getRotation() : 0 [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
| if_arcnet.h | 113 __u8 source, /* source ARCnet - filled in automagically */ member in struct:arc_hardware
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
| if_arcnet.h | 108 __u8 source, /* source ARCnet - filled in automagically */ member in struct:arc_hardware
|
| media.h | 112 struct media_pad_desc source; member in struct:media_link_desc
|