/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
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/preference/ |
H A D | PreferenceDataStore.java | 46 * Set a String value to the data store. 48 * <p>Once the value is set the data store is responsible for holding it. 51 * @param value The new value for the preference. 54 default void putString(String key, @Nullable String value) { argument 59 * Set a set of String value to the data store. 61 * <p>Once the value is set the data store is responsible for holding it. 72 * Set an int value to the data store. 74 * <p>Once the value is set the data store is responsible for holding it. 77 * @param value Th 80 putInt(String key, int value) argument 93 putLong(String key, long value) argument 106 putFloat(String key, float value) argument 119 putBoolean(String key, boolean value) argument [all...] |
/frameworks/base/core/java/android/service/autofill/ |
H A D | TextValueSanitizer.java | 55 * are used to substitute parts of the {@link AutofillValue#getTextValue() text value}. 68 public AutofillValue sanitize(@NonNull AutofillValue value) { argument 69 if (value == null) { 70 Slog.w(TAG, "sanitize() called with null value"); 73 if (!value.isText()) { 74 if (sDebug) Slog.d(TAG, "sanitize() called with non-text value: " + value); 78 final CharSequence text = value.getTextValue(); 83 if (sDebug) Slog.d(TAG, "sanitize(): " + mRegex + " failed for " + value);
|
/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 | 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/android/view/textclassifier/ |
H A D | TextClassificationSessionId.java | 46 * @param value The internal value. 50 public TextClassificationSessionId(@NonNull String value) { argument 51 mValue = value;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | BenchmarkHelpers.cpp | 42 Res_value value; local 48 ssize_t block = table.getResource(resid, &value, false /*may_be_bag*/, 0u /*density*/, &flags, 50 table.resolveReference(&value, block, &last_ref, &flags, &selected_config); 74 Res_value value; local 81 resid, false /* may_be_bag */, 0u /* density_override */, &value, &selected_config, &flags); 82 assetmanager.ResolveReference(cookie, &value, &selected_config, &flags, &last_id);
|
H A D | Theme_bench.cpp | 73 Res_value value; local 77 theme->GetAttribute(kAttrId, &value, &flags); 90 Res_value value; local 94 theme->getAttribute(kAttrId, &value, &flags);
|
H A D | Theme_test.cpp | 69 Res_value value; local 71 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); 81 Res_value value; local 85 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); 87 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 88 EXPECT_EQ(1u, value.data); 91 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); 93 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType); 94 EXPECT_EQ(2u, value.data); 105 Res_value value; local 138 Res_value value; local 151 Res_value value; local 185 Res_value value; local 219 Res_value value; local 248 Res_value value; local 298 Res_value value; local [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaMemoryTracer.h | 41 uint64_t value) override; 43 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override { 45 dumpNumericValue(dumpName, valueName, value, 0); 58 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} argument 59 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} 62 float value; member in struct:android::uirenderer::skiapipeline::SkiaMemoryTracer::TraceValue 68 TraceValue convertUnits(const TraceValue& value); [all...] |
/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);
|