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

12

/frameworks/base/tools/incident_section_gen/
H A Dmain.cpp43 const FieldDescriptor* field = descriptor->field(i); local
44 if (field->type() == FieldDescriptor::TYPE_MESSAGE) {
45 sections[field->name()] = field;
54 const FieldDescriptor* field = it->second; local
55 printf(" { %d, \"%s\" }", field->number(), field->name().c_str());
/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.java31 public void setField(String field) { argument
32 this.mField = field;
33 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.cpp66 static jobjectArray get_string_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
69 jobjectArray array = (jobjectArray)env->GetObjectField(obj, field);
77 static jintArray get_int_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
80 jintArray array = (jintArray)env->GetObjectField(obj, field);
88 static jlongArray get_long_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
91 jlongArray array = (jlongArray)env->GetObjectField(obj, field);
134 // First field is the index.
153 // Next field is iface.
185 // Find end of tag field
189 // 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/base/core/tests/coretests/src/android/provider/
H A DSettingsBackupTest.java535 for (Field field : clazz.getDeclaredFields()) {
536 if (looksLikeValidSetting(field)) {
538 result.add((String) field.get(null));
548 private static boolean looksLikeValidSetting(Field field) { argument
549 int modifiers = field.getModifiers();
553 && field.getType() == String.class
554 && field.getAnnotation(Deprecated.class) == null;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java41 // notification name for the field. Important when we map this to a method w/ different name
69 return "Cannot change a final field in " + getResolvedType().toJavaCode() +
173 // Make this the ".get()" and add an extra field access for the observable field
249 private static boolean attributeMatchesName(String attribute, String field) { argument
251 return attribute.substring(colonIndex + 1).equals(field);
307 return model.field(clonedTarget, mName);
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Work.h49 C2ParamField field; member in struct:android::C2SettingResult
/frameworks/base/libs/hwui/
H A DAnimator.cpp411 CanvasPropertyPaint* property, PaintField field, float finalValue)
414 , mField(field) {
424 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
442 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
410 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/base/tools/incident_report/
H A Dmain.cpp53 FieldDescriptor const* field = descriptor->FindFieldByNumber(fieldId); local
54 if (field != NULL) {
55 int type = field->type();
60 bool rv = read_message(in, field->message_type(), child);
74 // TODO: Save bytes field.
131 print_value(Out* out, FieldDescriptor const* field, GenericMessage::Node const& node) argument
134 FieldDescriptor::Type type = field->type();
186 print_message(out, field->message_type(), node.message);
206 FieldDescriptor const* field = descriptor->field( local
304 FieldDescriptor const* field; local
[all...]
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp219 BCHeaderField field(BCHeaderField::kInvalid, 0,
221 field.Read(&buffer_[cursor_], buffer_size_);
222 header_fields_.push_back(field);
223 size_t field_size = field.GetTotalSize();
229 "variable field data\n");
240 switch (field.getID()) {
242 if (field.Write((uint8_t*)&tempIntField,
248 if (field.Write((uint8_t*)&tempIntField,
254 // Ignore other field types for now
332 void BitcodeWrapperer::AddHeaderField(BCHeaderField* field) { argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DInjectedClass.java44 public void addField(InjectedField field) { argument
45 mFields.add(field);
/frameworks/support/compat/java/android/support/v4/widget/
H A DTextViewCompat.java97 Field field = null;
99 field = TextView.class.getDeclaredField(fieldName);
100 field.setAccessible(true);
102 Log.e(LOG_TAG, "Could not retrieve " + fieldName + " field.");
104 return field;
107 private static int retrieveIntFromField(Field field, TextView textView) { argument
109 return field.getInt(textView);
111 Log.d(LOG_TAG, "Could not retrieve value of " + field.getName() + " field.");
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
H A DGuidedDatePickerTest.java90 private int getColumnIndexForDateField(int field, int[] columnIndices) { argument
95 switch (field) {
108 private void horizontalScrollToDateField(int field, int[] columnIndices, argument
110 int columnIndex = getColumnIndexForDateField(field, columnIndices);
120 assertTrue("Date field could not be focused!", (focusedFieldPos != -1));
135 // now scroll right or left to the corresponding date field as indicated by the input field
153 * @param field The date field over which the scrolling is performed
154 * @param fieldValue The field valu
160 verticalScrollToFieldValue(int field, int fieldValue, int[] columnIndices, DatePicker pickerView, int scrollDir) argument
208 addDate(Calendar mCurrentDate, int field, int offset, Calendar mMinDate, Calendar mMaxDate) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java317 * Tests if the field is pubic, static and one of int or int[].
319 private static boolean isValidRField(Field field) { argument
320 int modifiers = field.getModifiers();
322 Class<?> type = field.getType();
361 for (Field field : fields) {
362 if (!isValidRField(field)) {
367 String name = field.getName();
368 if (field.getType().isArray()) {
369 int[] styleableValue = (int[]) field.get(null);
388 index = (Integer) field
[all...]

Completed in 6110 milliseconds

12