Home
last modified time | relevance | path

Searched refs:addProperty (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java66 addProperty("boolean", "getBoolean", Property.Type.BOOLEAN); in testSimpleProperties()
67 addProperty("byte", "getByte", Property.Type.BYTE); in testSimpleProperties()
68 addProperty("char", "getChar", Property.Type.CHAR); in testSimpleProperties()
69 addProperty("double", "getDouble", Property.Type.DOUBLE); in testSimpleProperties()
70 addProperty("float", "getFloat", Property.Type.FLOAT); in testSimpleProperties()
71 addProperty("int", "getInt", Property.Type.INT); in testSimpleProperties()
72 addProperty("long", "getLong", Property.Type.LONG); in testSimpleProperties()
73 addProperty("short", "getShort", Property.Type.SHORT); in testSimpleProperties()
75 addProperty("object", "getObject", Property.Type.OBJECT); in testSimpleProperties()
76 addProperty("color", "getColor", Property.Type.COLOR); in testSimpleProperties()
[all …]
/frameworks/base/core/java/android/view/
DViewHierarchyEncoder.java75 addProperty("meta:__name__", o.getClass().getName()); in beginObject()
76 addProperty("meta:__hash__", o.hashCode()); in beginObject()
86 addProperty("__name__", "propertyIndex"); in endStream()
95 public void addProperty(@NonNull String name, boolean v) { in addProperty() method in ViewHierarchyEncoder
100 public void addProperty(@NonNull String name, short s) { in addProperty() method in ViewHierarchyEncoder
106 public void addProperty(@NonNull String name, int v) { in addProperty() method in ViewHierarchyEncoder
112 public void addProperty(@NonNull String name, float v) { in addProperty() method in ViewHierarchyEncoder
118 public void addProperty(@NonNull String name, @Nullable String s) { in addProperty() method in ViewHierarchyEncoder
DWindowManager.java3293 encoder.addProperty("x", x); in encodeProperties()
3294 encoder.addProperty("y", y); in encodeProperties()
3295 encoder.addProperty("horizontalWeight", horizontalWeight); in encodeProperties()
3296 encoder.addProperty("verticalWeight", verticalWeight); in encodeProperties()
3297 encoder.addProperty("type", type); in encodeProperties()
3298 encoder.addProperty("flags", flags); in encodeProperties()
DViewGroup.java8001 encoder.addProperty("width", width); in encodeProperties()
8002 encoder.addProperty("height", height); in encodeProperties()
8503 encoder.addProperty("leftMargin", leftMargin); in encodeProperties()
8504 encoder.addProperty("topMargin", topMargin); in encodeProperties()
8505 encoder.addProperty("rightMargin", rightMargin); in encodeProperties()
8506 encoder.addProperty("bottomMargin", bottomMargin); in encodeProperties()
8507 encoder.addProperty("startMargin", startMargin); in encodeProperties()
8508 encoder.addProperty("endMargin", endMargin); in encodeProperties()
8939 encoder.addProperty("focus:descendantFocusability", getDescendantFocusability()); in encodeProperties()
8940 encoder.addProperty("drawing:clipChildren", getClipChildren()); in encodeProperties()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java209 entry.addProperty(property); in testEntryElementIterator()
222 entry.addProperty(property); in testEntryElementIterator()
230 entry.addProperty(property); in testEntryElementIterator()
238 entry.addProperty(property); in testEntryElementIterator()
247 entry.addProperty(property); in testEntryElementIterator()
256 entry.addProperty(property); in testEntryElementIterator()
266 entry.addProperty(property); in testEntryElementIterator()
273 entry.addProperty(property); in testEntryElementIterator()
280 entry.addProperty(property); in testEntryElementIterator()
287 entry.addProperty(property); in testEntryElementIterator()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataResponseTest.java63 subCommand.addProperty(BROWSER_COMMAND, TEST_URL); in verifyValidPostDevDataResponse()
71 response.addProperty(propertyInfo); in verifyValidPostDevDataResponse()
86 response.addProperty(new PropertyInfo()); in verifyInvalidPostDevDataResponseReturnNull()
87 response.addProperty(new PropertyInfo()); in verifyInvalidPostDevDataResponseReturnNull()
DSoapParserTest.java68 subCommand.addProperty(BROWSER_COMMAND, TEST_URL); in verifyValidSppPostDevDataResponse()
74 response.addProperty(propertyInfo); in verifyValidSppPostDevDataResponse()
DSppResponseMessageTest.java89 soapObject.addProperty(SppResponseMessage.SPPErrorProperty, errorInfo); in verifySppSoapResponseWithErrorAttribute()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessage.java71 requestObject.addProperty(SoapEnvelope.NS20, SppConstants.PROPERTY_SUPPORTED_SPP_VERSIONS, in serializeToSoapEnvelope()
73 requestObject.addProperty(SoapEnvelope.NS20, SppConstants.PROPERTY_SUPPORTED_MO_LIST, in serializeToSoapEnvelope()
93 soapObject.addProperty(SoapEnvelope.NS20, SppConstants.PROPERTY_MO_CONTAINER, moContainer); in addMoContainer()
DUpdateResponseMessage.java59 requestObject.addProperty(SoapEnvelope.NS20, SppConstants.PROPERTY_SPP_ERROR, sppError); in serializeToSoapEnvelope()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityCompat.java55 encoder.addProperty("window:left", location[0]); in encodeViewHierarchy()
56 encoder.addProperty("window:top", location[1]); in encodeViewHierarchy()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/
DSppCommandTest.java55 propertyInfo.setValue(new SoapObject().addProperty(BROWSER_COMMAND, TEST_URL)); in verifyLaunchBrowserCommand()
74 subCommand.addProperty(GET_CERT_COMMAND, ""); in verifyOtherCommandTypesReturnNull()
/frameworks/base/core/java/android/widget/
DFrameLayout.java415 encoder.addProperty("measurement:measureAllChildren", mMeasureAllChildren); in encodeProperties()
416 encoder.addProperty("padding:foregroundPaddingLeft", mForegroundPaddingLeft); in encodeProperties()
417 encoder.addProperty("padding:foregroundPaddingTop", mForegroundPaddingTop); in encodeProperties()
418 encoder.addProperty("padding:foregroundPaddingRight", mForegroundPaddingRight); in encodeProperties()
419 encoder.addProperty("padding:foregroundPaddingBottom", mForegroundPaddingBottom); in encodeProperties()
DTextClock.java659 stream.addProperty("format12Hour", s == null ? null : s.toString()); in encodeProperties()
662 stream.addProperty("format24Hour", s == null ? null : s.toString()); in encodeProperties()
663 stream.addProperty("format", mFormat == null ? null : mFormat.toString()); in encodeProperties()
664 stream.addProperty("hasSeconds", mHasSeconds); in encodeProperties()
DAdapterView.java1296 encoder.addProperty("scrolling:firstPosition", mFirstPosition); in encodeProperties()
1297 encoder.addProperty("list:nextSelectedPosition", mNextSelectedPosition); in encodeProperties()
1298 encoder.addProperty("list:nextSelectedRowId", mNextSelectedRowId); in encodeProperties()
1299 encoder.addProperty("list:selectedPosition", mSelectedPosition); in encodeProperties()
1300 encoder.addProperty("list:itemCount", mItemCount); in encodeProperties()
DActionMenuView.java857 encoder.addProperty("layout:overFlowButton", isOverflowButton); in encodeProperties()
858 encoder.addProperty("layout:cellsUsed", cellsUsed); in encodeProperties()
859 encoder.addProperty("layout:extraPixels", extraPixels); in encodeProperties()
860 encoder.addProperty("layout:expandable", expandable); in encodeProperties()
861 encoder.addProperty("layout:preventEdgeOffset", preventEdgeOffset); in encodeProperties()
DLinearLayout.java1966 encoder.addProperty("layout:baselineAligned", mBaselineAligned); in encodeProperties()
1967 encoder.addProperty("layout:baselineAlignedChildIndex", mBaselineAlignedChildIndex); in encodeProperties()
1968 encoder.addProperty("measurement:baselineChildTop", mBaselineChildTop); in encodeProperties()
1969 encoder.addProperty("measurement:orientation", mOrientation); in encodeProperties()
1970 encoder.addProperty("measurement:gravity", mGravity); in encodeProperties()
1971 encoder.addProperty("measurement:totalLength", mTotalLength); in encodeProperties()
1972 encoder.addProperty("layout:totalLength", mTotalLength); in encodeProperties()
1973 encoder.addProperty("layout:useLargestChild", mUseLargestChild); in encodeProperties()
2095 encoder.addProperty("layout:weight", weight); in encodeProperties()
2096 encoder.addProperty("layout:gravity", gravity); in encodeProperties()
DTableRow.java521 encoder.addProperty("layout:column", column); in encodeProperties()
522 encoder.addProperty("layout:span", span); in encodeProperties()
DProgressBar.java2309 stream.addProperty("progress:max", getMax()); in encodeProperties()
2310 stream.addProperty("progress:progress", getProgress()); in encodeProperties()
2311 stream.addProperty("progress:secondaryProgress", getSecondaryProgress()); in encodeProperties()
2312 stream.addProperty("progress:indeterminate", isIndeterminate()); in encodeProperties()
DCheckedTextView.java580 stream.addProperty("text:checked", isChecked()); in encodeProperties()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java311 component.addProperty(dtstartProp); in populateComponent()
314 component.addProperty(durationProp); in populateComponent()
370 component.addProperty(dtstartProp); in populateComponent()
373 component.addProperty(durationProp); in populateComponent()
392 component.addProperty(prop); in addPropertiesForRuleStr()
460 component.addProperty(prop); in addPropertyForDateStr()
DICalendar.java137 public void addProperty(Property prop) { in addProperty() method in ICalendar.Component
517 component.addProperty(property); in parseLine()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntryConstructor.java130 mCurrentEntry.addProperty(property); in onPropertyCreated()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java304 encoder.addProperty("layout:maxWidth", maxWidth); in encodeProperties()
305 encoder.addProperty("layout:maxHeight", maxHeight); in encodeProperties()
/frameworks/base/core/java/android/app/
DActionBar.java1433 encoder.addProperty("gravity", gravity); in encodeProperties()

12