Searched refs:description (Results 1 - 25 of 198) sorted by relevance

12345678

/frameworks/base/core/java/android/database/
H A DCursorWindowAllocationException.java26 public CursorWindowAllocationException(String description) { argument
27 super(description);
H A DStaleDataException.java30 public StaleDataException(String description) argument
32 super(description);
/frameworks/base/libs/hwui/
H A DProgramCache.cpp425 Program* ProgramCache::get(const ProgramDescription& description) { argument
426 programid key = description.key();
436 description.log("Could not find program");
437 program = generateProgram(description, key);
449 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { argument
450 String8 vertexShader = generateVertexShader(description);
451 String8 fragmentShader = generateFragmentShader(description);
453 return new Program(description, vertexShader.string(), fragmentShader.string());
456 static inline size_t gradientIndex(const ProgramDescription& description) { argument
457 return description
460 generateVertexShader(const ProgramDescription& description) argument
539 shaderOp(const ProgramDescription& description, String8& shader, const int modulateOp, const char** snippets) argument
547 generateFragmentShader(const ProgramDescription& description) argument
[all...]
H A DProgramCache.h46 Program* get(const ProgramDescription& description);
51 Program* generateProgram(const ProgramDescription& description, programid key);
52 String8 generateVertexShader(const ProgramDescription& description);
53 String8 generateFragmentShader(const ProgramDescription& description);
H A DSkiaShader.cpp116 GLuint* textureUnit, ProgramDescription* description,
126 description->gradientType = ProgramDescription::kGradientLinear;
131 description->gradientType = ProgramDescription::kGradientCircular;
137 description->gradientType = ProgramDescription::kGradientSweep;
145 description->hasGradient = true;
146 description->isSimpleGradient = isSimpleGradient(gradInfo);
198 GLuint* textureUnit, ProgramDescription* description,
220 description->hasBitmap = true;
224 description->isBitmapNpot = true;
225 description
115 tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::GradientShaderData* outData) argument
197 tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::BitmapShaderData* outData) argument
276 storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
287 tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
319 tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData::LayerShaderData* outData) argument
355 store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, GLuint* textureUnit, ProgramDescription* description, SkiaShaderData* outData) argument
[all...]
H A DGammaFontRenderer.cpp104 void ShaderGammaFontRenderer::describe(ProgramDescription& description, argument
111 description.hasGammaCorrection = true;
112 description.gamma = mGamma;
114 description.hasGammaCorrection = true;
115 description.gamma = 1.0f / mGamma;
118 description.hasGammaCorrection = true;
119 description.gamma = 1.0f / mGamma;
124 void ShaderGammaFontRenderer::setupProgram(ProgramDescription& description, argument
126 if (description.hasGammaCorrection) {
127 glUniform1f(program.getUniform("gamma"), description
[all...]
H A DGammaFontRenderer.h40 virtual void describe(ProgramDescription& description, const SkPaint* paint) const = 0;
41 virtual void setupProgram(ProgramDescription& description, Program& program) const = 0;
88 void describe(ProgramDescription& description, const SkPaint* paint) const override;
89 void setupProgram(ProgramDescription& description, Program& program) const override;
135 void describe(ProgramDescription& description, const SkPaint* paint) const override {
138 void setupProgram(ProgramDescription& description, Program& program) const override {
171 void describe(ProgramDescription& description, const SkPaint* paint) const override {
174 void setupProgram(ProgramDescription& description, Program& program) const override {
/frameworks/base/obex/javax/obex/
H A DAuthenticator.java90 * @param description the description of which user name and password should
91 * be used; if no description is provided in the authentication
92 * challenge or the description is encoded in an encoding scheme that
101 PasswordAuthentication onAuthenticationChallenge(String description, boolean isUserIdRequired, argument
H A DObexSession.java78 * 0x02 is the realm, which provides a description of which user name
83 byte[] description = ObexHelper.getTagValue((byte)0x02, header.mAuthChall);
86 if (description != null) {
87 byte[] realmString = new byte[description.length - 1];
88 System.arraycopy(description, 1, realmString, 0, realmString.length);
90 switch (description[0] & 0xFF) {
/frameworks/base/tools/aapt2/
H A DFlag.h13 void requiredFlag(const StringPiece& name, const StringPiece& description,
16 void requiredFlag(const StringPiece& name, const StringPiece& description,
19 void optionalFlag(const StringPiece& name, const StringPiece& description,
22 void optionalSwitch(const StringPiece& name, const StringPiece& description, bool resultWhenSet,
H A DFlag.cpp15 std::string description; member in struct:aapt::flag::Flag
34 void optionalFlag(const StringPiece& name, const StringPiece& description, argument
37 name.toString(), description.toString(), wrap(action),
41 void requiredFlag(const StringPiece& name, const StringPiece& description, argument
43 sFlags.push_back(Flag{ name.toString(), description.toString(), wrap(action),
47 void requiredFlag(const StringPiece& name, const StringPiece& description, argument
49 sFlags.push_back(Flag{ name.toString(), description.toString(), action,
53 void optionalSwitch(const StringPiece& name, const StringPiece& description, bool resultWhenSet, argument
56 name.toString(), description.toString(), {},
75 << flag.description << st
[all...]
/frameworks/base/core/java/android/view/
H A DInputDevice.java917 StringBuilder description = new StringBuilder();
918 description.append("Input Device ").append(mId).append(": ").append(mName).append("\n");
919 description.append(" Descriptor: ").append(mDescriptor).append("\n");
920 description.append(" Generation: ").append(mGeneration).append("\n");
921 description.append(" Location: ").append(mIsExternal ? "external" : "built-in").append("\n");
923 description.append(" Keyboard Type: ");
926 description.append("none");
929 description.append("non-alphabetic");
932 description.append("alphabetic");
935 description
968 appendSourceDescriptionIfApplicable(StringBuilder description, int source, String sourceName) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java88 * Sets a description for the DRM plug-in (agent).
90 * @param description Unique description of plug-in. Must not be null
93 public void setDescription(String description) { argument
94 if (description == null) {
95 throw new IllegalArgumentException("description is null");
97 if (description == "") {
98 throw new IllegalArgumentException("description is an empty string");
101 mDescription = description;
105 * Retrieves the DRM plug-in (agent) description
[all...]
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplay.java96 return mMutableInfo.description;
99 public void setDescription(String description) { argument
100 if (!Objects.equals(mMutableInfo.description, description)) {
101 mMutableInfo.description = description;
/frameworks/rs/api/
H A Drs_math.spec19 description:
54 description:
61 description:
70 description:
77 description:
84 description:
91 description:
98 description:
105 description:
112 description
[all...]
H A Drs_time.spec19 description:
28 description:
50 description:
57 description:
67 description:
80 description:
91 description:
99 description:
H A Drs_graphics.spec19 description:
47 description:
65 description:
78 description:
95 description:
113 description:
123 description:
135 description:
146 description:
157 description
[all...]
H A Drs_object_info.spec19 description:
72 description:
84 description:
96 description:
107 description:
119 description:
131 description:
142 description:
155 description:
171 description
[all...]
H A Drs_io.spec19 description:
31 description:
42 description:
52 description:
75 description:
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSignalCallbackAdapter.java34 boolean activityIn, boolean activityOut, String description) {
40 String description, boolean isWide, int subId) {
33 setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, boolean activityIn, boolean activityOut, String description) argument
38 setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, int qsType, boolean activityIn, boolean activityOut, String typeContentDescription, String description, boolean isWide, int subId) argument
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java28 * cause of the disconnect. Optionally, it may include a label and/or description to display to the
30 * the label and description. It also may contain a reason for the disconnect, which is intended for
97 * @param description The localized description to show to the user to explain the disconnect.
100 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { argument
101 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN);
109 * @param description The localized description to show to the user to explain the disconnect.
113 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, argument
117 mDisconnectDescription = description;
[all...]
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/routing/
H A DMediaRouterJellybeanMr2.java40 public static void setDescription(Object routeObj, CharSequence description) { argument
41 ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description);
/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/
H A DMediaRouterJellybeanMr2.java40 public static void setDescription(Object routeObj, CharSequence description) { argument
41 ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description);
/frameworks/base/core/java/android/webkit/
H A DPlugin.java64 String description) {
68 mDescription = description;
158 public void setDescription(String description) { argument
159 mDescription = description;
199 // Show a simple popup dialog containing the description
61 Plugin(String name, String path, String fileName, String description) argument
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp118 ProgramCache::Key ProgramCache::computeKey(const Description& description) { argument
121 !description.mTextureEnabled ? Key::TEXTURE_OFF :
122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT :
123 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D :
126 (description.mPlaneAlpha < 1) ? Key::PLANE_ALPHA_LT_ONE : Key::PLANE_ALPHA_EQ_ONE)
128 description.mPremultipliedAlpha ? Key::BLEND_PREMULT : Key::BLEND_NORMAL)
130 description.mOpaque ? Key::OPACITY_OPAQUE : Key::OPACITY_TRANSLUCENT)
132 description.mColorMatrixEnabled ? Key::COLOR_MATRIX_ON : Key::COLOR_MATRIX_OFF);
225 void ProgramCache::useProgram(const Description& description) { argument
227 // generate the key for the shader based on the description
[all...]

Completed in 517 milliseconds

12345678