Searched refs:attr (Results 1 - 25 of 145) sorted by relevance

123456

/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp43 pthread_attr_t attr; local
44 pthread_attr_init(&attr);
45 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
46 int err = pthread_create(&mThread, &attr, threadWrapper, this);
47 pthread_attr_destroy(&attr);
/frameworks/native/include/utils/
H A DMutex.h99 pthread_mutexattr_t attr; local
100 pthread_mutexattr_init(&attr);
101 pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);
102 pthread_mutex_init(&mMutex, &attr);
103 pthread_mutexattr_destroy(&attr);
H A DCondition.h80 pthread_condattr_t attr; local
81 pthread_condattr_init(&attr);
82 pthread_condattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);
83 pthread_cond_init(&mCond, &attr);
84 pthread_condattr_destroy(&attr);
H A DRWLock.h92 pthread_rwlockattr_t attr; local
93 pthread_rwlockattr_init(&attr);
94 pthread_rwlockattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);
95 pthread_rwlock_init(&mRWLock, &attr);
96 pthread_rwlockattr_destroy(&attr);
/frameworks/wilhelm/src/
H A Dlocks.h22 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr,
28 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr);
37 #define object_unlock_exclusive_attributes(thiz, attr) \
38 object_unlock_exclusive_attributes_((thiz), (attr), __FILE__, __LINE__)
53 #define interface_unlock_exclusive_attributes(thiz, attr) \
54 object_unlock_exclusive_attributes(InterfaceToIObject(thiz), (attr))
/frameworks/compile/mclinker/lib/MC/
H A DMCLDInput.cpp18 m_pAttr(const_cast<Attribute*>(pProxy.attr())),
28 m_pAttr(const_cast<Attribute*>(pProxy.attr())),
/frameworks/base/core/java/android/util/
H A DStateSet.java160 case R.attr.state_window_focused:
163 case R.attr.state_pressed:
166 case R.attr.state_selected:
169 case R.attr.state_focused:
172 case R.attr.state_enabled:
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentity.java40 protected CellIdentity(int type, String attr) { argument
42 this.mCellIdAttributes = new String(attr);
H A DCdmaCellIdentity.java58 * @param attr is comma separated “key=value” attribute pairs.
61 int bid, int lon, int lat, String attr) {
62 super(CELLID_TYPE_CDMA, attr);
60 CdmaCellIdentity(int nid, int sid, int bid, int lon, int lat, String attr) argument
H A DGsmCellIdentity.java48 * @param attr is comma separated “key=value” attribute pairs.
51 int lac, int cid, int psc, String attr) {
52 super(CELLID_TYPE_GSM, attr);
50 GsmCellIdentity(int mcc, int mnc, int lac, int cid, int psc, String attr) argument
H A DLteCellIdentity.java47 * @param attr is comma separated “key=value” attribute pairs.
50 int ci, int pci, int tac, String attr) {
51 super(CELLID_TYPE_CDMA, attr);
49 LteCellIdentity(int mcc, int mnc, int ci, int pci, int tac, String attr) argument
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DStateListDrawableTest.java45 int focusedStateSet[] = {R.attr.state_focused};
46 int checkedStateSet[] = {R.attr.state_checked};
57 int focusedStateSet[] = {R.attr.state_focused};
58 int checkedStateSet[] = {R.attr.state_checked};
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractButton.java32 super(context, attrs, com.android.internal.R.attr.buttonStyle);
/frameworks/base/core/java/android/preference/
H A DPreferenceCategory.java36 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle);
H A DPreference.java58 * @attr ref android.R.styleable#Preference_icon
59 * @attr ref android.R.styleable#Preference_key
60 * @attr ref android.R.styleable#Preference_title
61 * @attr ref android.R.styleable#Preference_summary
62 * @attr ref android.R.styleable#Preference_order
63 * @attr ref android.R.styleable#Preference_fragment
64 * @attr ref android.R.styleable#Preference_layout
65 * @attr ref android.R.styleable#Preference_widgetLayout
66 * @attr ref android.R.styleable#Preference_enabled
67 * @attr re
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java31 { android.R.attr.state_enabled, android.R.attr.state_active };
33 { android.R.attr.state_enabled, -android.R.attr.state_active };
35 { android.R.attr.state_enabled, -android.R.attr.state_active,
36 android.R.attr.state_focused };
128 if (states[i] == android.R.attr.state_focused) {
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp620 cl::list<bool>::iterator attr = ArgWholeArchiveList.begin(); local
622 for (; attr!=attrEnd; ++attr) {
624 ArgWholeArchiveList.getPosition(attr-ArgWholeArchiveList.begin())));
628 attr = ArgNoWholeArchiveList.begin();
630 for (; attr!=attrEnd; ++attr) {
632 ArgNoWholeArchiveList.getPosition(attr-ArgNoWholeArchiveList.begin())));
636 attr = ArgAsNeededList.begin();
638 while(attr !
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp338 AString attr(line, offset, end - offset);
339 attr.trim();
343 ssize_t equalPos = attr.find("=");
348 AString key(attr, 0, equalPos);
351 AString val(attr, equalPos + 1, attr.size() - equalPos - 1);
416 AString attr(line, offset, end - offset);
417 attr.trim();
421 ssize_t equalPos = attr.find("=");
426 AString key(attr,
[all...]
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/tree/
H A DUiNode.java117 for (String attr : mAttributes.keySet()) {
118 mCachedAttributesArray[i++] = new AttributePair(attr, mAttributes.get(attr));
/frameworks/base/core/java/android/widget/
H A DButton.java51 * using the {@link android.R.attr#onClick android:onClick} attribute. For example:</p>
81 * it to your Button with the {@link android.R.attr#background android:background}
103 this(context, attrs, com.android.internal.R.attr.buttonStyle);
H A DCheckBox.java64 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
H A DRadioButton.java59 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java50 this(context, attrs, com.android.internal.R.attr.mapViewStyle);
/frameworks/base/tools/aapt/
H A DXMLNode.cpp928 String16 attr("attr");
945 ? table->getResId(e.name, &attr, &pkg, &errorMsg, nsIsPublic)
948 attr.string(), attr.size(),
1067 const attribute_entry& attr = mAttributes.itemAt(idx);
1068 String8 attrNs(attr.ns);
1072 if (attr.nameResId) {
1074 String8(attr.name).string(), attr
[all...]

Completed in 1580 milliseconds

123456