/frameworks/av/services/audioflinger/ |
H A D | FastMixerState.cpp | 71 char value[PROPERTY_VALUE_MAX]; local 72 if (property_get("ro.audio.max_fast_tracks", value, NULL) > 0) { 74 unsigned long ul = strtoul(value, &endptr, 0);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | Marshaler.java | 69 * Marshal the specified object instance (value) into a byte buffer. 72 * the {@link #calculateMarshalSize marshal size} of {@code value}.</p> 74 * @param value the value of type T that we wish to write into the byte buffer 77 public abstract void marshal(T value, ByteBuffer buffer); argument 80 * Get the size in bytes for how much space would be required to write this {@code value} 84 * then this method will always return the same value (and particularly, it will return 85 * an equivalent value to {@link #getNativeSize()}.</p> 89 * @param value the value o 92 calculateMarshalSize(T value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableBlackLevelPattern.java | 41 public void marshal(BlackLevelPattern value, ByteBuffer buffer) { argument 44 buffer.putInt(value.getOffsetForIndex(j, i));
|
H A D | MarshalQueryableBoolean.java | 38 public void marshal(Boolean value, ByteBuffer buffer) { argument 39 boolean unboxValue = value;
|
H A D | MarshalQueryableColorSpaceTransform.java | 45 public void marshal(ColorSpaceTransform value, ByteBuffer buffer) { argument 47 value.copyElements(transformAsArray, /*offset*/0);
|
H A D | MarshalQueryableHighSpeedVideoConfiguration.java | 47 public void marshal(HighSpeedVideoConfiguration value, ByteBuffer buffer) { argument 48 buffer.putInt(value.getWidth()); 49 buffer.putInt(value.getHeight()); 50 buffer.putInt(value.getFpsMin()); 51 buffer.putInt(value.getFpsMax()); 52 buffer.putInt(value.getBatchSizeMax());
|
H A D | MarshalQueryableMeteringRectangle.java | 42 public void marshal(MeteringRectangle value, ByteBuffer buffer) { argument 43 int xMin = value.getX(); 44 int yMin = value.getY(); 45 int xMax = xMin + value.getWidth(); 46 int yMax = yMin + value.getHeight(); 47 int weight = value.getMeteringWeight();
|
H A D | MarshalQueryableNativeByteToInteger.java | 41 public void marshal(Integer value, ByteBuffer buffer) { argument 42 buffer.put((byte)(int)value); // truncate down to byte
|
H A D | MarshalQueryableRect.java | 41 public void marshal(Rect value, ByteBuffer buffer) { argument 42 buffer.putInt(value.left); 43 buffer.putInt(value.top); 44 buffer.putInt(value.width()); 45 buffer.putInt(value.height());
|
H A D | MarshalQueryableReprocessFormatsMap.java | 44 public void marshal(ReprocessFormatsMap value, ByteBuffer buffer) { argument 54 int[] inputs = StreamConfigurationMap.imageFormatToInternal(value.getInputs()); 60 StreamConfigurationMap.imageFormatToInternal(value.getOutputs(input)); 94 public int calculateMarshalSize(ReprocessFormatsMap value) { argument 106 int[] inputs = value.getInputs(); 112 int[] outputs = value.getOutputs(input);
|
H A D | MarshalQueryableRggbChannelVector.java | 41 public void marshal(RggbChannelVector value, ByteBuffer buffer) { argument 43 buffer.putFloat(value.getComponent(i));
|
H A D | MarshalQueryableSize.java | 40 public void marshal(Size value, ByteBuffer buffer) { argument 41 buffer.putInt(value.getWidth()); 42 buffer.putInt(value.getHeight());
|
H A D | MarshalQueryableSizeF.java | 42 public void marshal(SizeF value, ByteBuffer buffer) { argument 43 buffer.putFloat(value.getWidth()); 44 buffer.putFloat(value.getHeight());
|
H A D | MarshalQueryableStreamConfiguration.java | 45 public void marshal(StreamConfiguration value, ByteBuffer buffer) { argument 46 buffer.putInt(value.getFormat()); 47 buffer.putInt(value.getWidth()); 48 buffer.putInt(value.getHeight()); 49 buffer.putInt(value.isInput() ? 1 : 0);
|
H A D | MarshalQueryableStreamConfigurationDuration.java | 54 public void marshal(StreamConfigurationDuration value, ByteBuffer buffer) { argument 55 buffer.putLong(value.getFormat() & MASK_UNSIGNED_INT); // unsigned int -> long 56 buffer.putLong(value.getWidth()); 57 buffer.putLong(value.getHeight()); 58 buffer.putLong(value.getDuration());
|
/frameworks/base/core/java/android/text/ |
H A D | Annotation.java | 22 * Annotations are simple key-value pairs that are preserved across 30 public Annotation(String key, String value) { argument 32 mValue = value;
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 92 Object value = declaredMethod 94 match |= (value != null ? 95 value.toString() : "null").matches(pair[1]); 153 String value; 155 value = String.format("%.2f", result); 157 value = String.format("%.1f", result); 159 value = String.format("%.0f", result); 161 value = String.format("%.0f", result); 163 pw.print(value); 194 String value; 215 valueToString(Class<?> clazz, String prefix, int value) argument [all...] |
H A D | LongArray.java | 53 * Appends the specified value to the end of this array. 55 public void add(long value) { argument 56 add(mSize, value); 60 * Inserts a value at the specified position in this array. 64 public void add(int index, long value) { argument 75 mValues[index] = value; 126 * Returns the value at the specified position in this array. 136 * Returns the index of the first occurrence of the specified value in this 137 * array, or -1 if this array does not contain the value. 139 public int indexOf(long value) { argument [all...] |
H A D | Property.java | 20 * A property is an abstraction that can be used to represent a <emb>mutable</em> value that is held 38 * optional public <code>setName()</code> method which takes a value of the same type 41 * optional public <code>setName()</code> method which takes a value of the same type 67 * Returns true if the {@link #set(Object, Object)} method does not set the value on the target 70 * allows querying the underlying value but not setting it. For example, the {@link #of(Class, 80 * Sets the value on <code>object</code> which this property represents. If the method is unable 81 * to set the value on the target object it will throw an {@link UnsupportedOperationException} 84 public void set(T object, V value) { argument 89 * Returns the current value that this property represents on the given <code>object</code>.
|
H A D | Range.java | 100 * Checks if the {@code value} is within the bounds of this range. 102 * <p>A value is considered to be within this range if it's {@code >=} 106 * @param value a non-{@code null} {@code T} reference 107 * @return {@code true} if the value is within this inclusive range, {@code false} otherwise 109 * @throws NullPointerException if {@code value} was {@code null} 111 public boolean contains(T value) { argument 112 checkNotNull(value, "value must not be null"); 114 boolean gteLower = value.compareTo(mLower) >= 0; 115 boolean lteUpper = value 173 clamp(T value) argument 333 extend(T value) argument [all...] |
H A D | ReflectiveProperty.java | 115 public void set(T object, V value) { argument 118 mSetter.invoke(object, value); 126 mField.set(object, value);
|
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarManifestReader.java | 46 private String value; field in class:StrictJarManifestReader 53 main.put(name, value); 64 String entryNameValue = value; 72 entry.put(name, value); 125 throw new IOException(String.format("Invalid value for attribute '%s'", nameString)); 182 value = valueBuffer.toString(StandardCharsets.UTF_8.name());
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 66 public static void action(Context context, int category, int value) { argument 67 action(context, category, Integer.toString(value)); 70 public static void action(Context context, int category, boolean value) { argument 71 action(context, category, Boolean.toString(value)); 81 /** Add an integer value to the monotonically increasing counter with the given name. */ 82 public static void count(Context context, String name, int value) { argument 83 EventLogTags.writeSysuiCount(name, value);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | Stencil.cpp | 103 void Stencil::enableDebugTest(GLint value, bool greater) { argument 105 glStencilFunc(greater ? GL_LESS : GL_EQUAL, value, 0xffffffff);
|
/frameworks/base/libs/hwui/utils/ |
H A D | Pair.h | 47 { enum { value = aggregate_traits<F, S>::has_trivial_ctor }; }; enumerator in enum:android::trait_trivial_ctor::__anon1073 50 { enum { value = aggregate_traits<F, S>::has_trivial_dtor }; }; enumerator in enum:android::trait_trivial_dtor::__anon1074 53 { enum { value = aggregate_traits<F, S>::has_trivial_copy }; }; enumerator in enum:android::trait_trivial_copy::__anon1075 56 { enum { value = aggregate_traits<F, S>::has_trivial_move }; }; enumerator in enum:android::trait_trivial_move::__anon1076
|