Home
last modified time | relevance | path

Searched refs:createFromStream (Results 1 – 25 of 32) sorted by relevance

12

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDrawableTest.java29 …assertNull(ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), corruptedStreamS… in createFromStream__shouldReturnNullWhenAskedToCreateADrawableFromACorruptedSourceStream()
34 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in createFromStream__shouldReturnDrawableWithSpecificSource()
51 Drawable drawable = Drawable.createFromStream(byteInputStream, "src name"); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable()
57 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsWithPassedRect()
69 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsToReturnedRect()
DBitmapDrawableTest.java51 …BitmapDrawable drawable = (BitmapDrawable) Drawable.createFromStream(emptyInputStream, "source str… in shouldInheritSourceStringFromDrawableDotCreateFromStream()
/external/skia/src/core/
DSkFontMgr.cpp128 SkTypeface* SkFontMgr::createFromStream(SkStreamAsset* stream, int ttcIndex) const { in createFromStream() function in SkFontMgr
135 SkTypeface* SkFontMgr::createFromStream(SkStreamAsset* stream, const FontParameters& params) const { in createFromStream() function in SkFontMgr
151 return this->createFromStream(stream, p.getCollectionIndex()); in onCreateFromStream()
156 SkTypeface* ret = this->createFromStream(data->detachStream(), data->getIndex()); in onCreateFromFontData()
DSkTypeface.cpp148 return fm->createFromStream(stream, index); in CreateFromStream()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDrawable.java40 public static Drawable createFromStream(InputStream is, String srcName) { in createFromStream() method in ShadowDrawable
52 return createFromStream(is, srcName); in createFromResourceStream()
57 return createFromStream(is, srcName); in createFromResourceStream()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp128 return fImpl->createFromStream(stream.detach(), dataTypefaceIndex); in createTypefaceFromFontId()
138 SkAutoTUnref<SkTypeface> typeface(fImpl->createFromStream(stream.detach(), id.fTtcIndex)); in createTypefaceFromFontId()
176 return fImpl->createFromStream(stream, ttcIndex); in onCreateFromStream()
DSkFontMgr_fontconfig.cpp318 return stream.get() ? this->createFromStream(stream.detach(), ttcIndex) : nullptr; in onCreateFromFile()
/external/skia/include/ports/
DSkFontMgr.h103 SkTypeface* createFromStream(SkStreamAsset*, int ttcIndex = 0) const;
149 SkTypeface* createFromStream(SkStreamAsset*, const FontParameters&) const;
/external/skia/gm/
Dfontscalerdistortable.cpp61 SkAutoTUnref<SkTypeface> typeface(fontMgr->createFromStream( in onDraw()
/external/skia/src/ports/
DSkFontMgr_custom.cpp286 return this->createFromStream(new SkMemoryStream(data), ttcIndex); in onCreateFromData()
308 return stream.get() ? this->createFromStream(stream.detach(), ttcIndex) : nullptr; in onCreateFromFile()
DSkFontMgr_android.cpp436 return this->createFromStream(new SkMemoryStream(data), ttcIndex); in onCreateFromData()
441 return stream.get() ? this->createFromStream(stream.detach(), ttcIndex) : nullptr; in onCreateFromFile()
DSkFontMgr_fontconfig.cpp861 return this->createFromStream(new SkMemoryStream(data), ttcIndex); in onCreateFromData()
865 return this->createFromStream(SkStream::NewFromFile(path), ttcIndex); in onCreateFromFile()
DSkFontMgr_win_dw.cpp920 return this->createFromStream(new SkMemoryStream(data), ttcIndex); in onCreateFromData()
924 return this->createFromStream(SkStream::NewFromFile(path), ttcIndex); in onCreateFromFile()
DSkFontHost_win.cpp2486 return this->createFromStream(new SkMemoryStream(data)); in onCreateFromData()
2491 return this->createFromStream(SkStream::NewFromFile(path)); in onCreateFromFile()
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/
DCanvasProofActivity.java46 p = Picture.createFromStream(inputStream); in ReadPicture()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DCommonToken.as59 …public static function createFromStream(input:CharStream, type:int, channel:int, start:int, stop:i… method in org.antlr.runtime.CommonToken
DLexer.as146 …var t:Token = CommonToken.createFromStream(input, state.type, state.channel, state.tokenStartCharI…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg701 <label> = CommonToken.createFromStream(input, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEF…
765 <label> = CommonToken.createFromStream(input, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEF…
782 var <label>:<labelType> = CommonToken.createFromStream(input, EOF, TokenConstants.DEFAULT_CHANNEL, …
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
/external/robolectric/v1/lib/main/
Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org ...

12