Home
last modified time | relevance | path

Searched refs:getModel (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DMethodBaseExpr.java49 final ComparisonExpr cmp = getModel() in toExecutionPath()
50 .comparison("!=", getTarget(), getModel().symbol("null", Object.class)); in toExecutionPath()
91 Expr listenerExpr = getModel().listenerExpr(getTarget(), mName, listener, in resolveListenersAsMethodReference()
99 if (getModel().mBindingExpressions.contains(this)) { in resolveListenersAsMethodReference()
100 getModel().bindingExpr(listenerExpr); in resolveListenersAsMethodReference()
104 getModel().removeExpr(this); in resolveListenersAsMethodReference()
DFieldAssignmentExpr.java90 final ComparisonExpr cmp = getModel() in toExecutionPath()
91 .comparison("!=", child, getModel().symbol("null", Object.class)); in toExecutionPath()
DMethodCallExpr.java106 Expr cmp = getModel() in toExecutionPath()
107 .comparison("!=", getTarget(), getModel().symbol("null", Object.class)); in toExecutionPath()
153 StaticIdentifierExpr staticId = getModel() in resolveType()
DFieldAccessExpr.java177 FieldAccessExpr observableField = getModel().observableField(target, mName); in resolveType()
193 StaticIdentifierExpr staticId = getModel().staticIdentifierFor(staticIdentifierType); in replaceStaticIdentifier()
267 getModel().removeExpr(this); in replaceExpression()
DBracketExpr.java69 Expr cmp = getModel().comparison("!=", getTarget(), in toExecutionPath()
70 getModel().symbol("null", Object.class)); in toExecutionPath()
DInstanceOfExpr.java54 mType = modelAnalyzer.findClass(mTypeStr, getModel().getImports()); in resolveType()
DCastExpr.java36 return modelAnalyzer.findClass(mType, getModel().getImports()); in resolveType()
DResourceExpr.java67 final Map<String, String> imports = getModel().getImports(); in getResourceToTypeMapping()
118 return modelAnalyzer.findClass(mResourceType, getModel().getImports()); in resolveType()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java153 mExprModel = lb.getModel(); in testShouldRead()
159 lb.getModel().seal(); in testShouldRead()
175 mExprModel = lb.getModel(); in testReadConstantTernary()
200 mExprModel = lb.getModel(); in testTernaryWithPlus()
255 mExprModel = lb.getModel(); in testTernaryInsideTernary()
300 mExprModel = lb.getModel(); in testRequirementFlags()
314 lb.getModel().seal(); in testRequirementFlags()
372 mExprModel = lb.getModel(); in testPostConditionalDependencies()
452 mExprModel = lb.getModel(); in testCircularDependency()
470 mExprModel = lb.getModel(); in testNestedCircularDependency()
[all …]
DExprTest.java118 ExprModel model = lb.getModel(); in testBasicInvalidationFlag()
133 ExprModel model = lb.getModel(); in testCannotBeInvalidated()
DExecutionPathTest.java59 ExprModel model = lb.getModel(); in simpleExpr()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DInverseBinding.java55 mCallbackExprModel = new CallbackExprModel(expr.getModel()); in InverseBinding()
110 expr.getModel().getImports()); in setGetterCall()
181 public ExprModel getModel() { in getModel() method in InverseBinding
183 return mExpr.getModel(); in getModel()
185 return mChainedExpressions.get(0).getModel(); in getModel()
DBinding.java63 final ModelClass listenerParameter = getListenerParameter(mTarget, mName, mExpr.getModel()); in resolveListeners()
76 final ModelClass listener = getListenerParameter(mTarget, mName, mExpr.getModel()); in resolveCallbackParams()
92 lambdaExpr.setup(listener, method, mExpr.getModel().obtainCallbackId()); in resolveCallbackParams()
128 viewStubProxy, mExpr.getResolvedType(), mExpr.getModel().getImports()); in resolveSetterCall()
131 mExpr.getModel().getImports()); in resolveSetterCall()
138 viewType, mExpr.getResolvedType(), mExpr.getModel().getImports()); in resolveSetterCall()
DBindingTarget.java140 public ExprModel getModel() { in getModel() method in BindingTarget
236 MergedBinding mergedBinding = new MergedBinding(getModel(), setter, this, in resolveMultiSetters()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java33 mModel = accessory.getModel(); in UsbAccessory()
54 public String getModel() { in getModel() method in UsbAccessory
108 compare(mModel, accessory.getModel()) && in equals()
DUsbManager.java132 accessory.getManufacturer(),accessory.getModel(), in openAccessory()
153 accessory.getManufacturer(),accessory.getModel(), in hasPermission()
178 accessory.getManufacturer(),accessory.getModel(), in requestPermission()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DIBordeauxLearner.java29 public byte [] getModel(); in getModel() method
DPredictor.java158 public byte [] getModel() { in getModel() method in Predictor
159 return mPredictor.getModel(); in getModel()
DLearning_StochasticLinearRanker.java105 public byte [] getModel() { in getModel() method in Learning_StochasticLinearRanker
108 StochasticLinearRankerWithPrior.Model model = mLearningSlRanker.getModel(); in getModel()
DLearning_MulticlassPA.java52 public byte [] getModel() { in getModel() method in Learning_MulticlassPA
/frameworks/base/graphics/java/android/graphics/
DColor.java385 public ColorSpace.Model getModel() { in getModel() method in Color
386 return mColorSpace.getModel(); in getModel()
628 if (mColorSpace.getModel() != ColorSpace.Model.RGB) { in luminance()
630 "color space. The supplied color space is " + mColorSpace.getModel()); in luminance()
1218 if (colorSpace.getModel() != ColorSpace.Model.RGB) { in luminance()
1220 "color space. The supplied color space is " + colorSpace.getModel()); in luminance()
DColorSpace.java945 public Model getModel() { in getModel() method in ColorSpace
1217 if (source.getModel() == Model.RGB && destination.getModel() == Model.RGB) { in connect()
1269 if (source.getModel() == Model.RGB) { in connect()
1327 if (colorSpace.getModel() == Model.RGB) { in adapt()
1400 if (colorSpace.getModel() == Model.RGB) { in match()
3454 source.getModel() == Model.RGB ? adapt(source, ILLUMINANT_D50_XYZ) : source, in Connector()
3455 destination.getModel() == Model.RGB ? in Connector()
3487 boolean srcRGB = source.getModel() == Model.RGB; in computeTransform()
3488 boolean dstRGB = destination.getModel() == Model.RGB; in computeTransform()
4026 if (colorSpace.getModel() != Model.RGB) continue;
[all …]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DExpressionVisitorTest.java62 assertEquals(1, mParser.getModel().size()); in testSymbol()
93 assertEquals(3, mParser.getModel().size()); in testComparison()
128 assertEquals(6, mParser.getModel().size()); in testTernary()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java110 public @NonNull String getModel() { in getModel() method in UsbAccessory
164 compare(mModel, accessory.getModel()) && in equals()
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java53 public final @NonNull String getModel() { in getModel() method in MtpDeviceInfo

12