HomeSort by relevance Sort by last modified time
    Searched full:typedarray (Results 1 - 25 of 692) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TypedArrayTest.java 18 private android.content.res.TypedArray typedArray;
22 typedArray = Robolectric.newInstanceOf(android.content.res.TypedArray.class);
32 assertThat(typedArray.getBoolean(0, true), equalTo(true));
33 assertThat(typedArray.getBoolean(0, false), equalTo(false));
38 assertThat(typedArray.getInt(0, 15), equalTo(15));
39 assertThat(typedArray.getInteger(0, 24), equalTo(24));
44 assertThat(typedArray.getFloat(0, 0.5f), equalTo(0.5f));
49 assertThat(typedArray.getDimension(0, 0.5f), equalTo(0.5f))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8TypedArrayCustom.h 47 template<typename TypedArray>
52 return TypedArrayTraits<TypedArray>::IsInstance(value);
55 static TypedArray* toImpl(v8::Handle<v8::Object>);
56 static TypedArray* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
63 static v8::Handle<v8::Object> wrap(TypedArray* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
67 return V8TypedArray<TypedArray>::createWrapper(impl, creationContext, isolate);
70 static v8::Handle<v8::Value> toV8(TypedArray* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
81 static void v8SetReturnValue(const CallbackInfo& info, TypedArray* impl)
94 static void v8SetReturnValueForMainWorld(const CallbackInfo& info, TypedArray* impl)
108 static void v8SetReturnValueFast(const CallbackInfo& info, TypedArray* impl, Wrappable* wrappable
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStyle.java 19 import android.content.res.TypedArray;
24 public abstract String[] getStringArray(TypedArray a, int index);
25 public abstract String getString(TypedArray a, int index);
26 public abstract int getInt(TypedArray a, int index, int defaultValue);
27 public abstract int getFlags(TypedArray a, int index);
33 protected String parseString(final TypedArray a, final int index) {
40 protected String[] parseStringArray(final TypedArray a, final int index) {
KeyStylesSet.java 19 import android.content.res.TypedArray;
54 public String[] getStringArray(final TypedArray a, final int index) {
59 public String getString(final TypedArray a, final int index) {
64 public int getInt(final TypedArray a, final int index, final int defaultValue) {
69 public int getFlags(final TypedArray a, final int index) {
87 public String[] getStringArray(final TypedArray a, final int index) {
101 public String getString(final TypedArray a, final int index) {
114 public int getInt(final TypedArray a, final int index, final int defaultValue) {
127 public int getFlags(final TypedArray a, final int index) {
135 public void readKeyAttributes(final TypedArray keyAttr)
    [all...]
KeyboardRow.java 20 import android.content.res.TypedArray;
64 public RowAttributes(final TypedArray keyAttr, final float defaultKeyWidth,
81 public RowAttributes(final TypedArray keyAttr, final RowAttributes defaultRowAttr,
99 final TypedArray keyboardAttr = res.obtainAttributes(Xml.asAttributeSet(parser),
104 final TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser),
118 public void pushRowAttributes(final TypedArray keyAttr) {
152 public float getKeyX(final TypedArray keyAttr) {
170 public float getKeyWidth(final TypedArray keyAttr, final float keyXPos) {
  /frameworks/support/v4/jellybean/android/support/v4/app/
BundleUtil.java 22 Bundle[] typedArray = Arrays.copyOf(array, array.length,
24 bundle.putParcelableArray(key, typedArray);
25 return typedArray;
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
TypedArray_Delegate.java 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) {
32 /*package*/ static TypedArray obtain(Resources res, int len) {
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
DrawerArrowDrawable.java 20 import android.content.res.TypedArray;
69 final TypedArray typedArray = context.getTheme()
74 mPaint.setColor(typedArray.getColor(R.styleable.DrawerArrowToggle_color, 0));
75 mSize = typedArray.getDimensionPixelSize(R.styleable.DrawerArrowToggle_drawableSize, 0);
77 mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowToggle_barSize, 0));
79 mTopBottomArrowSize = Math.round(typedArray.getDimension(
81 mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowToggle_thickness, 0);
83 mBarGap = Math.round(typedArray.getDimension(
85 mSpin = typedArray.getBoolean(R.styleable.DrawerArrowToggle_spinBars, true)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
TintTypedArray.java 22 import android.content.res.TypedArray;
28 * A class that wraps a {@link android.content.res.TypedArray} and provides the same public API
37 private final TypedArray mWrapped;
43 TypedArray array = context.obtainStyledAttributes(set, attrs);
49 TypedArray array = context.obtainStyledAttributes(set, attrs, defStyleAttr, defStyleRes);
53 private TintTypedArray(Context context, TypedArray array) {
  /packages/apps/InCallUI/src/com/android/incallui/
InCallUIMaterialColorMapUtils.java 4 import android.content.res.TypedArray;
11 private final TypedArray sPrimaryColors;
12 private final TypedArray sSecondaryColors;
  /frameworks/base/api/
removed.txt 48 method protected void initializeFadingEdge(android.content.res.TypedArray);
49 method protected void initializeScrollbars(android.content.res.TypedArray);
61 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
62 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
system-removed.txt 48 method protected void initializeFadingEdge(android.content.res.TypedArray);
49 method protected void initializeScrollbars(android.content.res.TypedArray);
61 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int);
62 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray);
  /cts/tests/tests/preference2/src/android/preference2/cts/
CustomCheckBoxPreference.java 21 import android.content.res.TypedArray;
48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
CustomDialogPreference.java 21 import android.content.res.TypedArray;
44 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
CustomEditTextPreference.java 21 import android.content.res.TypedArray;
48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
CustomPreferenceGroup.java 21 import android.content.res.TypedArray;
45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
CustomSwitchPreference.java 22 import android.content.res.TypedArray;
49 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTypedArray.java 4 import android.content.res.TypedArray;
10 @Implements(TypedArray.class)
ShadowContext.java 6 import android.content.res.TypedArray;
63 public final TypedArray obtainStyledAttributes(
69 public final TypedArray obtainStyledAttributes(
75 public final TypedArray obtainStyledAttributes(
81 public final TypedArray obtainStyledAttributes(
  /frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
AddressView.java 4 import android.content.res.TypedArray;
27 TypedArray a = context.getTheme().obtainStyledAttributes(
  /packages/apps/Camera/src/com/android/camera/
CameraPreference.java 21 import android.content.res.TypedArray;
43 TypedArray a = context.obtainStyledAttributes(
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraPreference.java 21 import android.content.res.TypedArray;
44 TypedArray a = context.obtainStyledAttributes(
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
android.content.res.TypedArray.html 10 android.content.res.TypedArray
74 Class android.content.res.<A HREF="../../../../reference/android/content/res/TypedArray.html" target="_top"><font size="+2"><code>TypedArray</code></font></A>
86 <A NAME="android.content.res.TypedArray.getChangingConfigurations_added()"></A>
87 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/res/TypedArray.html#getChangingConfigurations()" target="_top"><code>getChangingConfigurations</code></A>()</nobr>
93 <A NAME="android.content.res.TypedArray.getType_added(int)"></A>
94 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/content/res/TypedArray.html#getType(int)" target="_top"><code>getType</code></A>(<code>int</code>)</nobr>
  /cts/tests/tests/view/src/android/view/cts/
ViewGroup_LayoutParamsTest.java 24 import android.content.res.TypedArray;
55 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs);
79 protected void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr) {
  /external/replicaisland/src/com/replica/replicaisland/
SliderPreference.java 25 import android.content.res.TypedArray;
52 TypedArray a = context.obtainStyledAttributes(attrs,
97 protected Object onGetDefaultValue(TypedArray ta,int index) {

Completed in 576 milliseconds

1 2 3 4 5 6 7 8 91011>>