Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/frameworks/base/libs/hwui/
DProgramCache.cpp526 Program* ProgramCache::get(const ProgramDescription& description) { in get() argument
527 programid key = description.key(); in get()
537 description.log("Could not find program"); in get()
538 program = generateProgram(description, key); in get()
550 Program* ProgramCache::generateProgram(const ProgramDescription& description, programid key) { in generateProgram() argument
551 String8 vertexShader = generateVertexShader(description); in generateProgram()
552 String8 fragmentShader = generateFragmentShader(description); in generateProgram()
554 return new Program(description, vertexShader.string(), fragmentShader.string()); in generateProgram()
557 static inline size_t gradientIndex(const ProgramDescription& description) { in gradientIndex() argument
558 return description.gradientType * 2 + description.isSimpleGradient; in gradientIndex()
[all …]
DSkiaShader.cpp121 GLuint* textureUnit, ProgramDescription* description, in tryStoreGradient() argument
131 description->gradientType = ProgramDescription::kGradientLinear; in tryStoreGradient()
136 description->gradientType = ProgramDescription::kGradientCircular; in tryStoreGradient()
142 description->gradientType = ProgramDescription::kGradientSweep; in tryStoreGradient()
150 description->hasGradient = true; in tryStoreGradient()
151 description->isSimpleGradient = isSimpleGradient(gradInfo); in tryStoreGradient()
163 if (CC_UNLIKELY(!description->isSimpleGradient)) { in tryStoreGradient()
201 GLuint* textureUnit, ProgramDescription* description, in tryStoreBitmap() argument
221 description->hasBitmap = true; in tryStoreBitmap()
222 description->hasLinearTexture = texture->isLinear(); in tryStoreBitmap()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtilsMatchers.java47 public void describeTo(final Description description) { in drawable() argument
48 description.appendText("with drawable of color: "); in drawable()
50 description.appendText(failedComparisonDescription); in drawable()
95 public void describeTo(final Description description) { in isBackground() argument
96 description.appendText("with background of color: "); in isBackground()
98 description.appendText(failedComparisonDescription); in isBackground()
137 public void describeTo(final Description description) {
138 description.appendText("with ascendant background of color: ");
140 description.appendText(failedComparisonDescription);
177 public void describeTo(final Description description) {
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java986 StringBuilder description = new StringBuilder(); in toString() local
987 description.append("Input Device ").append(mId).append(": ").append(mName).append("\n"); in toString()
988 description.append(" Descriptor: ").append(mDescriptor).append("\n"); in toString()
989 description.append(" Generation: ").append(mGeneration).append("\n"); in toString()
990description.append(" Location: ").append(mIsExternal ? "external" : "built-in").append("\n"); in toString()
992 description.append(" Keyboard Type: "); in toString()
995 description.append("none"); in toString()
998 description.append("non-alphabetic"); in toString()
1001 description.append("alphabetic"); in toString()
1004 description.append("\n"); in toString()
[all …]
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsMatchers.java57 public void describeTo(final Description description) { in isNotNarrowerThan() argument
58 description.appendText(failedCheckDescription); in isNotNarrowerThan()
82 public void describeTo(final Description description) { in isNotWiderThan() argument
83 description.appendText(failedCheckDescription); in isNotWiderThan()
107 public void describeTo(final Description description) {
108 description.appendText(failedCheckDescription);
132 public void describeTo(final Description description) {
133 description.appendText(failedCheckDescription);
174 public void describeTo(final Description description) {
175 description.appendText(failedCheckDescription);
[all …]
DTextInputLayoutMatchers.java38 public void describeTo(Description description) { in passwordToggleHasContentDescription()
39 description.appendText("TextInputLayout has non-empty content description" in passwordToggleHasContentDescription()
60 public void describeTo(Description description) {
61 description.appendText("TextInputLayout shows password toggle.");
80 public void describeTo(Description description) {
81 description.appendText("TextInputLayout has checked password toggle.");
/frameworks/rs/script_api/
Drs_graphics.spec19 description:
47 description:
65 description:
78 description:
95 description:
113 description:
123 description:
135 description:
146 description:
157 description:
[all …]
Drs_math.spec19 description:
56 description:
64 description:
74 description:
82 description:
90 description:
98 description:
106 description:
114 description:
122 description:
[all …]
Drs_object_types.spec19 description:
45 description:
54 description:
63 description:
72 description:
81 description:
97 description:
113 description:
153 description:
174 description:
[all …]
Drs_time.spec19 description:
28 description:
50 description:
57 description:
67 description:
80 description:
91 description:
99 description:
Drs_vector_math.spec19 description:
46 description:
71 description:
98 description:
123 description:
141 description:
159 description:
180 description:
206 description:
232 description:
[all …]
/frameworks/base/tools/aapt2/
DFlags.cpp33 const StringPiece& description, std::string* value) { in RequiredFlag() argument
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlag()
44 const StringPiece& description, in RequiredFlagList() argument
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlagList()
56 const StringPiece& description, in OptionalFlag() argument
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlag()
68 const StringPiece& description, in OptionalFlagList() argument
75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
80 const StringPiece& description, in OptionalFlagList() argument
87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
[all …]
DFlags.h34 Flags& RequiredFlag(const android::StringPiece& name, const android::StringPiece& description,
36 Flags& RequiredFlagList(const android::StringPiece& name, const android::StringPiece& description,
38 Flags& OptionalFlag(const android::StringPiece& name, const android::StringPiece& description,
40 Flags& OptionalFlagList(const android::StringPiece& name, const android::StringPiece& description,
42 Flags& OptionalFlagList(const android::StringPiece& name, const android::StringPiece& description,
44 Flags& OptionalSwitch(const android::StringPiece& name, const android::StringPiece& description,
57 std::string description; member
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DTestUtilsMatchers.java44 public void describeTo(final Description description) { in backgroundColor() argument
45 description.appendText("with background color: "); in backgroundColor()
47 description.appendText(failedComparisonDescription); in backgroundColor()
86 public void describeTo(Description description) { in isOfClass()
87 description.appendText("is identical to class: " + clazz); in isOfClass()
106 public void describeTo(final Description description) {
107 description.appendText(failedCheckDescription);
152 public void describeTo(final Description description) {
153 description.appendText(failedCheckDescription);
197 public void describeTo(final Description description) {
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java47 public void describeTo(Description description) { in checkUserHandle()
48 description.appendText("UserHandle: user-id= \"" + userId + "\""); in checkUserHandle()
63 public void describeTo(Description description) { in checkIntentComponent()
64 description.appendText("Intent: component=\"" + component + "\""); in checkIntentComponent()
79 public void describeTo(Description description) { in checkIntentAction()
80 description.appendText("Intent: action=\"" + action + "\""); in checkIntentAction()
94 public void describeTo(Description description) { in checkIntent()
95 description.appendText(intent.toString()); in checkIntent()
111 public void describeTo(Description description) { in checkUserRestrictions()
112 description.appendText("User restrictions=" + getRestrictionsAsString(expected)); in checkUserRestrictions()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DMediaItemTest.java40 MediaDescriptionCompat description = in testBrowsableMediaItem() local
47 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_BROWSABLE); in testBrowsableMediaItem()
49 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
62 description.toString(), in testBrowsableMediaItem()
70 MediaDescriptionCompat description = new MediaDescriptionCompat.Builder() in testPlayableMediaItem() local
76 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_PLAYABLE); in testPlayableMediaItem()
78 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
91 description.toString(), in testPlayableMediaItem()
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp118 ProgramCache::Key ProgramCache::computeKey(const Description& description) { in computeKey() argument
121 !description.mTextureEnabled ? Key::TEXTURE_OFF : in computeKey()
122 description.mTexture.getTextureTarget() == GL_TEXTURE_EXTERNAL_OES ? Key::TEXTURE_EXT : in computeKey()
123 description.mTexture.getTextureTarget() == GL_TEXTURE_2D ? Key::TEXTURE_2D : in computeKey()
126 (description.mPlaneAlpha < 1) ? Key::PLANE_ALPHA_LT_ONE : Key::PLANE_ALPHA_EQ_ONE) in computeKey()
128 description.mPremultipliedAlpha ? Key::BLEND_PREMULT : Key::BLEND_NORMAL) in computeKey()
130 description.mOpaque ? Key::OPACITY_OPAQUE : Key::OPACITY_TRANSLUCENT) in computeKey()
132 description.mColorMatrixEnabled ? Key::COLOR_MATRIX_ON : Key::COLOR_MATRIX_OFF) in computeKey()
134 description.mIsWideGamut ? Key::WIDE_GAMUT_ON : Key::WIDE_GAMUT_OFF); in computeKey()
273 void ProgramCache::useProgram(const Description& description) { in useProgram() argument
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewProviderInfo.java31 public WebViewProviderInfo(String packageName, String description, in WebViewProviderInfo() argument
34 this.description = description; in WebViewProviderInfo()
54 description = in.readString(); in WebViewProviderInfo()
68 out.writeString(description); in writeToParcel()
76 public final String description; field in WebViewProviderInfo
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DGuidedStepSupportHalfScreenActivity.java57 String description = getString(R.string.guidedstep_first_description); in onCreateGuidance() local
61 return new Guidance(title, description, breadcrumb, icon); in onCreateGuidance()
69 .description("Just do it") in onCreateActions()
73 .description("Never mind") in onCreateActions()
114 String description = getString(R.string.guidedstep_second_description); in onCreateGuidance() local
118 return new Guidance(title, description, breadcrumb, icon); in onCreateGuidance()
126 .description("Done") in onCreateActions()
130 .description("Never mind") in onCreateActions()
138 .description("Cancel") in onCreateButtonActions()
DGuidedStepHalfScreenActivity.java54 String description = getString(R.string.guidedstep_first_description); in onCreateGuidance() local
58 return new Guidance(title, description, breadcrumb, icon); in onCreateGuidance()
66 .description("Just do it") in onCreateActions()
70 .description("Never mind") in onCreateActions()
111 String description = getString(R.string.guidedstep_second_description); in onCreateGuidance() local
115 return new Guidance(title, description, breadcrumb, icon); in onCreateGuidance()
123 .description("Done") in onCreateActions()
127 .description("Never mind") in onCreateActions()
135 .description("Cancel") in onCreateButtonActions()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFastXmlSerializerTest.java64 private boolean checkPreserved(String description, String str) { in checkPreserved() argument
81 Log.e(TAG, "Unable to serialize: " + description, e); in checkPreserved()
102 Log.e(TAG, "Attribute not preserved: " + description in checkPreserved()
111 Log.e(TAG, "Text not preserved: " + description in checkPreserved()
118 Log.e(TAG, "Unable to parse: " + description, e); in checkPreserved()
124 private boolean check(String description, String str) throws Exception { in check() argument
126 ok |= checkPreserved(description, str); in check()
127 ok |= checkPreserved(description + " wrapped with spaces" ," " + str + " "); in check()
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DInputContentInfoCompat.java61 @NonNull ClipDescription description, @Nullable Uri linkUri) { in InputContentInfoCompatBaseImpl() argument
63 mDescription = description; in InputContentInfoCompatBaseImpl()
113 @NonNull ClipDescription description, @Nullable Uri linkUri) { in InputContentInfoCompatApi25Impl() argument
114 mObject = new InputContentInfo(contentUri, description, linkUri); in InputContentInfoCompatApi25Impl()
168 @NonNull ClipDescription description, @Nullable Uri linkUri) { in InputContentInfoCompat() argument
170 mImpl = new InputContentInfoCompatApi25Impl(contentUri, description, linkUri); in InputContentInfoCompat()
172 mImpl = new InputContentInfoCompatBaseImpl(contentUri, description, linkUri); in InputContentInfoCompat()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java126 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() argument
127 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
139 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() argument
143 mDisconnectDescription = description; in DisconnectCause()
208 CharSequence description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
211 return new DisconnectCause(code, label, description, reason, tone);
304 String description = mDisconnectDescription == null in toString() local
309 + " Description: (" + description + ")" in toString()
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplay.java96 return mMutableInfo.description; in getDescription()
99 public void setDescription(String description) { in setDescription() argument
100 if (!Objects.equals(mMutableInfo.description, description)) { in setDescription()
101 mMutableInfo.description = description; in setDescription()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java31 final public String description; field in BluetoothHidDeviceAppSdpSettings
36 public BluetoothHidDeviceAppSdpSettings(String name, String description, String provider, in BluetoothHidDeviceAppSdpSettings() argument
39 this.description = description; in BluetoothHidDeviceAppSdpSettings()
84 out.writeString(description); in writeToParcel()

12345678910>>...19