Searched defs:values (Results 51 - 75 of 199) sorted by relevance

12345678

/frameworks/base/core/java/android/transition/
H A DTranslationAnimationCreator.java40 * @param values The values containing the view in the view hierarchy.
51 static Animator createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, argument
56 int[] startPosition = (int[]) values.view.getTag(R.id.transitionPosition);
76 TransitionPositionListener listener = new TransitionPositionListener(view, values.view,
/frameworks/base/core/java/android/widget/
H A DFilter.java166 * implementation returns an empty String for null values or the default
177 * <p>Holds the results of a filtering operation. The results are the values
178 * computed by the filtering operation and the number of these values.</p>
186 * <p>Contains all the values computed by the filtering operation.</p>
188 public Object values; field in class:Filter.FilterResults
191 * <p>Contains the number of values computed by the filtering
205 * @param count the number of values computed by the filter
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp35 float* values = autoDir.ptr(); local
37 direction[i] = values[i];
/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp106 jvalue* values = new jvalue[parameterCount]; local
108 values[i].f = floatValues[i];
110 env->CallVoidMethodA(target, reinterpret_cast<jmethodID>(methodID), values);
111 delete[] values;
133 jvalue* values = new jvalue[parameterCount]; local
135 values[i].i = intValues[i];
137 env->CallVoidMethodA(target, reinterpret_cast<jmethodID>(methodID), values);
138 delete[] values;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
139 count = db.update("data", values, "_id=" + rowId, null);
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java78 ContentValues values = new ContentValues();
79 values.put("_id", 1);
80 values.put("_blob", TEST_BLOB);
81 values.put("integer", 100);
82 db.insert("data", null, values);
163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
/frameworks/base/graphics/java/android/graphics/
H A DInterpolator.java36 * Reset the Interpolator to have the specified number of values and an
38 * values for each keyFrame must be assigned using setKeyFrame().
45 * Reset the Interpolator to have the specified number of values and
46 * keyFrames. After this call the values for each keyFrame must be assigned
65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear
66 * transition to the next set of key values).
71 * @param values Array of values associated with theis key frame
73 public void setKeyFrame(int index, int msec, float[] values) { argument
74 setKeyFrame(index, msec, values, nul
87 setKeyFrame(int index, int msec, float[] values, float[] blend) argument
121 timeToValues(float[] values) argument
136 timeToValues(int msec, float[] values) argument
159 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument
161 nativeTimeToValues(long native_instance, int msec, float[] values) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java157 public static void setVboFloats(int vboId, float[] values) { argument
158 int len = values.length * 4;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java228 private static SparseIntArray intArrayToPriorityMap(int[] values) { argument
230 for (int priority = 0; priority < values.length; ++priority) {
231 result.append(values[priority], priority);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java99 public Uri insert(Uri uri, ContentValues values) { argument
101 long rowId = db.insert(TABLE_NAME, null, values);
122 public int update(Uri uri, ContentValues values, String selection, argument
/frameworks/base/tools/aapt2/
H A DResourceTable.h54 * varying values for each defined configuration.
80 * The resource's values for each configuration.
82 std::vector<ResourceConfigValue> values; member in struct:aapt::ResourceEntry
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); argument
76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument
95 public Uri insert(Uri uri, ContentValues values) { argument
102 result = insertInTransaction(uri, values);
113 result = insertInTransaction(uri, values);
122 public int bulkInsert(Uri uri, ContentValues[] values) { argument
123 int numValues = values.length;
128 Uri result = insertInTransaction(uri, values[i]);
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
155 count = updateInTransaction(uri, values, selectio
[all...]
H A DSyncStateContentProviderHelper.java67 ContentValues values = new ContentValues();
68 values.put(SYNC_STATE_META_VERSION_COLUMN, DB_VERSION);
69 db.insert(SYNC_STATE_META_TABLE, SYNC_STATE_META_VERSION_COLUMN, values);
87 public long insert(SQLiteDatabase db, ContentValues values) { argument
88 return db.replace(SYNC_STATE_TABLE, SyncStateContract.Columns.ACCOUNT_NAME, values);
95 public int update(SQLiteDatabase db, ContentValues values, argument
97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java64 * keys and values. The first sample should have higher rank than the second
79 public float scoreSample(String[] keys, float[] values) { argument
80 return nativeScoreSample(keys, values, mNativeClassifier);
129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ argument
130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier);
178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); argument
180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, argument
183 private native void nativeGetParameterClassifier(String [] keys, String[] values, argument
188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DConfigurationMap.java38 for (WifiConfiguration config : mPerID.values()) {
112 for (WifiConfiguration config : mPerID.values()) {
126 for (WifiConfiguration config : mPerID.values()) {
135 for (WifiConfiguration config : mPerID.values()) {
143 public Collection<WifiConfiguration> values() { method in class:ConfigurationMap
144 return mPerID.values();
H A DScanDetailCache.java72 Iterator<ScanDetail> it = mMap.values().iterator();
80 Collection<ScanDetail> values() { method in class:ScanDetailCache
81 return mMap.values();
89 ArrayList<ScanDetail> list = new ArrayList<ScanDetail>(mMap.values());
116 ArrayList<ScanDetail> list = new ArrayList<ScanDetail>(mMap.values());
152 for(ScanDetail scanDetail : values()) {
202 for(PasspointMatchInfo pmi : mPasspointMatches.values()) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DSOAPParser.java102 Map<RequestDetail.RequestFields, String> values =
105 extractFields(mRoot, values, mos);
106 return new RequestDetail(values, mos);
110 String> values, Collection<MOTree> mos) {
116 values.put(field, node.getText());
124 values.put(field, value);
134 extractFields(child, values, mos);
109 extractFields(XMLNode node, Map<RequestDetail.RequestFields, String> values, Collection<MOTree> mos) argument
/frameworks/rs/
H A DrsClosure.cpp14 uintptr_t* values, size_t values_length,
25 fieldIDs_length, (const ScriptFieldID**)fieldIDs, (const void**)values,
35 const uintptr_t* values, const size_t values_length,
40 fieldIDs_length, (const ScriptFieldID**)fieldIDs, (const void**)values,
63 const void** values,
76 memcpy(mArgs, values, sizeof(const void*) * mNumArg);
80 mGlobals[fieldIDs[i]] = make_pair(values[i], sizes[i]);
113 const void** values, const int* sizes) :
120 mGlobals[fieldIDs[i]] = make_pair(values[i], sizes[i]);
11 rsi_ClosureCreate(Context* context, RsScriptKernelID kernelID, RsAllocation returnValue, RsScriptFieldID* fieldIDs, size_t fieldIDs_length, uintptr_t* values, size_t values_length, int* sizes, size_t sizes_length, RsClosure* depClosures, size_t depClosures_length, RsScriptFieldID* depFieldIDs, size_t depFieldIDs_length) argument
32 rsi_InvokeClosureCreate(Context* context, RsScriptInvokeID invokeID, const void* params, const size_t paramLength, const RsScriptFieldID* fieldIDs, const size_t fieldIDs_length, const uintptr_t* values, const size_t values_length, const int* sizes, const size_t sizes_length) argument
58 Closure(Context* context, const ScriptKernelID* kernelID, Allocation* returnValue, const int numValues, const ScriptFieldID** fieldIDs, const void** values, const int* sizes, const Closure** depClosures, const ScriptFieldID** depFieldIDs) argument
110 Closure(Context* context, const ScriptInvokeID* invokeID, const void* params, const size_t paramLength, const size_t numValues, const ScriptFieldID** fieldIDs, const void** values, const int* sizes) argument
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp449 bool CharacterEncodingDetector::isFrequent(const uint16_t *values, uint32_t c) { argument
456 if(c == values[mid]) {
458 } else if (c > values[mid]) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c42 static void count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, argument
60 t0= values[i+0];
61 t1= values[i+1];
62 t2= values[i+2];
63 t3= values[i+3];
118 static void count3_4_5_6_7_8_9_10_11(const Word16 *values, argument
135 t0= values[i+0];
136 t1= values[i+1];
137 t2= values[i+2];
138 t3= values[
192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument
469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument
495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument
[all...]
/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h49 // Convert a list of integers in CSV format to a Vector of those values.
51 static inline int parseCSV(const char *string, std::vector<int>& values) argument
53 // pass 1: count the number of values and do syntax check
64 // pass 2: allocate and initialize vector of values
65 values.resize(++numValues);
66 values[0] = atoi(p = string);
69 values[i++] = atoi(p);
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values) argument
88 for (int i = 0; i < numValues && values; i++) {
90 while (*values == ' ') values++;
91 if (*values == 0) break;
96 if (sscanf(values, "%d", &intValue) == 1) {
101 ALOGE("Could not parse %s as int for %s", values, name);
105 if (sscanf(values, "%s", stringValue) == 1) {
110 ALOGE("Could not parse %s as enum for %s", values, name);
118 values
175 const char* values = strchr(l, '='); local
[all...]
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java48 * to the end values. Note that you can specify explicit fractional values (from 0 to 1) for
88 * a setter function that will be called to set animated values.
95 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
123 // New property/values/target should cause re-initialization prior to starting
148 // New property/values/target should cause re-initialization prior to starting
154 * a setter function that will be called to set animated values.
227 * Constructs and returns an ObjectAnimator that animates between int values. A single
228 * value implies that that value is the one being animated to. Two values imply starting
229 * and ending values
240 ofInt(Object target, String propertyName, int... values) argument
285 ofInt(T target, Property<T, Integer> property, int... values) argument
330 ofMultiInt(Object target, String propertyName, int[][] values) argument
374 ofMultiInt(Object target, String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) argument
395 ofArgb(Object target, String propertyName, int... values) argument
413 ofArgb(T target, Property<T, Integer> property, int... values) argument
434 ofFloat(Object target, String propertyName, float... values) argument
479 ofFloat(T target, Property<T, Float> property, float... values) argument
525 ofMultiFloat(Object target, String propertyName, float[][] values) argument
570 ofMultiFloat(Object target, String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) argument
594 ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) argument
643 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
671 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument
722 ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) argument
731 setIntValues(int... values) argument
746 setFloatValues(float... values) argument
761 setObjectValues(Object... values) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java274 public int update(@NonNull Uri url, @Nullable ContentValues values, @Nullable String selection, argument
280 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
H A DContentProviderNative.java161 ContentValues values = ContentValues.CREATOR.createFromParcel(data);
163 Uri out = insert(callingPkg, url, values);
174 ContentValues[] values = data.createTypedArray(ContentValues.CREATOR);
176 int count = bulkInsert(callingPkg, url, values);
218 ContentValues values = ContentValues.CREATOR.createFromParcel(data);
222 int count = update(callingPkg, url, values, selection, selectionArgs);
463 public Uri insert(String callingPkg, Uri url, ContentValues values) throws RemoteException argument
472 values.writeToParcel(data, 0);
485 public int bulkInsert(String callingPkg, Uri url, ContentValues[] values) throws RemoteException { argument
493 data.writeTypedArray(values,
553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]

Completed in 3829 milliseconds

12345678