/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
Message.java | 68 Message(HashMap<String, String> attrs) throws IllegalArgumentException { 73 new BigInteger(attrs.get("handle"), 16); 75 mHandle = attrs.get("handle"); 84 mSubject = attrs.get("subject"); 85 String dateTime = attrs.get("datetime"); 94 mSenderName = attrs.get("sender_name"); 96 mSenderAddressing = attrs.get("sender_addressing"); 98 mReplytoAddressing = attrs.get("replyto_addressing"); 100 mRecipientName = attrs.get("recipient_name"); 102 mRecipientAddressing = attrs.get("recipient_addressing") [all...] |
/external/iproute2/tipc/ |
socket.c | 30 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; local 36 mnl_attr_parse_nested(info[TIPC_NLA_PUBL], parse_attrs, attrs); 39 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_TYPE]), 40 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_LOWER]), 41 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_UPPER])); 68 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; local 74 mnl_attr_parse_nested(info[TIPC_NLA_SOCK], parse_attrs, attrs); 75 if (!attrs[TIPC_NLA_SOCK_REF]) 78 printf("socket %u\n", mnl_attr_get_u32(attrs[TIPC_NLA_SOCK_REF])); 80 if (attrs[TIPC_NLA_SOCK_CON]) [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
PaneLayout.java | 73 public PaneLayout(Context context, AttributeSet attrs) { 74 super(context, attrs); 79 setUpUI(context, attrs); 82 public PaneLayout(Context context, AttributeSet attrs, String paneXmlName) { 83 super(context, attrs); 87 setUpUI(context, attrs); 98 private void setUpUI(Context context, AttributeSet attrs) { 108 context.getTheme().obtainStyledAttributes(attrs, R.styleable.PaneLayout, 0, 0); 175 protected abstract T createControlPane(TestingCamera21 tc, AttributeSet attrs); 183 public TargetPaneLayout(Context context, AttributeSet attrs) { [all...] |
/libcore/ojluni/src/main/java/java/nio/file/ |
TempFileHelper.java | 84 FileAttribute<?>[] attrs) 97 if (attrs.length == 0) { 99 attrs = new FileAttribute<?>[1]; 100 attrs[0] = (createDirectory) ? PosixPermissions.dirPermissions : 105 for (int i=0; i<attrs.length; i++) { 106 if (attrs[i].name().equals("posix:permissions")) { 112 FileAttribute<?>[] copy = new FileAttribute<?>[attrs.length+1]; 113 System.arraycopy(attrs, 0, copy, 0, attrs.length); 114 attrs = copy [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
VolumePreference.java | 33 * @param attrs 35 public VolumePreference(Context context, AttributeSet attrs) { 36 super(context, attrs); 38 setupLayout(context, attrs); 41 public VolumePreference(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle); 44 setupLayout(context, attrs); 47 private void setupLayout(Context context, AttributeSet attrs) {
|
HelpTopicView.java | 31 public HelpTopicView(Context context, AttributeSet attrs, int defStyle) { 32 super(context, attrs, defStyle); 36 public HelpTopicView(Context context, AttributeSet attrs) { 37 super(context, attrs);
|
/frameworks/base/core/java/android/preference/ |
CheckBoxPreference.java | 37 public CheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr) { 38 this(context, attrs, defStyleAttr, 0); 42 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 43 super(context, attrs, defStyleAttr, defStyleRes); 45 final TypedArray a = context.obtainStyledAttributes(attrs, 54 public CheckBoxPreference(Context context, AttributeSet attrs) { 55 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle);
|
/frameworks/base/core/java/android/widget/ |
TwoLineListItem.java | 52 public TwoLineListItem(Context context, AttributeSet attrs) { 53 this(context, attrs, 0); 56 public TwoLineListItem(Context context, AttributeSet attrs, int defStyleAttr) { 57 this(context, attrs, defStyleAttr, 0); 60 public TwoLineListItem(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 61 super(context, attrs, defStyleAttr, defStyleRes); 64 attrs, com.android.internal.R.styleable.TwoLineListItem, defStyleAttr, defStyleRes);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewAttachView.java | 35 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle); 37 init(attrs, defStyle); 40 public ViewAttachView(Context context, AttributeSet attrs) { 41 super(context, attrs); 42 init(attrs, 0); 50 private void init(AttributeSet attrs, int defStyle) {
|
/frameworks/support/fragment/java/android/support/v4/app/ |
BaseFragmentActivityApi14.java | 38 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { 39 final View v = dispatchFragmentsOnCreateView(parent, name, context, attrs); 41 return super.onCreateView(parent, name, context, attrs); 47 public View onCreateView(String name, Context context, AttributeSet attrs) { 48 final View v = dispatchFragmentsOnCreateView(null, name, context, attrs); 50 return super.onCreateView(name, context, attrs); 56 Context context, AttributeSet attrs);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
SpacePreference.java | 35 public SpacePreference(Context context, AttributeSet attrs) { 36 this(context, attrs, com.android.internal.R.attr.preferenceStyle); 39 public SpacePreference(Context context, AttributeSet attrs, int defStyleAttr) { 40 this(context, attrs, defStyleAttr, 0); 43 public SpacePreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 44 super(context, attrs, defStyleAttr, defStyleRes); 47 final TypedArray a = context.obtainStyledAttributes(attrs,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LeanbackPickerDialogPreference.java | 37 public LeanbackPickerDialogPreference(Context context, AttributeSet attrs, int defStyleAttr, 39 super(context, attrs, defStyleAttr, defStyleRes); 40 final TypedArray a = context.obtainStyledAttributes(attrs, 47 public LeanbackPickerDialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { 48 this(context, attrs, defStyleAttr, 0); 51 public LeanbackPickerDialogPreference(Context context, AttributeSet attrs) { 52 this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.dialogPreferenceStyle,
|
/frameworks/support/percent/src/android/support/percent/ |
PercentRelativeLayout.java | 137 public PercentRelativeLayout(Context context, AttributeSet attrs) { 138 super(context, attrs); 141 public PercentRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 142 super(context, attrs, defStyle); 151 public LayoutParams generateLayoutParams(AttributeSet attrs) { 152 return new LayoutParams(getContext(), attrs); 178 public LayoutParams(Context c, AttributeSet attrs) { 179 super(c, attrs); 180 mPercentLayoutInfo = PercentLayoutHelper.getPercentLayoutInfo(c, attrs);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
system_info.py | 17 def FromDict(cls, attrs): 26 return cls(attrs["model_name"], attrs["gpu"])
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
SimpleInflater.java | 89 final AttributeSet attrs = Xml.asAttributeSet(parser); local 105 createdItem = createItemFromTag(parser.getName(), attrs); 107 rInflate(parser, createdItem, attrs); 122 * @param attrs An AttributeSet of attributes to apply to the item. 125 protected abstract T onCreateItem(String tagName, AttributeSet attrs); 127 private T createItemFromTag(String name, AttributeSet attrs) { 129 T item = onCreateItem(name, attrs); 135 throw new InflateException(attrs.getPositionDescription() 144 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) 156 if (onInterceptCreateItem(parser, parent, attrs)) { [all...] |
/cts/tests/acceleration/src/android/acceleration/ |
AcceleratedView.java | 37 public AcceleratedView(Context context, AttributeSet attrs) { 38 super(context, attrs); 41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle);
|
/developers/build/prebuilts/gradle/EmojiCompat/app/src/main/java/com/example/android/emojicompat/ |
CustomTextView.java | 41 public CustomTextView(Context context, @Nullable AttributeSet attrs) { 42 this(context, attrs, 0); 45 public CustomTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { 46 super(context, attrs, defStyleAttr);
|
/developers/samples/android/views/EmojiCompat/app/src/main/java/com/example/android/emojicompat/ |
CustomTextView.java | 41 public CustomTextView(Context context, @Nullable AttributeSet attrs) { 42 this(context, attrs, 0); 45 public CustomTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { 46 super(context, attrs, defStyleAttr);
|
/development/apps/Development/src/com/android/development/ |
LogTextBox.java | 45 public LogTextBox(Context context, AttributeSet attrs) { 46 this(context, attrs, android.R.attr.textViewStyle); 49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 50 super(context, attrs, defStyle);
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
LogTextBox.java | 42 public LogTextBox(Context context, AttributeSet attrs) { 43 this(context, attrs, android.R.attr.textViewStyle); 46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { 47 super(context, attrs, defStyle);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboardView.java | 32 public LatinKeyboardView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public LatinKeyboardView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
ExpandingLayout.java | 47 public ExpandingLayout(Context context, AttributeSet attrs) { 48 super(context, attrs); 51 public ExpandingLayout(Context context, AttributeSet attrs, int defStyle) { 52 super(context, attrs, defStyle);
|
/external/replicaisland/src/com/replica/replicaisland/ |
YesNoDialogPreference.java | 30 public YesNoDialogPreference(Context context, AttributeSet attrs) { 31 this(context, attrs, android.R.attr.yesNoPreferenceStyle); 35 public YesNoDialogPreference(Context context, AttributeSet attrs, 37 super(context, attrs, defStyle);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
ExceptionTextView.java | 40 public ExceptionTextView(Context context, AttributeSet attrs) { 41 super(context, attrs); 44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
ToggleSeekBar.java | 32 public ToggleSeekBar(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public ToggleSeekBar(Context context, AttributeSet attrs, int defStyleAttr) { 37 super(context, attrs, defStyleAttr);
|