Searched refs:Value (Results 1 - 25 of 117) sorted by relevance

12345

/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h32 } Value; typedef in typeref:struct:__anon1073
34 // TODO: Probably should make these const Value*?
35 int GetIntValue(Value value);
36 float GetFloatValue(Value value);
37 const char* GetStringValue(Value value);
38 const char* GetBufferValue(Value value);
39 char* GetMutableBufferValue(Value value);
40 int* GetIntArrayValue(Value value);
41 float* GetFloatArrayValue(Value value);
43 // TODO: Probably should make these const Value*
[all...]
H A Dvalue.cpp34 POD GetPODValue(Value value) {
39 PTR GetPtrValue(Value value) {
44 Value MakePODValue(POD value) {
45 Value result;
54 Value MakePtrValue(const BASE* values, int count) {
55 Value result;
64 int SetPODValue(Value* value, POD new_value) {
78 int SetPtrValue(Value* value, const BASE* new_values, int count) {
92 int GetIntValue(Value value) {
96 float GetFloatValue(Value valu
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DDiffCallback.java35 * @param <Value> Type of items to compare.
37 public abstract class DiffCallback<Value> {
46 public abstract boolean areItemsTheSame(@NonNull Value oldItem, @NonNull Value newItem);
57 public abstract boolean areContentsTheSame(@NonNull Value oldItem, @NonNull Value newItem);
65 public Object getChangePayload(@NonNull Value oldItem, @NonNull Value newItem) {
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DSampler.java43 public enum Value { enum in class:Sampler
53 Value(int id) { method in class:Sampler.Value
58 Value mMin;
59 Value mMag;
60 Value mWrapS;
61 Value mWrapT;
62 Value mWrapR;
72 public Value getMinification() {
79 public Value getMagnification() {
86 public Value getWrap
[all...]
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
H A DLivePagedListProvider.java31 public abstract class LivePagedListProvider<Key, Value> extends DataSource.Factory<Key, Value> {
34 public DataSource<Key, Value> create() {
39 protected abstract DataSource<Key, Value> createDataSource();
H A DLivePagedListBuilder.java37 * @param <Value> Item type being presented.
39 public final class LivePagedListBuilder<Key, Value> {
42 private DataSource.Factory<Key, Value> mDataSourceFactory;
52 public LivePagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory,
79 public LivePagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory,
94 public LivePagedListBuilder<Key, Value> setInitialLoadKey(@Nullable Key key) {
121 public LivePagedListBuilder<Key, Value> setBoundaryCallback(
122 @Nullable PagedList.BoundaryCallback<Value> boundaryCallback) {
137 public LivePagedListBuilder<Key, Value> setFetchExecutor(
152 public LiveData<PagedList<Value>> buil
[all...]
/frameworks/support/room/compiler/src/test/data/common/input/
H A DDataSource.java20 public interface Factory<Key, Value> {
/frameworks/base/rs/java/android/renderscript/
H A DSampler.java30 public enum Value { enum in class:Sampler
40 Value(int id) { method in class:Sampler.Value
45 Value mMin;
46 Value mMag;
47 Value mWrapS;
48 Value mWrapT;
49 Value mWrapR;
60 public Value getMinification() {
67 public Value getMagnification() {
74 public Value getWrap
[all...]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/annotation/
H A DAnnotated3.java19 import com.android.multidexlegacytestapp.annotation.TestAnnotation3.Value;
21 @TestAnnotation3(Value.V1)
H A DTestAnnotation3.java24 public enum Value { enum in interface:TestAnnotation3
30 Value value();
/frameworks/native/include/binder/
H A DMap.h27 class Value;
30 * Convenience typedef for ::std::map<::std::string,::android::binder::Value>
32 typedef ::std::map<::std::string, Value> Map;
H A DValue.h56 class Value { class in namespace:android::binder
58 Value();
59 virtual ~Value();
61 Value& swap(Value &);
73 bool operator==(const Value& rhs) const;
74 bool operator!=(const Value& rhs) const { return !this->operator==(rhs); }
76 Value(const Value& value);
77 Value(cons
156 Value(const String8& value): Value(String16(value)) { } function in class:android::binder::Value
157 Value(const ::std::string& value): Value(String8(value.c_str())) { } function in class:android::binder::Value
[all...]
/frameworks/native/libs/binder/include/binder/
H A DMap.h27 class Value;
30 * Convenience typedef for ::std::map<::std::string,::android::binder::Value>
32 typedef ::std::map<::std::string, Value> Map;
H A DValue.h56 class Value { class in namespace:android::binder
58 Value();
59 virtual ~Value();
61 Value& swap(Value &);
73 bool operator==(const Value& rhs) const;
74 bool operator!=(const Value& rhs) const { return !this->operator==(rhs); }
76 Value(const Value& value);
77 Value(cons
156 Value(const String8& value): Value(String16(value)) { } function in class:android::binder::Value
157 Value(const ::std::string& value): Value(String8(value.c_str())) { } function in class:android::binder::Value
[all...]
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DContiguousDataSource.java24 abstract class ContiguousDataSource<Key, Value> extends DataSource<Key, Value> {
36 @NonNull PageResult.Receiver<Value> receiver);
40 @NonNull Value currentEndItem,
43 @NonNull PageResult.Receiver<Value> receiver);
47 @NonNull Value currentBeginItem,
50 @NonNull PageResult.Receiver<Value> receiver);
58 abstract Key getKey(int position, Value item);
H A DPageKeyedDataSource.java41 * @param <Key> Type of data used to query Value types out of the DataSource.
42 * @param <Value> Type of items being loaded by the DataSource.
44 public abstract class PageKeyedDataSource<Key, Value> extends ContiguousDataSource<Key, Value> {
160 * @param <Value> Type of items being loaded.
162 public abstract static class LoadInitialCallback<Key, Value> {
184 public abstract void onResult(@NonNull List<Value> data, int position, int totalCount,
202 public abstract void onResult(@NonNull List<Value> data, @Nullable Key previousPageKey,
217 * @param <Value> Type of items being loaded.
219 public abstract static class LoadCallback<Key, Value> {
[all...]
H A DItemKeyedDataSource.java40 * @param <Key> Type of data used to query Value types out of the DataSource.
41 * @param <Value> Type of items being loaded by the DataSource.
43 public abstract class ItemKeyedDataSource<Key, Value> extends ContiguousDataSource<Key, Value> {
48 * @param <Key> Type of data used to query Value types out of the DataSource.
88 * @param <Key> Type of data used to query Value types out of the DataSource.
128 * @param <Value> Type of items being loaded.
130 public abstract static class LoadInitialCallback<Value> extends LoadCallback<Value> {
152 public abstract void onResult(@NonNull List<Value> dat
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_sampler.java39 b.setMinification(Sampler.Value.NEAREST);
40 b.setMagnification(Sampler.Value.NEAREST);
41 b.setWrapS(Sampler.Value.CLAMP);
42 b.setWrapT(Sampler.Value.CLAMP);
49 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR);
53 b.setMagnification(Sampler.Value.LINEAR);
57 b.setWrapS(Sampler.Value.WRAP);
61 b.setWrapT(Sampler.Value.WRAP);
85 _RS_ASSERT("minification.getMagnification() == Sampler.Value.NEAREST",
86 minification.getMagnification() == Sampler.Value
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_sampler.java36 b.setMinification(Sampler.Value.NEAREST);
37 b.setMagnification(Sampler.Value.NEAREST);
38 b.setWrapS(Sampler.Value.CLAMP);
39 b.setWrapT(Sampler.Value.CLAMP);
46 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR);
50 b.setMagnification(Sampler.Value.LINEAR);
54 b.setWrapS(Sampler.Value.WRAP);
58 b.setWrapT(Sampler.Value.WRAP);
81 _RS_ASSERT("minification.getMagnification() == Sampler.Value.NEAREST",
82 minification.getMagnification() == Sampler.Value
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_sampler.java38 b.setMinification(Sampler.Value.NEAREST);
39 b.setMagnification(Sampler.Value.NEAREST);
40 b.setWrapS(Sampler.Value.CLAMP);
41 b.setWrapT(Sampler.Value.CLAMP);
48 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR);
52 b.setMagnification(Sampler.Value.LINEAR);
56 b.setWrapS(Sampler.Value.WRAP);
60 b.setWrapT(Sampler.Value.WRAP);
83 _RS_ASSERT("minification.getMagnification() == Sampler.Value.NEAREST",
84 minification.getMagnification() == Sampler.Value
[all...]
/frameworks/native/libs/binder/
H A DValue.cpp17 #define LOG_TAG "Value"
19 #include <binder/Value.h>
40 using android::binder::Value;
82 class Value::ContentBase {
97 template<typename T> class Value::Content : public Value::ContentBase {
132 template<typename T> bool Value::ContentBase::get(T* out) const
146 Value::Value() : mContent(NULL) function in class:android::binder::Value
150 Value function in class:android::binder::Value
[all...]
/frameworks/native/libs/binder/tests/
H A DbinderValueTypeTest.cpp29 #include <binder/Value.h>
32 using ::android::binder::Value;
41 Value value = VAL; \
46 ASSERT_EQ(value, Value(y)); \
48 ASSERT_EQ(value, Value(y)); \
49 value = Value(); \
51 ASSERT_NE(value, Value(y)); \
53 ASSERT_EQ(value, Value(x)); \
62 Value value(x); \
67 ASSERT_EQ(value, Value(
[all...]
/frameworks/support/paging/rxjava2/src/main/java/androidx/paging/
H A DRxPagedListBuilder.java48 * @param <Value> Item type being presented.
50 public final class RxPagedListBuilder<Key, Value> {
53 private DataSource.Factory<Key, Value> mDataSourceFactory;
66 public RxPagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory,
93 public RxPagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory,
109 public RxPagedListBuilder<Key, Value> setInitialLoadKey(@Nullable Key key) {
136 public RxPagedListBuilder<Key, Value> setBoundaryCallback(
137 @Nullable PagedList.BoundaryCallback<Value> boundaryCallback) {
153 public RxPagedListBuilder<Key, Value> setNotifyScheduler(
177 public RxPagedListBuilder<Key, Value> setFetchSchedule
[all...]
/frameworks/compile/libbcc/lib/
H A DRSX86TranslateGEPPass.cpp55 // Helper method to add two llvm::Value parameters
56 llvm::Value *incrementOffset(llvm::Value *accum, llvm::Value *incr,
69 llvm::Value *computeGEPOffset(llvm::GetElementPtrInst *GEP) {
70 llvm::Value *Offset = nullptr;
85 llvm::Value *Incr = llvm::ConstantInt::get(
90 llvm::Value *EltSize = llvm::ConstantInt::get(
93 llvm::Value *Incr = llvm::BinaryOperator::CreateMul(
110 llvm::Value *Indice
[all...]
/frameworks/base/cmds/statsd/src/
H A DFieldValue.h268 struct Value { struct in namespace:android::os::statsd
269 Value() : type(UNKNOWN) {} function in struct:android::os::statsd::Value
271 Value(int32_t v) { function in struct:android::os::statsd::Value
276 Value(int64_t v) { function in struct:android::os::statsd::Value
281 Value(float v) { function in struct:android::os::statsd::Value
286 Value(const std::string& v) { function in struct:android::os::statsd::Value
316 Value(const Value& from);
318 bool operator==(const Value& that) const;
319 bool operator!=(const Value
[all...]

Completed in 407 milliseconds

12345