HomeSort by relevance Sort by last modified time
    Searched refs:createSource (Results 1 - 25 of 26) sorted by null

1 2

  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkFactories.java 107 public CharSource createSource(String string) throws IOException {
108 return factory.createSource(string.getBytes(Charsets.UTF_8))
159 public ByteSource createSource(byte[] bytes) throws IOException {
160 return factory.createSource(bytes).slice(off, len);
179 public CharSource createSource(String data) throws IOException {
196 public ByteSource createSource(byte[] bytes) throws IOException {
213 public CharSource createSource(String data) throws IOException {
230 public ByteSource createSource(byte[] bytes) throws IOException {
271 public ByteSource createSource(byte[] bytes) throws IOException {
341 public CharSource createSource(String string) throws IOException
    [all...]
SourceSinkFactory.java 59 S createSource(T data) throws IOException;
ByteSourceTester.java 105 source = factory.createSource(data);
CharSourceTester.java 75 this.source = factory.createSource(data);
  /frameworks/layoutlib/bridge/src/android/graphics/
ImageDecoder.java 339 public static Source createSource(@NonNull Resources res, int resId)
353 public static Source createSource(@NonNull ContentResolver cr,
371 public static Source createSource(@NonNull byte[] data, int offset,
382 * See {@link #createSource(byte[], int, int).
386 public static Source createSource(@NonNull byte[] data) {
387 return createSource(data, 0, data.length);
401 public static Source createSource(@NonNull ByteBuffer buffer) {
409 public static Source createSource(Resources res, InputStream is) {
417 public static Source createSource(Resources res, InputStream is, int density) {
425 public static Source createSource(@NonNull File file)
    [all...]
  /frameworks/base/core/tests/benchmarks/src/android/os/
FileUtilsBenchmark.java 73 try (MemoryPipe in = MemoryPipe.createSource(mData);
82 try (MemoryPipe in = MemoryPipe.createSource(mData);
  /frameworks/base/graphics/java/android/graphics/
ImageDecoder.java 69 * {@code createSource} overloads. For example, to decode from a {@link File}, call
70 * {@link #createSource(File)} and pass the result to {@link #decodeDrawable(Source)}
75 * ImageDecoder.Source source = ImageDecoder.createSource(file);
179 * one of the overloads of {@code createSource}) can be done on any thread
821 public static Source createSource(@NonNull Resources res, int resId)
844 public static Source createSource(@NonNull ContentResolver cr,
856 public static Source createSource(@NonNull ContentResolver cr,
866 public static Source createSource(@NonNull AssetManager assets, @NonNull String fileName) {
887 public static Source createSource(@NonNull byte[] data, int offset,
890 throw new NullPointerException("null byte[] in createSource!");
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
ImageDecoderTest.java 206 resId -> ImageDecoder.createSource(getAsByteBufferWrap(resId)),
207 resId -> ImageDecoder.createSource(getAsDirectByteBuffer(resId)),
208 resId -> ImageDecoder.createSource(getAsReadOnlyByteBuffer(resId)),
209 resId -> ImageDecoder.createSource(getAsFile(resId)),
229 src = ImageDecoder.createSource(mContentResolver, uri);
    [all...]
BitmapColorSpaceTest.java 751 ImageDecoder.Source src = ImageDecoder.createSource(mResources.getAssets(),
772 src = ImageDecoder.createSource(ByteBuffer.wrap(array));
787 ImageDecoder.Source src = ImageDecoder.createSource(mResources.getAssets(),
809 src = ImageDecoder.createSource(ByteBuffer.wrap(array));
  /frameworks/av/cmds/stagefright/
record.cpp 120 sp<MediaSource> createSource(const char *filename) {
189 sp<MediaSource> source = createSource(argv[1]);
  /frameworks/base/core/tests/coretests/src/android/os/
FileUtilsTest.java 156 try (MemoryPipe in = MemoryPipe.createSource(expected);
173 try (MemoryPipe in = MemoryPipe.createSource(expected);
194 try (MemoryPipe in = MemoryPipe.createSource(source);
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java     [all...]
BitmapDrawable.java 167 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, stream),
200 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, is),
840 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density);
    [all...]
AnimatedImageDrawable.java 232 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density);
NinePatchDrawable.java 439 ImageDecoder.Source source = ImageDecoder.createSource(r, is, density);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedImageDrawableTest.java 121 ImageDecoder.Source source = ImageDecoder.createSource(mContentResolver, uri);
491 ImageDecoder.Source source = ImageDecoder.createSource(mContentResolver, uri);
  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 330 ImageDecoder.Source src = ImageDecoder.createSource(mActivity.getResources(), resId);
  /prebuilts/devtools/tools/lib/
ant-tasks.jar 
  /prebuilts/gradle-plugin/com/android/tools/build/ant-tasks/24.4.0-beta3/
ant-tasks-24.4.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/tools/build/ant-tasks/24.4.0-beta6/
ant-tasks-24.4.0-beta6.jar 
  /frameworks/base/core/java/android/os/
FileUtils.java     [all...]
  /frameworks/base/core/java/android/widget/
ImageView.java     [all...]
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 

Completed in 959 milliseconds

1 2