/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ResourcesWrapper.java | 195 public InputStream openRawResource(int id, TypedValue value) throws NotFoundException { argument 196 return mResources.openRawResource(id, value);
|
H A D | TintManager.java | 45 * Drawables which should be tinted with the value of {@code R.attr.colorControlNormal}, 67 * Drawables which should be tinted with the value of {@code R.attr.colorControlActivated}, 77 * Drawables which should be tinted with the value of {@code android.R.attr.colorBackground}, 211 private static boolean arrayContains(int[] array, int value) { argument 213 if (id == value) { 372 // Return the color, multiplying the original alpha by the disabled value 377 // Now retrieve the disabledAlpha value from the theme
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | RoundRectDrawableWithShadow.java | 63 // updated value with inset 66 // actual value set by developer 69 // multiplied value to account for shadow offset 72 // actual value set by developer 84 * If shadow size is set to a value above max shadow, we print a warning 105 * Casts the value to an even integer. 107 private int toEven(float value) { argument 108 int i = (int) (value + .5f);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 132 * the corresponding value in any other valid solution. 171 * The constant used to indicate that a value is undefined. 172 * Fields can use this value to indicate that their values 173 * have not yet been set. Similarly, methods can return this value 174 * to indicate that there is no suitable value that the implementation 176 * The value used for the constant (currently {@link Integer#MIN_VALUE}) is 193 * all return the same value when their {@link android.view.View#getTop()} 335 * The default value of this property is {@link #HORIZONTAL}. 352 * Returns the current number of rows. This is either the last value that was set 353 * with {@link #setRowCount(int)} or, if no such value wa 687 fits(int[] a, int value, int start, int end) argument 699 procrusteanFill(int[] a, int start, int end, int value) argument 2114 public final MutableInt value; field in class:GridLayout.Arc 2117 Arc(Interval span, MutableInt value) argument 2131 public int value; field in class:GridLayout.MutableInt 2137 MutableInt(int value) argument 2164 put(K key, V value) argument [all...] |
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | Palette.java | 122 * of people's faces then this value should be increased to 24-32. 279 * @param defaultColor value to return if the swatch isn't available 288 * @param defaultColor value to return if the swatch isn't available 297 * @param defaultColor value to return if the swatch isn't available 306 * @param defaultColor value to return if the swatch isn't available 315 * @param defaultColor value to return if the swatch isn't available 324 * @param defaultColor value to return if the swatch isn't available 370 // ...but we do have a dark vibrant, generate the value by modifying the luma 380 // ...but we do have a vibrant, generate the value by modifying the luma 389 * Find the {@link Swatch} with the highest population value an 500 invertDiff(float value, float targetValue) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 401 void insert(int index, boolean value) { argument 404 next.insert(index - BITS_PER_WORD, value); 411 if (value) { 429 final boolean value = (mData & mask) != 0; 442 return value;
|
H A D | PositionMap.java | 177 * Adds a mapping from the specified key to the specified value, 181 public void put(int key, E value) { argument 185 mValues[i] = value; 191 mValues[i] = value; 223 mValues[i] = value; 229 * Returns the number of key-value mappings that this SparseArray 242 * the key from the <code>index</code>th key-value mapping that this 255 * the value from the <code>index</code>th key-value mapping that this 269 * value fo 272 setValueAt(int index, E value) argument 303 indexOfValue(E value) argument 334 append(int key, E value) argument 440 binarySearch(int[] array, int size, int value) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseRecyclerViewInstrumentationTest.java | 65 void setHasTransientState(final View view, final boolean value) { argument 70 ViewCompat.setHasTransientState(view, value); 371 assertSame("item position in LP should match adapter value :" + vh,
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 69 native void nDeviceSetConfig(int dev, int param, int value); argument 97 // get the value of the debug.rs.forcecompat property 843 * RenderScript worker thread priority enumeration. The default value is
|
H A D | ScriptIntrinsicLUT.java | 24 * tables are 256 entries in size and can cover the full value 68 private void validate(int index, int value) { argument 72 if (value < 0 || value > 255) { 81 * @param value Must be 0-255 83 public void setRed(int index, int value) { argument 84 validate(index, value); 85 mCache[index] = (byte)value; 93 * @param value Must be 0-255 95 public void setGreen(int index, int value) { argument 107 setBlue(int index, int value) argument 119 setAlpha(int index, int value) argument [all...] |
H A D | ScriptIntrinsicLUTThunker.java | 45 public void setRed(int index, int value) { argument 47 mN.setRed(index, value); 53 public void setGreen(int index, int value) { argument 55 mN.setGreen(index, value); 61 public void setBlue(int index, int value) { argument 63 mN.setBlue(index, value); 69 public void setAlpha(int index, int value) { argument 71 mN.setAlpha(index, value);
|
H A D | Type.java | 33 * A nonzero value in the Y or Z dimensions indicates that the dimension is 88 * Return the value of the X dimension. 97 * Return the value of the Y dimension or 0 for a 1D allocation. 106 * Return the value of the Z dimension or 0 for a 1D or 2D allocation. 225 * @param value 227 public Builder setX(int value) { argument 228 if(value < 1) { 231 mDimX = value; 235 public Builder setY(int value) { argument 236 if(value < 243 setZ(int value) argument 251 setMipmaps(boolean value) argument 256 setFaces(boolean value) argument [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 123 nDeviceSetConfig(JNIEnv *_env, jobject _this, jint dev, jint p, jint value) argument 125 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value); 126 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 159 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { argument 160 long diff = Math.abs(expected - value); 188 // Empty value
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | CookieManagerAdapter.java | 59 public void setCookie(String url, String value) { argument 61 mChromeCookieManager.setCookie(fixupUrl(url), value); 68 public void setCookie(String url, String value, ValueCallback<Boolean> callback) { argument 70 mChromeCookieManager.setCookie(fixupUrl(url), value, callback);
|
/frameworks/webview/chromium/tests/prebuilts/ |
H A D | android-janktesthelper.jar | ... .BufferedReader resultReader
String command
public void setFrameTimeTarget (double) double value
public void setPauseThreshold (int) int threshold
public boolean dumpFrameLatency (java |
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 732 int value; local 734 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); 740 switch (value) { 754 nativeWindow, value);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 122 static const int kEosBufferCntxt = 1980; // a magic value we can compare against 670 // This is for test / demonstration purposes only where we discover the key and value sizes 680 SLMetadataInfo *keyInfo, *value; local 683 value = NULL; valueSize = 0;
|
H A D | slesTestDecodeToBuffQueue.cpp | 347 // FIXME valid value required but currently ignored 460 // This is for test / demonstration purposes only where we discover the key and value sizes 466 SLMetadataInfo *keyInfo, *value; local 469 value = NULL; valueSize = 0;
|
/frameworks/rs/api/ |
H A D | gen_runtime.cpp | 94 bool isFloatType; // True if it's a floating point value 115 * parameter, i.e. value(smallerParameter) <= value(this). This is used when testing clamp. 219 * "noverify": Generate test code that calls the API but don't verify the returned value. 222 * the expected value, we call instead CoreMathVerifier.verifyXXX(). This method 298 // The index of the return value in mParams, -1 if the function is void. 300 // The index of the first input value in mParams, -1 if there's no input. 352 const string& value) const; 353 void writeJavaAppendFloatVariableToMessage(ofstream& file, int indent, const string& value, 1293 // Don't need allocation for one input and one return value 1760 << "Float.floatToRawIntBits(" << value << "), " << value << "));\\n"; local 1764 << "Double.doubleToRawLongBits(" << value << "), " << value << "));\\n"; local 1772 writeJavaAppendFloatVariableToMessage(ofstream& file, int indent, const string& value, bool regularFloat) const argument 1777 file << "Float.toString(" << value << ")"; local 1779 file << value << ".toString()"; local [all...] |
/frameworks/rs/cpp/ |
H A D | Type.cpp | 128 void Type::Builder::setX(uint32_t value) { argument 129 if(value < 1) { 132 mDimX = value; 135 void Type::Builder::setY(uint32_t value) { argument 136 if(value < 1) { 139 mDimY = value; 142 void Type::Builder::setZ(uint32_t value) { argument 143 if(value < 1) { 146 mDimZ = value; 163 void Type::Builder::setMipmaps(bool value) { argument 167 setFaces(bool value) argument [all...] |
/frameworks/rs/cpp/util/ |
H A D | TypeHelpers.h | 33 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_ctor::__anon1468 34 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_dtor::__anon1469 35 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_copy::__anon1470 36 template <typename T> struct trait_trivial_move { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_move::__anon1471 37 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::RSC::trait_pointer::__anon1472 38 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::RSC::trait_pointer::__anon1473 44 is_pointer = trait_pointer<TYPE>::value, 46 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value, 48 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value, 50 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value, 232 VALUE value; member in struct:android::RSC::key_value_pair_t 250 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; enumerator in enum:android::RSC::trait_trivial_ctor::__anon1476 253 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::RSC::trait_trivial_dtor::__anon1477 256 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::RSC::trait_trivial_copy::__anon1478 259 { enum { value = aggregate_traits<K,V>::has_trivial_move }; }; enumerator in enum:android::RSC::trait_trivial_move::__anon1479 294 hash_type(T* const & value) argument [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFObject.hxx | 396 __android_log_print(ANDROID_LOG_INFO, "rs", "AARCH64 relocation symbol %s value is %llx\n", 463 // ADD instruction immediate value. 558 // This loads the PC value from the 64 bits at PC + 8. Since AARCH64 can't 615 uint32_t value = ((S + A) >> shift) & 0xFFFF; local 616 *inst32 = (*inst32 & ~(0xFFFF << 6)) | (value << 6); 632 int32_t value = ((S + A) >> shift) & 0xFFFF; local 634 *inst32 = (*inst32 & ~(0xFFFF << 6)) | (value << 6); 637 // depending on the sign of the value. The bit corresponds to the 638 // movz or movn encoding. A value of 0 means movn. 639 if (value > [all...] |
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 126 EGLint value = -1; local 127 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); 129 ALOGV(" %s: %d (0x%x)", names[j].name, value, value);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 61 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t *ptr, int32_t value) { argument 62 return __sync_fetch_and_add(ptr, value); 65 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) { argument 66 return __sync_fetch_and_add(ptr, value); 69 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t *ptr, int32_t value) { argument 70 return __sync_fetch_and_sub(ptr, value); 73 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile uint32_t *ptr, uint32_t value) { argument 74 return __sync_fetch_and_sub(ptr, value); 77 extern int32_t __attribute__((overloadable)) rsAtomicAnd(volatile int32_t *ptr, int32_t value) { argument 78 return __sync_fetch_and_and(ptr, value); 81 rsAtomicAnd(volatile uint32_t *ptr, uint32_t value) argument 85 rsAtomicOr(volatile int32_t *ptr, int32_t value) argument 89 rsAtomicOr(volatile uint32_t *ptr, uint32_t value) argument 93 rsAtomicXor(volatile int32_t *ptr, int32_t value) argument 97 rsAtomicXor(volatile uint32_t *ptr, uint32_t value) argument 106 rsAtomicMin(volatile uint32_t *ptr, uint32_t value) argument 116 rsAtomicMin(volatile int32_t *ptr, int32_t value) argument 126 rsAtomicMax(volatile uint32_t *ptr, uint32_t value) argument 136 rsAtomicMax(volatile int32_t *ptr, int32_t value) argument [all...] |