/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument 128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues 59 // deletes all the "value" components and clears the container. Does nothing 71 // If the key is present a const pointer to the associated value is returned, 123 // If the key is present a const pointer to the associated value is returned, 126 // to a NULL value. 145 // Insert a new key and value into a map or hash_map. 146 // If the key is not present in the map the key and value are 151 const Key& key, const Value& value) { 153 collection->insert(typename Collection::value_type(key, value)); 150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 30 int value; member in union:__anon1107 42 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument 44 ((BrightnessParameters*)user_data)->brightness = atof(value); 84 pixel.value = *(input_ptr++);
|
H A D | contrast.c | 37 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument 39 ((ContrastParameters*)user_data)->contrast = atof(value);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Preconditions.java | 34 * Checks that the value has the expected bitwise flags set. 54 * Checks that the value is {@link Object#equals equal} to the expected value. 58 * @param expectedName Name of the expected value 59 * @param expectedValue Expected value 77 * Checks that the value is not {@code null}. 80 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 98 * Checks that the value i 142 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument 171 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument [all...] |
/frameworks/base/native/android/ |
H A D | native_window.cpp | 44 int value; local 45 int res = window->query(window, what, &value); 46 return res < 0 ? res : value;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMAScalar.java | 12 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 14 this(parent, name, context, value, buildAttributes(avps)); 17 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 20 mValue = value; 58 public OMANode addChild(String name, String context, String value, String path) argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | MDnsUtils.java | 32 public static String getString(byte[] value) { argument 33 if (value != null) return new String(value,StandardCharsets.UTF_8); 62 for (String value : vendorValues) { 63 if (containsString(container, value) 64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
H A D | MDnsUtils.java | 32 public static String getString(byte[] value) { argument 33 if (value != null) return new String(value,StandardCharsets.UTF_8); 62 for (String value : vendorValues) { 63 if (containsString(container, value) 64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | MDnsUtils.java | 76 for (String value : vendorValues) { 77 if (containsString(container, value) 78 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 79 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US))) 85 private static String getString(byte[] value) { argument 86 if (value != null) return new String(value, StandardCharsets.UTF_8);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SecureSetting.java | 38 protected abstract void handleValueChanged(int value, boolean observedChange); argument 51 public void setValue(int value) { argument 52 Secure.putIntForUser(mContext.getContentResolver(), mSettingName, value, mUserId); 71 final int value = getValue(); 72 handleValueChanged(value, value != mObservedValue); 73 mObservedValue = value;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskKeyLruCache.java | 27 * A mapping of {@link Task.TaskKey} to value, with additional LRU functionality where the least 66 * value is valid or not. 73 * Returns the value only if the key is valid (has not been updated since the last time it was 93 final void put(Task.TaskKey key, V value) { argument 94 if (key == null || value == null) { 95 Log.e(TAG, "Unexpected null key or value: " + key + ", " + value); 99 mCache.put(key.id, value); 104 // Remove the key after the cache value because we need it to make the callback
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | BatteryPreference.java | 83 protected boolean persistString(String value) { argument 84 final boolean v = PERCENT.equals(value); 87 if (DISABLED.equals(value)) {
|
H A D | ClockPreference.java | 83 protected boolean persistString(String value) { argument 84 TunerService.get(getContext()).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 : 0); 85 if (DISABLED.equals(value)) {
|
H A D | DemoModeFragment.java | 198 private void setGlobal(String key, int value) { argument 199 Settings.Global.putInt(getContext().getContentResolver(), key, value);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Double2.java | 59 * @param value 61 public void add(Double2 value) { argument 62 x += value.x; 63 y += value.y; 69 * @param value 71 public void add(double value) { argument 72 x += value; 73 y += value; 94 * @param value 96 public void sub(Double2 value) { argument 121 sub(double value) argument 146 mul(Double2 value) argument 171 mul(double value) argument 196 div(Double2 value) argument 221 div(double value) argument 332 setAt(int i, double value) argument 351 addAt(int i, double value) argument [all...] |
H A D | Double3.java | 62 * @param value 64 public void add(Double3 value) { argument 65 x += value.x; 66 y += value.y; 67 z += value.z; 73 * @param value 75 public void add(double value) { argument 76 x += value; 77 y += value; 78 z += value; 102 sub(Double3 value) argument 129 sub(double value) argument 156 mul(Double3 value) argument 183 mul(double value) argument 210 div(Double3 value) argument 237 div(double value) argument 355 setAt(int i, double value) argument 377 addAt(int i, double value) argument [all...] |
H A D | Float2.java | 58 * @param value 60 public void add(Float2 value) { argument 61 x += value.x; 62 y += value.y; 68 * @param value 70 public void add(float value) { argument 71 x += value; 72 y += value; 93 * @param value 95 public void sub(Float2 value) { argument 120 sub(float value) argument 145 mul(Float2 value) argument 170 mul(float value) argument 195 div(Float2 value) argument 220 div(float value) argument 331 setAt(int i, float value) argument 350 addAt(int i, float value) argument [all...] |
H A D | Float3.java | 62 * @param value 64 public void add(Float3 value) { argument 65 x += value.x; 66 y += value.y; 67 z += value.z; 73 * @param value 75 public void add(float value) { argument 76 x += value; 77 y += value; 78 z += value; 102 sub(Float3 value) argument 129 sub(float value) argument 156 mul(Float3 value) argument 183 mul(float value) argument 210 div(Float3 value) argument 237 div(float value) argument 355 setAt(int i, float value) argument 377 addAt(int i, float value) argument [all...] |
H A D | ScriptIntrinsicLUT.java | 22 * tables are 256 entries in size and can cover the full value 60 private void validate(int index, int value) { argument 64 if (value < 0 || value > 255) { 73 * @param value Must be 0-255 75 public void setRed(int index, int value) { argument 76 validate(index, value); 77 mCache[index] = (byte)value; 85 * @param value Must be 0-255 87 public void setGreen(int index, int value) { argument 99 setBlue(int index, int value) argument 111 setAlpha(int index, int value) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayTransformManager.java | 77 final float[] value = mColorMatrix.get(key); 78 return value == null ? null : Arrays.copyOf(value, value.length); 89 * @param value the 4x4 color transform matrix (in column-major order), or {@code null} to 92 public void setColorMatrix(int level, float[] value) { argument 93 if (value != null && value.length != 16) { 95 + ", actual length: " + value.length); 100 if (!Arrays.equals(oldValue, value)) { [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CertBlacklisterTest.java | 45 private void overrideSettings(String key, String value) throws Exception { argument 46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | sobeloperator.cpp | 93 double value = sqrt(gx * gx + gy * gy); local 94 *(magPtr + 4 * i + c) = static_cast<unsigned char>(value);
|
/frameworks/base/tools/aapt/ |
H A D | AaptXml.cpp | 28 Res_value value; local 29 if (tree.getAttributeValue(attrIndex, &value) < 0) { 36 if (value.dataType != Res_value::TYPE_STRING) { 38 *outError = "attribute is not a string value"; 50 Res_value value; local 51 if (tree.getAttributeValue(attrIndex, &value) < 0) { 58 if (value.dataType < Res_value::TYPE_FIRST_INT 59 || value.dataType > Res_value::TYPE_LAST_INT) { 61 *outError = "attribute is not an integer value"; 65 return value 102 Res_value value; local 147 Res_value value; local [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Diagnostics.h | 54 DiagMessage& operator<<(const T& value) { argument 55 mMessage << value; local
|