/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) { 762 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/testing/androidtestlib/src/com/android/test/runner/junit4/ |
H A D | AndroidJUnit4ClassRunner.java | 109 private void setFieldValue(Object test, Field field, Object value) { argument 111 field.set(test, value); 114 "Failed to inject value for field %s in class %s", field.getName(), 118 "Failed to inject value for field %s in class %s", field.getName(),
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 130 * {@link UiDevice#getDisplaySizeDp()} instead. This value is the same 681 private static float getDegreesForRotation(int value) { argument 682 switch (value) {
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 88 native void nDeviceSetConfig(int dev, int param, int value); argument 618 * RenderScript worker threads priority enumeration. The default value is
|
H A D | ScriptIntrinsicLUT.java | 24 * tables are 256 entries in size and can cover the full value 62 private void validate(int index, int value) { argument 66 if (value < 0 || value > 255) { 75 * @param value Must be 0-255 77 public void setRed(int index, int value) { argument 78 validate(index, value); 79 mCache[index] = (byte)value; 87 * @param value Must be 0-255 89 public void setGreen(int index, int value) { argument 101 setBlue(int index, int value) argument 113 setAlpha(int index, int value) argument [all...] |
H A D | Type.java | 30 * any positive integral value within the constraints of available memory. A 77 * Return the value of the X dimension. 86 * Return the value of the Y dimension or 0 for a 1D allocation. 95 * Return the value of the Z dimension or 0 for a 1D or 2D allocation. 202 * @param value 204 public Builder setX(int value) { argument 205 if(value < 1) { 208 mDimX = value; 212 public Builder setY(int value) { argument 213 if(value < 220 setMipmaps(boolean value) argument 225 setFaces(boolean value) argument [all...] |
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 139 nDeviceSetConfig(JNIEnv *_env, jobject _this, jint dev, jint p, jint value) argument 141 LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value); 142 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdRuntimeMath.cpp | 124 static float SC_sign_f32(float value) { argument 125 if (value > 0) return 1.f; 126 if (value < 0) return -1.f; 127 return value; 265 // The android cas return 0 if it wrote the value. This means the 266 // previous value was the expected value and we can return. 269 // We didn't write the value and need to load the "previous" value. 272 // A race condition exists where the expected value coul 288 SC_AtomicAdd(volatile int32_t *ptr, int32_t value) argument 292 SC_AtomicSub(volatile int32_t *ptr, int32_t value) argument 301 SC_AtomicAnd(volatile int32_t *ptr, int32_t value) argument 305 SC_AtomicOr(volatile int32_t *ptr, int32_t value) argument 309 SC_AtomicXor(volatile int32_t *ptr, int32_t value) argument 318 SC_AtomicUMin(volatile uint32_t *ptr, uint32_t value) argument 328 SC_AtomicMin(volatile int32_t *ptr, int32_t value) argument 338 SC_AtomicUMax(volatile uint32_t *ptr, uint32_t value) argument 348 SC_AtomicMax(volatile int32_t *ptr, int32_t value) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAdapter.cpp | 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { argument 73 a->setY(value); 76 a->setZ(value); 79 a->setLOD(value); 82 a->setFace((RsAllocationCubemapFace)value); 140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { argument 150 a->setZ(value); 153 a->setLOD(value); 156 a->setFace((RsAllocationCubemapFace)value);
|
H A D | rsDevice.cpp | 53 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument 56 d->mForceSW = value != 0;
|
H A D | rsScript.cpp | 190 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { argument 192 s->setVar(slot, &value, sizeof(value)); 195 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { argument 197 ObjectBase *o = static_cast<ObjectBase *>(value); 201 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) { argument 203 s->setVar(slot, &value, sizeof(value)); 206 void rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) { argument 208 s->setVar(slot, &value, sizeo 211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument [all...] |
H A D | rsScriptC.cpp | 166 const char * value = mHal.info.exportedPragmaValueList[i]; local 169 if (!strcmp(value, "1")) { 172 ALOGE("Invalid version pragma value: %s\n", value);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 38 * @deprecated Use {@link NotificationCompat.Builder#setPriority(int)} with a positive value. 45 * use this value for all notifications. 429 * Set the argb value that you would like the LED on the device to blnk, as well as the 482 * The value should be one or more of the following fields combined with 497 private void setFlag(int mask, boolean value) { argument 498 if (value) { 624 * This defaults to the value passed to setContentTitle(). 678 * This defaults to the value passed to setContentTitle(). 736 * This defaults to the value passed to setContentTitle().
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 149 * Adds a mapping from the specified key to the specified value, 153 public void put(long key, E value) { argument 157 mValues[i] = value; 163 mValues[i] = value; 195 mValues[i] = value; 201 * Returns the number of key-value mappings that this LongSparseArray 214 * the key from the <code>index</code>th key-value mapping that this 227 * the value from the <code>index</code>th key-value mapping that this 241 * value fo 244 setValueAt(int index, E value) argument 273 indexOfValue(E value) argument 304 append(long key, E value) argument [all...] |
H A D | LruCache.java | 56 * Returns the value for {@code key} if it exists in the cache or can be 57 * created by {@code #create}. If a value was returned, it is moved to the 58 * head of the queue. This returns null if a value is not cached and cannot 77 * Attempt to create a value. This may take a long time, and the map 78 * may be different when create() returns. If a conflicting value was 79 * added to the map while create() was working, we leave that value in 80 * the map and release the created value. 110 * Caches {@code value} for {@code key}. The value is moved to the head of 113 * @return the previous value mappe 115 put(K key, V value) argument 232 safeSizeOf(K key, V value) argument 247 sizeOf(K key, V value) argument [all...] |
H A D | SparseArrayCompat.java | 141 * Adds a mapping from the specified key to the specified value, 145 public void put(int key, E value) { argument 149 mValues[i] = value; 155 mValues[i] = value; 187 mValues[i] = value; 193 * Returns the number of key-value mappings that this SparseArray 206 * the key from the <code>index</code>th key-value mapping that this 219 * the value from the <code>index</code>th key-value mapping that this 232 * value fo 235 setValueAt(int index, E value) argument 264 indexOfValue(E value) argument 295 append(int key, E value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 103 * is invoked. If the returned value is true, binding has occured. If the 104 * returned value is false and the view to bind is a TextView, 105 * {@link #setViewText(TextView, String)} is invoked. If the returned value is 183 * By default, the value will be treated as an image resource. If the 184 * value cannot be used as an image resource, the value is used as an 191 * @param value the value retrieved from the cursor 193 public void setViewImage(ImageView v, String value) { argument 195 v.setImageResource(Integer.parseInt(value)); [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 165 * The constant used to indicate that a value is undefined. 166 * Fields can use this value to indicate that their values 167 * have not yet been set. Similarly, methods can return this value 168 * to indicate that there is no suitable value that the implementation 170 * The value used for the constant (currently {@link Integer#MIN_VALUE}) is 187 * all return the same value when their {@link android.view.View#getTop()} 304 * The default value of this property is {@link #HORIZONTAL}. 321 * Returns the current number of rows. This is either the last value that was set 322 * with {@link #setRowCount(int)} or, if no such value was set, the maximum 323 * value o 629 fits(int[] a, int value, int start, int end) argument 641 procrusteanFill(int[] a, int start, int end, int value) argument 1973 public final MutableInt value; field in class:GridLayout.Arc 1976 Arc(Interval span, MutableInt value) argument 1990 public int value; field in class:GridLayout.MutableInt 1996 MutableInt(int value) argument 2023 put(K key, V value) argument [all...] |
/frameworks/support/volley/tests/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 148 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { argument 149 long diff = Math.abs(expected - value); 177 // Empty value
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardExporterTests.java | 770 // adr-value = 0*6(text-value ";") text-value 1042 private String getAndroidPropValue(final String mimeType, String value, Integer type) { argument 1043 return getAndroidPropValue(mimeType, value, type, null); 1046 private String getAndroidPropValue(final String mimeType, String value, argument 1048 return (mimeType + ";" + value + ";"
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContentValuesBuilder.java | 31 public ContentValuesBuilder put(String key, String value) { argument 32 mContentValues.put(key, value); 37 public ContentValuesBuilder put(String key, Byte value) { 38 mContentValues.put(key, value); 42 public ContentValuesBuilder put(String key, Short value) { 43 mContentValues.put(key, value); 47 public ContentValuesBuilder put(String key, Integer value) { argument 48 mContentValues.put(key, value); 53 public ContentValuesBuilder put(String key, Long value) { 54 mContentValues.put(key, value); 73 put(String key, byte[] value) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Type.cpp | 109 void Type::Builder::setX(uint32_t value) { argument 110 if(value < 1) { 113 mDimX = value; 116 void Type::Builder::setY(int value) { argument 117 if(value < 1) { 120 mDimY = value; 123 void Type::Builder::setMipmaps(bool value) { argument 124 mDimMipmaps = value; 127 void Type::Builder::setFaces(bool value) { argument 128 mDimFaces = value; [all...] |
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 128 EGLint value = -1; local 129 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); 131 ALOGV(" %s: %d (0x%x)", names[j].name, value, value);
|