/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 58 public final String units; field in Formatter.BytesResult 66 public BytesResult(String value, String units, String unitsContentDescription, in BytesResult() argument 69 this.units = units; in BytesResult() 158 float value, MeasureUnit units) { in formatMeasureShort() argument 161 return measureFormatter.format(new Measure(value, units)); in formatMeasureShort() 171 if (input.units == MeasureUnit.BYTE) { in formatRoundedBytesResult() 177 return formatMeasureShort(locale, numberFormatter, input.value, input.units); in formatRoundedBytesResult() 184 public final MeasureUnit units; field in Formatter.RoundedBytesResult 189 float value, MeasureUnit units, int fractionDigits, long roundedBytes) { in RoundedBytesResult() argument 191 this.units = units; in RoundedBytesResult() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.cpp | 68 type = typeResult->second.units; in processElement() 82 resourceName = categoryResult->second.units; in processElement() 98 SkASSERT(sizeResult->second.units == typeResult->second.units); in processElement() 117 const char* units, uint64_t value) { in dumpNumericValue() argument 122 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue() 142 traceValue.value, traceValue.units.c_str(), traceValue.count, in logOutput() 151 traceValue.value, traceValue.units.c_str(), traceValue.count, in logOutput() 160 if ("bytes" == mTotalSize.units) { in total() 170 total.value, total.units.c_str(), purgeable.value, purgeable.units.c_str()); in logTotals() 175 if ("bytes" == output.units && output.value >= 1024) { in convertUnits() [all …]
|
D | SkiaMemoryTracer.h | 43 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units, 61 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() 62 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() 64 std::string units; member
|
D | ATraceMemoryDump.cpp | 67 const char* units, uint64_t value) { in dumpNumericValue() argument 68 if (!strcmp(units, "bytes")) { in dumpNumericValue()
|
D | ATraceMemoryDump.h | 36 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
|
/frameworks/native/libs/renderengine/skia/debug/ |
D | SkiaMemoryReporter.cpp | 95 ALOGE_IF(sizeResult->second.units != totalResult->second.units, in processCurrentElement() 112 const char* units, uint64_t value) { in dumpNumericValue() argument 117 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue() 144 traceValue.value, traceValue.units.c_str(), traceValue.count, entry); in logOutput() 155 size.value, size.units.c_str()); in logOutput() 164 traceValue.units.c_str()); in logOutput() 167 traceValue.value, traceValue.units.c_str()); in logOutput() 186 total.value, total.units.c_str(), purgeable.value, purgeable.units.c_str()); in logTotals() 191 if (SkString("bytes") == output.units && output.value >= 1024) { in convertUnits() 193 output.units = "KB"; in convertUnits() [all …]
|
D | SkiaMemoryReporter.h | 57 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units, 76 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() 77 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() 79 SkString units; member
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 662 @ComplexDimensionUnit int units) { in createComplexDimension() argument 663 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension() 664 throw new IllegalArgumentException("Must be a valid COMPLEX_UNIT_*: " + units); in createComplexDimension() 666 return intToComplex(value) | units; in createComplexDimension() 683 @ComplexDimensionUnit int units) { in createComplexDimension() argument 684 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension() 685 throw new IllegalArgumentException("Must be a valid COMPLEX_UNIT_*: " + units); in createComplexDimension() 687 return floatToComplex(value) | units; in createComplexDimension()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 45 void computeCurrentVelocity(int32_t units, float maxVelocity); 64 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() argument 65 mComputedVelocity = mVelocityTracker.getComputedVelocity(units, maxVelocity); in computeCurrentVelocity() 115 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument 117 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 204 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity() argument 378 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument 379 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity() 397 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument 398 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity()
|
/frameworks/native/cmds/bugreportz/ |
D | readme.md | 12 progress units out of a max of `<total>`).
|
/frameworks/base/core/proto/ |
D | README.md | 38 1. Include units in the field names. For example, `screen_time_ms` vs
|
/frameworks/proto_logging/stats/atoms/nfc/ |
D | nfc_extension_atoms.proto | 60 optional int32 field_strength = 2; // units are undefined and will vary by vendor
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10.spec | 78 void glPolygonOffset ( GLfloat factor, GLfloat units ) 79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
|
D | GLES11Ext.spec | 44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 778 float units in glPolygonOffset() argument 783 int units in glPolygonOffsetx() argument
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0 | 78 void glPolygonOffset ( GLfloat factor, GLfloat units ) 79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl_api.in | 91 void API_ENTRY(glPolygonOffset)(GLfloat factor, GLfloat units) { 92 CALL_GL_API(glPolygonOffset, factor, units); 352 void API_ENTRY(glPolygonOffsetx)(GLfixed factor, GLfixed units) { 353 CALL_GL_API(glPolygonOffsetx, factor, units);
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10.java | 1019 float units in glPolygonOffset() argument 1026 int units in glPolygonOffsetx() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
D | ZoneGetter.java | 290 final int units = input % 10; in formatDigits() local 295 builder.append(localizedDigits.charAt(units)); in formatDigits()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 1525 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument 1526 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity() 1529 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument 1551 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity() 1556 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 111 ComputedVelocity getComputedVelocity(int32_t units, float maxVelocity);
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | gl.h | 550 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 551 GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 3380 TextViewSizeAction(@IdRes int viewId, @ComplexDimensionUnit int units, float size) { 3382 this.mUnits = units; 3479 @ComplexDimensionUnit int units) { 3483 this.mValue = TypedValue.createComplexDimension(value, units); 3839 @IdRes int viewId, float radius, @ComplexDimensionUnit int units) { 3842 this.mValue = TypedValue.createComplexDimension(radius, units); 4672 public void setTextViewTextSize(@IdRes int viewId, int units, float size) { 4673 addAction(new TextViewSizeAction(viewId, units, size)); 5253 @ComplexDimensionUnit int units) { 5254 addAction(new LayoutParamAction(viewId, type, value, units)); [all …]
|
/frameworks/proto_logging/stats/atoms/input/ |
D | input_atoms.proto | 62 * in the kernel and inputflinger. The units are microseconds. 176 * The units are "hundreds of microseconds", or 0.1 ms. They are chosen like this in order
|