/frameworks/base/core/java/com/android/internal/os/ |
H A D | PowerProfile.java | 148 private static final String TAG_ARRAYITEM = "value"; 189 double value = 0; 191 value = Double.valueOf(power); 195 sPowerMap.put(name, value); 197 array.add(value); 274 Object value = sPowerMap.get(POWER_CPU_SPEEDS); 275 if (value != null && value instanceof Double[]) { 276 return ((Double[])value).length;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 120 * Checks that value is present as at least one of the elements of the array. 122 * @param value the value to check for 123 * @return true if the value is present in the array 125 public static <T> boolean contains(T[] array, T value) { argument 128 if (value == null) return true; 130 if (value != null && element.equals(value)) return true; 136 public static boolean contains(int[] array, int value) { argument 138 if (element == value) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DrawableHolder.java | 61 * Adds an animation that interpolates given property from its current value 62 * to the given value. 67 * @param toValue the target value 158 public void setX(float value) { argument 159 mX = value; 162 public void setY(float value) { argument 163 mY = value; 166 public void setScaleX(float value) { argument 167 mScaleX = value; 170 public void setScaleY(float value) { argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 71 * A bridge-specific method that sets a value in the type array 72 * @param index the index of the value in the TypedArray 75 * @param value the value of the attribute 77 public void bridgeSetValue(int index, String name, boolean isFramework, ResourceValue value) { argument 78 mResourceData[index] = value; 87 * {@link #getIndexCount()} to return the proper value. 129 * Retrieve the styled string value for the attribute at <var>index</var>. 151 * Retrieve the string value for the attribute at <var>index</var>. 172 * Retrieve the boolean value fo [all...] |
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFHeader.hxx | 35 #define PRINT_LINT(title, value) \ 36 out() << format(" %-32s : ", (char const *)(title)) << (value) << '\n'
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | AwaitableErrorListener.java | 40 public void setOnErrorReturnValue(boolean value) { argument 41 mOnErrorReturnValue = value;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | ILearning_StochasticLinearRanker.aidl | 33 boolean SetModelParameter(in String key, in String value);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.h | 52 // setBlob attempts to insert a new key/value blob pair into the cache. 55 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, 58 // getBlob attempts to retrieve the value blob associated with a given key 62 void* value, EGLsizeiANDROID valueSize); 78 // key/value blob pairs. If the BlobCache object has not yet been created, 99 // mBlobCache is the cache in which the key/value blob pairs are stored. It 112 // pending. Each time a key/value pair is inserted into the cache via
|
/frameworks/rs/ |
H A D | rsDevice.cpp | 53 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument 56 d->mForceSW = value != 0;
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsDevice.cpp | 53 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument 56 d->mForceSW = value != 0;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | statistics.h | 28 void Add(float value); 34 float Pdf(float value) const;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 66 zero-pad the value to that number of characters. 221 String value = Settings.System.getString(context.getContentResolver(), 224 if (value == null) { 242 value = "24"; 244 value = "12"; 247 value = "12"; 252 sIs24Hour = value.equals("24"); 258 return value.equals("24"); 288 String value = Settings.System.getString(context.getContentResolver(), 291 return getDateFormatForSetting(context, value); 303 getDateFormatForSetting(Context context, String value) argument 310 getDateFormatStringForSetting(Context context, String value) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmInfo.cpp | 44 status_t DrmInfo::put(const String8& key, const String8& value) { argument 45 mAttributes.add(key, value); 107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); local 109 return value;
|
H A D | DrmInfoRequest.cpp | 41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { argument 42 mRequestInformationMap.add(key, value); 102 String8& value = mDrmInfoRequest->mRequestInformationMap.editValueAt(mIndex); local 104 return value;
|
/frameworks/base/core/java/android/annotation/ |
H A D | SdkConstant.java | 25 * Indicates a constant field value should be exported to be used in the SDK tools. 35 SdkConstantType value(); method in interface:SdkConstant
|
H A D | TargetApi.java | 34 int value(); method in interface:TargetApi
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | AndroidHandler.java | 161 int value = level.intValue(); 162 if (value >= 1000) { // SEVERE 164 } else if (value >= 900) { // WARNING 166 } else if (value >= 800) { // INFO
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentQueryMapTest.java | 74 String value = v.getAsString(Settings.System.VALUE); 75 assertEquals("Value", value); 82 String value = v.getAsString(Settings.System.VALUE); 83 assertEquals("New Value", value);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListLogBuffer.h | 35 void writeInt(int value);
|
H A D | Stencil.h | 38 * Returns the desired size for the stencil buffer. If the returned value 56 * test always succeeds and the value 0x1 is written in the stencil 62 * The test passes only when equal to the specified value. 64 void enableDebugTest(GLint value, bool greater = false);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.h | 22 bool match(int axis, uint32_t value) const;
|
/frameworks/compile/linkloader/lib/ |
H A D | ELFTypes.cpp | 25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 130 int value = 0; 132 value = (value << 8) | (bytes[offset] & 0xFF); 135 return value;
|
/frameworks/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 80 EGLint value; local 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 130 int value = 0; 132 value = (value << 8) | (bytes[offset] & 0xFF); 135 return value;
|