Searched defs:field (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DPublicFinalTestVo.java19 public PublicFinalTestVo(int field) { argument
20 myField = field;
H A DPublicFinalWithObservableTestVo.java25 public PublicFinalWithObservableTestVo(int field) { argument
26 myField = field;
/frameworks/data-binding/integration-tests/IndependentLibrary/app/src/main/java/android/databinding/test/independentlibrary/vo/
H A DMyBindableObject.java32 public void setField(String field) { argument
33 mField = field;
34 notifyPropertyChanged(BR.field);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
H A DTestLibObject.java30 public void setField(String field) { argument
31 this.mField = field;
32 notifyPropertyChanged(BR.field);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
H A DProgramPort.java32 Field field,
34 super(filter, name, field, hasDefault);
55 "Access to program field '" + mField.getName() + "' was denied!");
57 throw new RuntimeException("Non Program field '" + mField.getName()
29 ProgramPort(Filter filter, String name, String varName, Field field, boolean hasDefault) argument
H A DFieldPort.java32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { argument
34 mField = field;
68 "Access to field '" + mField.getName() + "' was denied!");
94 return "field " + super.toString();
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaField.java26 public JavaField(Field field) { argument
27 mField = field;
/frameworks/base/core/jni/
H A Dandroid_os_UEventObserver.cpp51 const char* field = buffer; local
54 if (strstr(field, match.string())) {
58 field += strlen(field) + 1;
59 } while (field != end);
H A Dandroid_view_RenderNodeAnimator.cpp101 static inline CanvasPropertyPaintAnimator::PaintField toPaintField(jint field) { argument
102 LOG_ALWAYS_FATAL_IF(field < 0
103 || field > CanvasPropertyPaintAnimator::ALPHA,
104 "Invalid paint field %d", field);
105 return static_cast<CanvasPropertyPaintAnimator::PaintField>(field);
H A Dcom_android_internal_net_NetworkStatsFactory.cpp65 static jobjectArray get_string_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
68 jobjectArray array = (jobjectArray)env->GetObjectField(obj, field);
76 static jintArray get_int_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
79 jintArray array = (jintArray)env->GetObjectField(obj, field);
87 static jlongArray get_long_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
90 jlongArray array = (jlongArray)env->GetObjectField(obj, field);
133 // First field is the index.
152 // Next field is iface.
184 // Find end of tag field
188 // Three digit field i
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationField.java32 public AnnotationField(TypeElement declaredClass, VariableElement field) { argument
34 mField = field;
/frameworks/support/v4/java/android/support/v4/widget/
H A DTextViewCompatDonut.java76 Field field = null;
78 field = TextView.class.getDeclaredField(fieldName);
79 field.setAccessible(true);
81 Log.e(LOG_TAG, "Could not retrieve " + fieldName + " field.");
83 return field;
86 private static int retrieveIntFromField(Field field, TextView textView) { argument
88 return field.getInt(textView);
90 Log.d(LOG_TAG, "Could not retrieve value of " + field.getName() + " field.");
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/wizard/
H A DGuidedDatePickerTest.java71 private void scrollOnField(int field, int[] columnIndices, DatePicker mPickerView, argument
81 switch (field) {
101 assertTrue("Date field could not be focused!", (focusedFieldPos != -1));
116 // now scroll right or left to the corresponding date field as indicated by the input field
157 addDate(currentActionCal, field, offset, minCal, maxCal);
167 private void addDate(Calendar mCurrentDate, int field, int offset, argument
172 if ( field == Calendar.YEAR ) {
176 actualMinFieldValue = mCurrentDate.getActualMinimum(field);
177 actualMaxFieldValue = mCurrentDate.getActualMaximum(field);
[all...]
/frameworks/base/libs/hwui/
H A DAnimator.cpp395 CanvasPropertyPaint* property, PaintField field, float finalValue)
398 , mField(field) {
408 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
426 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
394 CanvasPropertyPaintAnimator( CanvasPropertyPaint* property, PaintField field, float finalValue) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java53 T field; field in class:CameraUtilsTypeReferenceTest.GenericOuterClass.GenericInnerClass
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DInputPort.java31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame
32 * values will be assigned to the field once a Frame is received on that port. The Frame value must
33 * be of a type that is compatible with the field type.
54 public FieldBinding(Field field) { argument
55 mField = field;
69 throw new RuntimeException("Assigning frame " + frame + " to field "
107 * Bind this input port to the specified field.
109 * Use this when you wish to pull frames directly into a field of the filter. This requires
110 * that the input frames can be interpreted as object-based frames of the field's class.
117 * @param field th
121 bindToField(Field field) argument
[all...]
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp218 BCHeaderField field(BCHeaderField::kInvalid, 0,
220 field.Read(&buffer_[cursor_], buffer_size_);
221 header_fields_.push_back(field);
222 size_t field_size = field.GetTotalSize();
228 "variable field data\n");
239 switch (field.getID()) {
241 if (field.Write((uint8_t*)&tempIntField,
247 if (field.Write((uint8_t*)&tempIntField,
253 // Ignore other field types for now
331 void BitcodeWrapperer::AddHeaderField(BCHeaderField* field) { argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java40 // notification name for the field. Important when we map this to a method w/ different name
77 return "Cannot change a final field in " + getResolvedType().toJavaCode() +
274 // Make this the ".get()" and add an extra field access for the observable field
344 private static boolean attributeMatchesName(String attribute, String field) { argument
346 return attribute.substring(colonIndex + 1).equals(field);
H A DExprModel.java139 public FieldAccessExpr field(Expr parent, String name) { method in class:ExprModel
340 L.d("checking field access expr %s. getter: %s", fae,fae.getGetter());
345 L.d("notifiable field %s : %s for %s : %s", parent.getUniqueKey(),
435 * Some expressions (e.g. field access) may replace themselves and add/remove new dependencies
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java316 * Tests if the field is pubic, static and one of int or int[].
318 private static boolean isValidRField(Field field) { argument
319 int modifiers = field.getModifiers();
321 Class<?> type = field.getType();
360 for (Field field : fields) {
361 if (!isValidRField(field)) {
366 String name = field.getName();
367 if (field.getType().isArray()) {
368 int[] styleableValue = (int[]) field.get(null);
387 index = (Integer) field
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp90 jfieldID field = mEnv->GetFieldID(cls, name, "Z"); local
91 if (field == 0) {
92 THROW(*this, "Error in accessing field");
96 return mEnv->GetBooleanField(obj, field);
102 jfieldID field = mEnv->GetFieldID(cls, name, "I"); local
103 if (field == 0) {
104 THROW(*this, "Error in accessing field");
108 return mEnv->GetIntField(obj, field);
114 jfieldID field = mEnv->GetFieldID(cls, name, "B"); local
115 if (field
126 jfieldID field = mEnv->GetFieldID(cls, name, "J"); local
149 jfieldID field = mEnv->GetFieldID(cls, name, "Ljava/lang/String;"); local
185 jfieldID field = mEnv->GetStaticFieldID(cls, name, "J"); local
197 jfieldID field = mEnv->GetFieldID(cls, name, type); local
209 jfieldID field = mEnv->GetFieldID(cls, name, type); local
221 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
246 jfieldID field = mEnv->GetFieldID(cls, name, "[B"); local
276 jfieldID field = mEnv->GetStaticFieldID(cls, name, "[J"); local
298 jfieldID field = mEnv->GetFieldID(cls, name, type); local
321 jfieldID field = mEnv->GetFieldID(cls, name, "I"); local
338 jfieldID field = mEnv->GetFieldID(cls, name, "B"); local
355 jfieldID field = mEnv->GetFieldID(cls, name, "Z"); local
372 jfieldID field = mEnv->GetFieldID(cls, name, "J"); local
394 jfieldID field = mEnv->GetStaticFieldID(cls, name, "J"); local
411 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
433 jfieldID field = mEnv->GetStaticFieldID(cls, name, "[J"); local
451 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
481 jfieldID field = mEnv->GetFieldID(cls, name, type); local
[all...]
/frameworks/rs/driver/
H A DrsdShader.cpp143 for (uint32_t field=0; field < e->mHal.state.fieldsCount; field++) {
144 const Element *f = e->mHal.state.fields[field];
157 s.append(e->mHal.state.fieldNames[field]);
167 for (uint32_t field=0; field < e->mHal.state.fieldsCount; field++) {
168 const Element *f = e->mHal.state.fields[field];
169 const char *fn = e->mHal.state.fieldNames[field];
311 logUniform(const Element *field, const float *fd, uint32_t arraySize ) argument
357 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java212 * Ensures the values in each field are in range. For example if the
217 * If "ignoreDst" is true, then this method sets the "isDst" field to -1
254 * Return the maximum possible value for the given field given the value of
257 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
258 * @return the maximum value for the field.
260 public int getActualMaximum(int field) { argument
261 switch (field) {
291 throw new RuntimeException("bad field=" + field);
374 * format that does not include the "time" field
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java257 * @param field the field ID for the global variable
261 public Future getGlobal(Script.FieldID field) { argument
262 Future f = mGlobalFuture.get(field);
265 // If the field is not bound to this closure, this will return a future
267 // cross-module (cross-script) linking in this case where a field not
269 Object obj = mBindings.get(field);
273 f = new Future(this, field, obj);
274 mGlobalFuture.put(field, f);
536 * of connections: kernel to kernel and kernel to field
870 Binding(Script.FieldID field, Object value) argument
[all...]

Completed in 645 milliseconds

12