Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/base/media/mca/filterfw/native/core/
Dvalue.h32 } Value; typedef
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);
44 int ValueIsNull(Value value);
45 int ValueIsInt(Value value);
[all …]
Dvalue.cpp34 POD GetPODValue(Value value) { in GetPODValue()
39 PTR GetPtrValue(Value value) { in GetPtrValue()
44 Value MakePODValue(POD value) { in MakePODValue()
45 Value result; in MakePODValue()
54 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue()
55 Value result; in MakePtrValue()
64 int SetPODValue(Value* value, POD new_value) { in SetPODValue()
78 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue()
92 int GetIntValue(Value value) { in GetIntValue()
96 float GetFloatValue(Value value) { in GetFloatValue()
[all …]
/frameworks/base/rs/java/android/renderscript/
DSampler.java30 public enum Value { enum in Sampler
40 Value(int id) { in Value() method in Sampler.Value
45 Value mMin;
46 Value mMag;
47 Value mWrapS;
48 Value mWrapT;
49 Value mWrapR;
60 public Value getMinification() { in getMinification()
67 public Value getMagnification() { in getMagnification()
74 public Value getWrapS() { in getWrapS()
[all …]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DSampler.java43 public enum Value { enum in Sampler
53 Value(int id) { in Value() method in Sampler.Value
58 Value mMin;
59 Value mMag;
60 Value mWrapS;
61 Value mWrapT;
62 Value mWrapR;
72 public Value getMinification() { in getMinification()
79 public Value getMagnification() { in getMagnification()
86 public Value getWrapS() { in getWrapS()
[all …]
/frameworks/native/libs/binder/include/binder/
DValue.h56 class Value {
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(const bool& value);
78 Value(const int8_t& value);
79 Value(const int32_t& value);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_sampler.java36 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
37 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
38 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
39 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
46 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
50 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
54 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
58 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
82 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
84 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_sampler.java38 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
39 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
40 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
41 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
48 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
52 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
56 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
60 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
84 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
86 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/support/paging/common/src/main/java/androidx/paging/
DItemKeyedDataSource.java43 public abstract class ItemKeyedDataSource<Key, Value> extends ContiguousDataSource<Key, Value> {
130 public abstract static class LoadInitialCallback<Value> extends LoadCallback<Value> {
152 public abstract void onResult(@NonNull List<Value> data, int position, int totalCount); in onResult()
168 public abstract static class LoadCallback<Value> {
184 public abstract void onResult(@NonNull List<Value> data); in onResult()
187 static class LoadInitialCallbackImpl<Value> extends LoadInitialCallback<Value> {
188 final LoadCallbackHelper<Value> mCallbackHelper;
191 @NonNull PageResult.Receiver<Value> receiver) { in LoadInitialCallbackImpl()
197 public void onResult(@NonNull List<Value> data, int position, int totalCount) { in onResult()
212 public void onResult(@NonNull List<Value> data) { in onResult()
[all …]
DPageKeyedDataSource.java44 public abstract class PageKeyedDataSource<Key, Value> extends ContiguousDataSource<Key, Value> {
162 public abstract static class LoadInitialCallback<Key, Value> {
184 public abstract void onResult(@NonNull List<Value> data, int position, int totalCount, in onResult()
202 public abstract void onResult(@NonNull List<Value> data, @Nullable Key previousPageKey, in onResult()
219 public abstract static class LoadCallback<Key, Value> {
242 public abstract void onResult(@NonNull List<Value> data, @Nullable Key adjacentPageKey); in onResult()
245 static class LoadInitialCallbackImpl<Key, Value> extends LoadInitialCallback<Key, Value> {
246 final LoadCallbackHelper<Value> mCallbackHelper;
247 private final PageKeyedDataSource<Key, Value> mDataSource;
249 LoadInitialCallbackImpl(@NonNull PageKeyedDataSource<Key, Value> dataSource, in LoadInitialCallbackImpl()
[all …]
DContiguousDataSource.java24 abstract class ContiguousDataSource<Key, Value> extends DataSource<Key, Value> {
36 @NonNull PageResult.Receiver<Value> receiver); in dispatchLoadInitial()
40 @NonNull Value currentEndItem, in dispatchLoadAfter()
43 @NonNull PageResult.Receiver<Value> receiver); in dispatchLoadAfter()
47 @NonNull Value currentBeginItem, in dispatchLoadBefore()
50 @NonNull PageResult.Receiver<Value> receiver); in dispatchLoadBefore()
58 abstract Key getKey(int position, Value item); in getKey()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_sampler.java39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
42 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
49 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
53 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
57 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
61 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
86 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
88 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/native/libs/binder/
DValue.cpp40 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 in get()
146 Value::Value() : mContent(NULL) in Value() function in android::binder::Value
150 Value::Value(const Value& value) in Value() function in android::binder::Value
155 Value::~Value() in ~Value()
160 bool Value::operator==(const Value& rhs) const in operator ==()
162 const Value& lhs(*this); in operator ==()
177 Value& Value::swap(Value &rhs) in swap()
[all …]
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DLivePagedListBuilder.java39 public final class LivePagedListBuilder<Key, Value> {
42 private DataSource.Factory<Key, Value> mDataSourceFactory;
52 public LivePagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory, in LivePagedListBuilder()
79 public LivePagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory, in LivePagedListBuilder()
94 public LivePagedListBuilder<Key, Value> setInitialLoadKey(@Nullable Key key) { in setInitialLoadKey()
121 public LivePagedListBuilder<Key, Value> setBoundaryCallback( in setBoundaryCallback()
122 @Nullable PagedList.BoundaryCallback<Value> boundaryCallback) { in setBoundaryCallback()
137 public LivePagedListBuilder<Key, Value> setFetchExecutor( in setFetchExecutor()
152 public LiveData<PagedList<Value>> build() { in build()
159 private static <Key, Value> LiveData<PagedList<Value>> create( in create()
[all …]
/frameworks/support/paging/rxjava2/src/main/java/androidx/paging/
DRxPagedListBuilder.java50 public final class RxPagedListBuilder<Key, Value> {
53 private DataSource.Factory<Key, Value> mDataSourceFactory;
66 public RxPagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory, in RxPagedListBuilder()
93 public RxPagedListBuilder(@NonNull DataSource.Factory<Key, Value> dataSourceFactory, in RxPagedListBuilder()
109 public RxPagedListBuilder<Key, Value> setInitialLoadKey(@Nullable Key key) { in setInitialLoadKey()
136 public RxPagedListBuilder<Key, Value> setBoundaryCallback( in setBoundaryCallback()
137 @Nullable PagedList.BoundaryCallback<Value> boundaryCallback) { in setBoundaryCallback()
153 public RxPagedListBuilder<Key, Value> setNotifyScheduler( in setNotifyScheduler()
177 public RxPagedListBuilder<Key, Value> setFetchScheduler( in setFetchScheduler()
201 public Observable<PagedList<Value>> buildObservable() { in buildObservable()
[all …]
/frameworks/native/libs/binder/tests/
DbinderValueTypeTest.cpp32 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(y)); \
69 ASSERT_EQ(value, Value(y)); \
[all …]
/frameworks/support/paging/common/api/
Dcurrent.txt3 public abstract class DataSource<Key, Value> {
7 …ue> androidx.paging.DataSource<Key, ToValue> map(androidx.arch.core.util.Function<Value, ToValue>);
8 …e<Key, ToValue> mapByPage(androidx.arch.core.util.Function<java.util.List<Value>, java.util.List<T…
12 public static abstract class DataSource.Factory<Key, Value> {
14 method public abstract androidx.paging.DataSource<Key, Value> create();
15 …oidx.paging.DataSource.Factory<Key, ToValue> map(androidx.arch.core.util.Function<Value, ToValue>);
16 …y<Key, ToValue> mapByPage(androidx.arch.core.util.Function<java.util.List<Value>, java.util.List<T…
23 public abstract class ItemKeyedDataSource<Key, Value> extends androidx.paging.DataSource {
25 method public abstract Key getKey(Value);
26 …ging.ItemKeyedDataSource.LoadParams<Key>, androidx.paging.ItemKeyedDataSource.LoadCallback<Value>);
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DDiffCallback.java37 public abstract class DiffCallback<Value> {
46 public abstract boolean areItemsTheSame(@NonNull Value oldItem, @NonNull Value newItem); in areItemsTheSame()
57 public abstract boolean areContentsTheSame(@NonNull Value oldItem, @NonNull Value newItem); in areContentsTheSame()
65 public Object getChangePayload(@NonNull Value oldItem, @NonNull Value newItem) { in getChangePayload()
/frameworks/compile/libbcc/lib/
DRSKernelExpand.cpp235 llvm::Value *getStepValue(llvm::DataLayout *DL, llvm::Type *AllocType, in getStepValue()
236 llvm::Value *OrigStep) { in getStepValue()
426 llvm::Value *LowerBound, in createLoop()
427 llvm::Value *UpperBound, in createLoop()
428 llvm::Value **LoopIV) { in createLoop()
432 llvm::Value *Cond, *IVNext, *IV, *IVVar; in createLoop()
488 void finishArgList( llvm::SmallVector<llvm::Value *, ArgVectorLen> &ArgVector, in finishArgList() argument
489 const llvm::SmallVector<llvm::Value *, SpecialArgVectorLen> &SpecialArgVector, in finishArgList() argument
520 typedef llvm::SmallVector<llvm::Value *, 3> SmallGEPIndices;
568 llvm::Value *X, in ExpandSpecialArguments()
[all …]
DRSX86TranslateGEPPass.cpp56 llvm::Value *incrementOffset(llvm::Value *accum, llvm::Value *incr, in incrementOffset()
69 llvm::Value *computeGEPOffset(llvm::GetElementPtrInst *GEP) { in computeGEPOffset()
70 llvm::Value *Offset = nullptr; in computeGEPOffset()
85 llvm::Value *Incr = llvm::ConstantInt::get( in computeGEPOffset()
90 llvm::Value *EltSize = llvm::ConstantInt::get( in computeGEPOffset()
93 llvm::Value *Incr = llvm::BinaryOperator::CreateMul( in computeGEPOffset()
110 llvm::Value *Indices[1] = {computeGEPOffset(GEP)}; in translateGEP()
/frameworks/base/tools/aapt2/
DResourceValues.h45 class Value {
47 virtual ~Value() = default;
95 virtual bool Equals(const Value* value) const = 0;
105 virtual Value* Clone(StringPool* new_pool) const = 0;
114 friend std::ostream& operator<<(std::ostream& out, const Value& value);
125 struct BaseValue : public Value {
131 struct Item : public Value {
167 bool Equals(const Value* value) const override;
186 bool Equals(const Value* value) const override;
199 bool Equals(const Value* value) const override;
[all …]
/frameworks/base/cmds/statsd/src/
DFieldValue.h268 struct Value { struct
269 Value() : type(UNKNOWN) {} in Value() argument
271 Value(int32_t v) { in Value() function
276 Value(int64_t v) { in Value() function
281 Value(float v) { in Value() argument
286 Value(const std::string& v) { in Value() argument
316 Value(const Value& from); argument
318 bool operator==(const Value& that) const;
319 bool operator!=(const Value& that) const;
321 bool operator<(const Value& that) const;
[all …]
DFieldValue.cpp124 bool isAttributionUidField(const Field& field, const Value& value) { in isAttributionUidField()
132 Value::Value(const Value& from) { in Value() function in android::os::statsd::Value
152 std::string Value::toString() const { in toString()
167 bool Value::operator==(const Value& that) const { in operator ==()
184 bool Value::operator!=(const Value& that) const { in operator !=()
200 bool Value::operator<(const Value& that) const { in operator <()
/frameworks/support/paging/runtime/api/
Dcurrent.txt12 public final class LivePagedListBuilder<Key, Value> {
13 …ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key, Value>, androidx.paging.P…
14 ctor public LivePagedListBuilder(androidx.paging.DataSource.Factory<Key, Value>, int);
15 method public androidx.lifecycle.LiveData<androidx.paging.PagedList<Value>> build();
16 …roidx.paging.LivePagedListBuilder<Key, Value> setBoundaryCallback(androidx.paging.PagedList.Bounda…
17 …method public androidx.paging.LivePagedListBuilder<Key, Value> setFetchExecutor(java.util.concurre…
18 method public androidx.paging.LivePagedListBuilder<Key, Value> setInitialLoadKey(Key);
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java38 private static class Value { class in TokenCache
42 public Value(String token, long expiryEpochMillis) { in Value() method in TokenCache.Value
83 private static class TokenLruCache extends LruCache<Key, Value> {
116 protected int sizeOf(Key k, Value v) { in sizeOf()
121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved()
135 public void putToken(Key k, Value v) { in putToken()
200 Value v = new Value(token, expiryMillis); in put()
221 Value v = mCachedTokens.get(k); in get()
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java59 private final SparseArray<Value> mTasks;
78 mTasks = new SparseArray<Value>(); in ContiguousFIFOAggregator()
107 mTasks.put(hash, new Value(callback, null)); in expect()
168 final Value value = mTasks.get(hash); in execute()
202 final Value value = mTasks.get(hash); in maybeExecuteNow()
225 final Value value = mTasks.get(hash); in onFirstExpectedChanged()
260 final Value value = mTasks.get(hash); in prettyPrint()
298 private class Value { class in ContiguousFIFOAggregator
303 Value(final Callback<T> callback, final Runnable task) { in Value() method in ContiguousFIFOAggregator.Value

1234567