Searched defs:value (Results 1 - 25 of 922) sorted by last modified time

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableUtils.java27 public static PorterDuff.Mode parseTintMode(int value, PorterDuff.Mode defaultMode) { argument
28 switch (value) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DResourcesWrapper.java195 public InputStream openRawResource(int id, TypedValue value) throws NotFoundException { argument
196 return mResources.openRawResource(id, value);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java63 // 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 DGridLayout.java132 * the corresponding value in any other valid solution.
174 * The constant used to indicate that a value is undefined.
175 * Fields can use this value to indicate that their values
176 * have not yet been set. Similarly, methods can return this value
177 * to indicate that there is no suitable value that the implementation
179 * The value used for the constant (currently {@link Integer#MIN_VALUE}) is
196 * all return the same value when their {@link android.view.View#getTop()}
338 * The default value of this property is {@link #HORIZONTAL}.
355 * Returns the current number of rows. This is either the last value that was set
356 * with {@link #setRowCount(int)} or, if no such value wa
690 fits(int[] a, int value, int start, int end) argument
702 procrusteanFill(int[] a, int start, int end, int value) argument
2104 public final MutableInt value; field in class:GridLayout.Arc
2107 Arc(Interval span, MutableInt value) argument
2121 public int value; field in class:GridLayout.MutableInt
2127 MutableInt(int value) argument
2154 put(K key, V value) argument
[all...]
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DColorCutQuantizer.java78 // Now update the pixel value to the quantized value
334 * sub-array based on that dimension value in each color. The colors are then iterated over
396 * Modify the significant octet in a packed color int. Allows sorting based on the value of a
460 * Quantized a RGB888 value to have a word width of {@value #QUANTIZE_WORD_WIDTH}.
470 * Quantized RGB888 values to have a word width of {@value #QUANTIZE_WORD_WIDTH}.
503 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { argument
507 newValue = value << (targetWidth - currentWidth);
510 newValue = value >> (currentWidt
[all...]
H A DDefaultGenerator.java126 // ...but we do have a dark vibrant, generate the value by modifying the luma
136 // ...but we do have a vibrant, generate the value by modifying the luma
145 * Find the {@link Palette.Swatch} with the highest population value and return the population.
167 float value = createComparisonValue(sat, targetSaturation, luma, targetLuma,
169 if (max == null || value > maxValue) {
171 maxValue = value;
217 * Returns a value in the range 0-1. 1 is returned when {@code value} equals the
218 * {@code targetValue} and then decreases as the absolute difference between {@code value} and
221 * @param value th
224 invertDiff(float value, float targetValue) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DListPreference.java33 * This preference will store a string into the SharedPreferences. This string will be the value
116 * The array to find the value to save for a preference when an entry from
144 * Sets the value of the key. This should be one of the entries in
147 * @param value The value to set for the key.
149 public void setValue(String value) { argument
151 final boolean changed = !TextUtils.equals(mValue, value);
153 mValue = value;
155 persistString(value);
166 * value wil
236 findIndexOfValue(String value) argument
288 String value; field in class:ListPreference.SavedState
[all...]
H A DPreference.java55 * the value.
141 * Interface definition for a callback to be invoked when the value of this
144 * to prevent setting and/or persisting the value.
153 * @param newValue The new value of the Preference.
154 * @return True to update the state of the Preference with the new value.
332 * Called when a Preference is being inflated and the default value
334 * different value types, the subclass should get and return the default
335 * value which will be its value type.
337 * For example, if the value typ
1311 persistString(String value) argument
1358 persistInt(int value) argument
1402 persistFloat(float value) argument
1446 persistLong(long value) argument
1490 persistBoolean(boolean value) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java428 void insert(int index, boolean value) { argument
431 next.insert(index - BITS_PER_WORD, value);
438 if (value) {
456 final boolean value = (mData & mask) != 0;
469 return value;
H A DPositionMap.java177 * 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 DAsyncListUtilLayoutTest.java143 private int roundUp(int value) { argument
144 return value - value % TILE_SIZE + TILE_SIZE;
H A DBaseRecyclerViewInstrumentationTest.java80 void setHasTransientState(final View view, final boolean value) { argument
85 ViewCompat.setHasTransientState(view, value);
461 assertSame("item position in LP should match adapter value :" + vh,
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java104 native void nDeviceSetConfig(long dev, int param, int value); argument
146 // get the value of the debug.rs.forcecompat property
858 long value, int size);
859 synchronized void nClosureSetArg(long closureID, int index, long value, argument
862 rsnClosureSetArg(mContext, closureID, index, value, size);
866 long value, int size);
869 long value, int size) {
871 rsnClosureSetGlobal(mContext, closureID, fieldID, value, size);
1174 * RenderScript worker thread priority enumeration. The default value is
857 rsnClosureSetArg(long con, long closureID, int index, long value, int size) argument
865 rsnClosureSetGlobal(long con, long closureID, long fieldID, long value, int size) argument
868 nClosureSetGlobal(long closureID, long fieldID, long value, int size) argument
H A DScriptGroup.java232 values[index] = vs.value;
238 * Returns the future for the return value
263 // without an associated value (reference). So this is not working for
283 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size);
292 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size);
298 value = ((Allocation)obj).getID(rs);
301 value = ((Boolean)obj).booleanValue() ? 1 : 0;
304 value = ((Integer)obj).longValue();
307 value = ((Long)obj).longValue();
310 value
317 public long value; field in class:ScriptGroup.Closure.ValueAndSize
336 Future(Closure closure, Script.FieldID fieldID, Object value) argument
377 set(Object value) argument
983 Binding(Script.FieldID field, Object value) argument
[all...]
H A DScriptIntrinsicLUT.java24 * tables are 256 entries in size and can cover the full value
70 private void validate(int index, int value) { argument
74 if (value < 0 || value > 255) {
83 * @param value Must be 0-255
85 public void setRed(int index, int value) { argument
86 validate(index, value);
87 mCache[index] = (byte)value;
95 * @param value Must be 0-255
97 public void setGreen(int index, int value) { argument
109 setBlue(int index, int value) argument
121 setAlpha(int index, int value) argument
[all...]
H A DType.java33 * 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.
306 * @param value
308 public Builder setX(int value) { argument
309 if(value < 1) {
312 mDimX = value;
316 public Builder setY(int value) { argument
317 if(value <
324 setZ(int value) argument
332 setMipmaps(boolean value) argument
337 setFaces(boolean value) argument
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp513 jint index, jlong value, jint size) {
515 (uintptr_t)value, (size_t)size);
520 jlong fieldID, jlong value, jint size) {
522 (RsScriptFieldID)fieldID, (uintptr_t)value, (size_t)size);
791 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) argument
793 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
794 return dispatchTab.DeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
512 nClosureSetArg(JNIEnv *_env, jobject _this, jlong con, jlong closureID, jint index, jlong value, jint size) argument
519 nClosureSetGlobal(JNIEnv *_env, jobject _this, jlong con, jlong closureID, jlong fieldID, jlong value, jint size) argument
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DHttpHeaderParserTest.java217 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { argument
218 long diff = Math.abs(expected - value);
254 // Empty value
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp732 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 DslesTestDecodeAac.cpp122 static const int kEosBufferCntxt = 1980; // a magic value we can compare against
671 // This is for test / demonstration purposes only where we discover the key and value sizes
681 SLMetadataInfo *keyInfo, *value; local
684 value = NULL; valueSize = 0;
H A DslesTestDecodeToBuffQueue.cpp347 // 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 DSpecification.cpp250 string value = scanner->getValue(); local
251 size_t pComma = value.find(", ");
253 mDeprecatedMessage = value.substr(pComma + 2);
254 value.erase(pComma);
256 sscanf(value.c_str(), "%i", &mDeprecatedApiLevel);
351 if (scanner->findTag("value:")) {
395 while (scanner->findOptionalTag("value:")) {
503 const string value = scanner->getValue(); local
504 if (value == "scalar" || value
[all...]
H A DUtilities.cpp153 // Add the value to the stream, prefixed with a ", " if needed.
154 static void addCommaSeparated(const string& value, ostringstream* stream, bool* needComma) { argument
155 if (value.empty()) {
161 *stream << value; local
/frameworks/rs/cpp/
H A DType.cpp130 void Type::Builder::setX(uint32_t value) { argument
131 if(value < 1) {
134 mDimX = value;
137 void Type::Builder::setY(uint32_t value) { argument
138 if(value < 1) {
141 mDimY = value;
144 void Type::Builder::setZ(uint32_t value) { argument
145 if(value < 1) {
148 mDimZ = value;
165 void Type::Builder::setMipmaps(bool value) { argument
169 setFaces(bool value) argument
[all...]
/frameworks/rs/cpp/util/
H A DTypeHelpers.h33 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_ctor::__anon1537
34 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_dtor::__anon1538
35 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_copy::__anon1539
36 template <typename T> struct trait_trivial_move { enum { value = false }; }; enumerator in enum:android::RSC::trait_trivial_move::__anon1540
37 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::RSC::trait_pointer::__anon1541
38 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::RSC::trait_pointer::__anon1542
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::__anon1545
253 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::RSC::trait_trivial_dtor::__anon1546
256 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::RSC::trait_trivial_copy::__anon1547
259 { enum { value = aggregate_traits<K,V>::has_trivial_move }; }; enumerator in enum:android::RSC::trait_trivial_move::__anon1548
294 hash_type(T* const & value) argument
[all...]

Completed in 1323 milliseconds

1234567891011>>