/external/robolectric/v1/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...] |
/frameworks/support/compat/jellybean/android/support/v4/app/ |
BundleUtil.java | 22 Bundle[] typedArray = Arrays.copyOf(array, array.length, 24 bundle.putParcelableArray(key, typedArray); 25 return typedArray;
|
/external/v8/test/mjsunit/regress/ |
regress-544991.js | 9 var typedArray = new Int8Array(1); 19 typedArray.constructor = TypedArraySubclass 20 typedArray.map(function(){});
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
DrawerArrowDrawable.java | 19 import android.content.res.TypedArray; 69 final TypedArray typedArray = context.getTheme() 74 mPaint.setColor(typedArray.getColor(R.styleable.DrawerArrowDrawable_carArrowColor, 0)); 75 mSize = typedArray.getDimensionPixelSize(R.styleable.DrawerArrowDrawable_carArrowDrawableSize, 0); 77 mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowBarSize, 0)); 79 mTopBottomArrowSize = Math.round(typedArray.getDimension( 81 mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowThickness, 0); 83 mBarGap = Math.round(typedArray.getDimension( 85 mSpin = typedArray.getBoolean(R.styleable.DrawerArrowDrawable_carArrowSpinBars, true) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
ExifInterfaceTest.java | 19 import android.content.res.TypedArray; 116 private static String getString(TypedArray typedArray, int index) { 117 String stringValue = typedArray.getString(index); 124 public ExpectedValue(TypedArray typedArray) { 126 hasThumbnail = typedArray.getBoolean(0, false); 127 thumbnailWidth = typedArray.getInt(1, 0); 128 thumbnailHeight = typedArray.getInt(2, 0); 131 hasLatLong = typedArray.getBoolean(3, false) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
ExifInterfaceTest.java | 21 import android.content.res.TypedArray; 120 private static String getString(TypedArray typedArray, int index) { 121 String stringValue = typedArray.getString(index); 128 public ExpectedValue(TypedArray typedArray) { 130 hasThumbnail = typedArray.getBoolean(0, false); 131 thumbnailWidth = typedArray.getInt(1, 0); 132 thumbnailHeight = typedArray.getInt(2, 0); 135 hasLatLong = typedArray.getBoolean(3, false) [all...] |
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/ |
RecyclerItemAdapter.java | 19 import android.content.res.TypedArray; 78 final TypedArray typedArray = parent.getContext() 80 Drawable selectableItemBackground = typedArray.getDrawable( 83 selectableItemBackground = typedArray.getDrawable( 87 final Drawable background = typedArray.getDrawable( 99 typedArray.recycle();
|
/frameworks/base/core/java/android/text/style/ |
SuggestionSpan.java | 23 import android.content.res.TypedArray; 185 TypedArray typedArray = context.obtainStyledAttributes( 187 mMisspelledUnderlineThickness = typedArray.getDimension( 189 mMisspelledUnderlineColor = typedArray.getColor( 193 typedArray = context.obtainStyledAttributes( 195 mEasyCorrectUnderlineThickness = typedArray.getDimension( 197 mEasyCorrectUnderlineColor = typedArray.getColor( 201 typedArray = context.obtainStyledAttributes( 203 mAutoCorrectionUnderlineThickness = typedArray.getDimension [all...] |
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 109 public <T> T[] toArray(T[] typedArray) { 110 T[] array = typedArray.length >= size() ? typedArray : 111 (T[]) newInstance(typedArray.getClass().getComponentType(), size());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
PipControlButtonView.java | 22 import android.content.res.TypedArray; 86 TypedArray typedArray = 89 setImageResource(typedArray.getResourceId(0, 0)); 90 setText(typedArray.getResourceId(1, 0)); 92 typedArray.recycle();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
LocalizedNameResolver.java | 26 import android.content.res.TypedArray; 105 final TypedArray typedArray = context.obtainStyledAttributes(attrs, 109 final String nonResourceString = typedArray.getNonResourceString( 117 int id = typedArray.getResourceId( 135 typedArray.recycle();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
PrintOptionsLayout.java | 20 import android.content.res.TypedArray; 39 TypedArray typedArray = context.obtainStyledAttributes(attrs, 41 mColumnCount = typedArray.getInteger(R.styleable.PrintOptionsLayout_columnCount, 0); 42 typedArray.recycle();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PagingIndicator.java | 25 import android.content.res.TypedArray; 136 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.PagingIndicator, 138 mDotRadius = getDimensionFromTypedArray(typedArray, R.styleable.PagingIndicator_dotRadius, 141 mArrowRadius = getDimensionFromTypedArray(typedArray, 144 mDotGap = getDimensionFromTypedArray(typedArray, R.styleable.PagingIndicator_dotToDotGap, 146 mArrowGap = getDimensionFromTypedArray(typedArray, 148 int bgColor = getColorFromTypedArray(typedArray, R.styleable.PagingIndicator_dotBgColor, 152 mDotFgSelectColor = getColorFromTypedArray(typedArray, 155 typedArray.recycle() [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
SystemBarHelper.java | 23 import android.content.res.TypedArray; 133 final TypedArray typedArray = context.obtainStyledAttributes(new int[]{ 135 final int statusBarColor = typedArray.getColor(0, 0); 136 final int navigationBarColor = typedArray.getColor(1, 0); 139 typedArray.recycle();
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
ExpandedAlarmViewHolder.java | 21 import android.content.res.TypedArray; 72 final TypedArray typedArray = theme.obtainStyledAttributes(attrs); 75 typedArray.getDrawable(0) }); 77 typedArray.recycle();
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DotsPageIndicator.java | 26 import android.content.res.TypedArray; 130 final TypedArray typedArray = getContext().obtainStyledAttributes( 132 dotDiameter = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotDiameter, 136 gap = typedArray.getDimensionPixelSize(R.styleable.DotsPageIndicator_dotGap, 138 animDuration = (long) typedArray.getInteger(R.styleable.DotsPageIndicator_animationDuration, 141 unselectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_pageIndicatorColor, 143 selectedColour = typedArray.getColor(R.styleable.DotsPageIndicator_currentPageIndicatorColor, 145 typedArray.recycle(); [all...] |
/external/skia/src/animator/ |
SkAnimatorScript2.cpp | 430 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; 431 original = typedArray->values.getType(); 539 "<typedArray id='emptyArray' />" 540 "<typedArray id='intArray' values='[1, 4, 6]' />"
|
SkAnimatorScript.cpp | 253 SkDisplayArray* typedArray = (SkDisplayArray*) displayable; 254 original = typedArray->values.getType();
|
/external/v8/src/js/ |
typedarray.js | 101 function TypedArrayDefaultConstructor(typedArray) { 102 switch (%_ClassOf(typedArray)) { 250 // TODO(littledan): If arg1 is a TypedArray, follow the constructor 319 "get TypedArray.prototype.subarray", this); 326 "get TypedArray.prototype.buffer", this); 335 "get TypedArray.prototype.byteLength", this); 344 "get TypedArray.prototype.byteOffset", this); 353 "get TypedArray.prototype.length", this); 773 function TypedArray() { 775 throw MakeTypeError(kConstructorNonCallable, "TypedArray"); [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompat.java | [all...] |
/frameworks/base/core/java/android/app/ |
Fragment.java | 30 import android.content.res.TypedArray; [all...] |
Notification.java | [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
PhoneWindowManager.java | 67 import android.content.res.TypedArray; [all...] |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |