Home
last modified time | relevance | path

Searched refs:mModel (Results 1 – 21 of 21) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DExpressionVisitor.java45 private final ExprModel mModel; field in ExpressionVisitor
49 mModel = model; in ExpressionVisitor()
81 return mModel.symbol(javaString, String.class); in visitStringLiteral()
93 return mModel.group(ctx.children.get(1).accept(this)); in visitGrouping()
104 return mModel.bindingExpr(ctx.expression().accept(this)); in visitBindingSyntax()
119 ModelClass modelClass = analyzer.findClass(ctx.getText(), mModel.getImports()); in visitDotOp()
121 return mModel.field(ctx.expression().accept(this), in visitDotOp()
125 StaticIdentifierExpr expr = mModel.staticIdentifier(name); in visitDotOp()
139 … return mModel.ternary(mModel.comparison("==", left, mModel.symbol("null", Object.class)), in visitQuestionQuestionOp()
176 return mModel.symbol(node.getText(), classType); in visitTerminal()
[all …]
DExpressionParser.java44 final ExprModel mModel; field in ExpressionParser
48 mModel = model; in ExpressionParser()
49 visitor = new ExpressionVisitor(mModel); in ExpressionParser()
67 mModel.setCurrentLocationInFile(locationInFile); in parse()
81 mModel.setCurrentParserContext(ctx); in parse()
92 mModel.setCurrentParserContext(mStack.get(mStack.size() - 1)); in parse()
94 mModel.setCurrentParserContext(null); in parse()
100 mModel.setCurrentLocationInFile(null); in parse()
105 return mModel; in getModel()
DBindingTarget.java41 ExprModel mModel; field in BindingTarget
68 mModel.twoWayListenerExpr(inverseBinding), in addBinding()
85 mModel.twoWayListenerExpr(inverseBinding))); in addInverseBinding()
114 findClass(ModelAnalyzer.VIEW_DATA_BINDING, mModel.getImports()); in getResolvedType()
117 mModel.getImports()); in getResolvedType()
145 return mModel; in getModel()
149 mModel = model; in setModel()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java48 private TestModel mModel; field in ModelBackedDocumentsAdapterTest
54 mModel = new TestModel(AUTHORITY); in setUp()
55 mModel.update(NAMES); in setUp()
61 mAdapter.onModelUpdate(mModel); in setUp()
66 assertEquals(mModel.getItemCount(), mAdapter.getItemCount()); in testItemCount()
71 String[] ids = mModel.getModelIds(); in testHide_ItemCount()
73 assertEquals(mModel.getItemCount() - 2, mAdapter.getItemCount()); in testHide_ItemCount()
98 return mModel; in getModel()
DSectionBreakDocumentsAdapterWrapperTest.java49 private TestModel mModel; field in SectionBreakDocumentsAdapterWrapperTest
57 mModel = new TestModel(AUTHORITY); in setUp()
63 mModel.addUpdateListener(mAdapter); in setUp()
80 mModel.update(r); in testItemCount_allDirs()
82 assertEquals(mModel.getItemCount(), mAdapter.getItemCount()); in testItemCount_allDirs()
87 mModel.update(NAMES); in testItemCount_allFiles()
88 assertEquals(mModel.getItemCount(), mAdapter.getItemCount()); in testItemCount_allFiles()
106 mModel.update(r); in testItemCount_mixed()
108 assertEquals(mModel.getItemCount() + 1, mAdapter.getItemCount()); in testItemCount_mixed()
133 return mModel; in getModel()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java50 private final String mModel; field in UsbAccessory
76 mModel = model; in UsbAccessory()
89 mModel = strings[MODEL_STRING]; in UsbAccessory()
111 return mModel; in getModel()
164 compare(mModel, accessory.getModel()) && in equals()
176 (mModel == null ? 0 : mModel.hashCode()) ^ in hashCode()
186 ", mModel=" + mModel + in toString()
216 parcel.writeString(mModel); in writeToParcel()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java25 private final String mModel; field in UsbAccessory
33 mModel = accessory.getModel(); in UsbAccessory()
55 return mModel; in getModel()
108 compare(mModel, accessory.getModel()) && in equals()
120 (mModel == null ? 0 : mModel.hashCode()) ^ in hashCode()
130 ", mModel=" + mModel + in toString()
/frameworks/av/media/mtp/
DMtpDeviceInfo.cpp38 mModel(NULL), in MtpDeviceInfo()
54 if (mModel) in ~MtpDeviceInfo()
55 free(mModel); in ~MtpDeviceInfo()
88 mModel = strdup((const char *)string); in read()
101 mVendorExtensionDesc, mFunctionalMode, mManufacturer, mModel, mVersion, mSerial); in print()
DMtpDeviceInfo.h39 char* mModel; variable
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java27 private String mModel; field in MtpDeviceInfo
52 return mModel; in getModel()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DQuickViewIntentBuilder.java52 private final Model mModel; field in QuickViewIntentBuilder
66 mModel = model; in QuickViewIntentBuilder()
120 final String[] siblingIds = mModel.getModelIds(); in collectViewableUris()
132 cursor = mModel.getItem(siblingIds[i]); in collectViewableUris()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java375 public final String mModel; field in UsbSettingsManager.AccessoryFilter
381 mModel = model; in AccessoryFilter()
387 mModel = accessory.getModel(); in AccessoryFilter()
418 if (mModel != null) { in write()
419 serializer.attribute(null, "model", mModel); in write()
429 if (mModel != null && !acc.getModel().equals(mModel)) return false; in matches()
436 if (mModel != null && !f.mModel.equals(mModel)) return false; in matches()
444 if (mManufacturer == null || mModel == null || mVersion == null) { in equals()
450 mModel.equals(filter.mModel) && in equals()
456 mModel.equals(accessory.getModel()) && in equals()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java60 private Model mModel; field in FocusManager
68 mModel = model; in FocusManager()
418 mModel.addUpdateListener(mModelListener); in search()
460 mModel.removeUpdateListener(mModelListener); in endSearch()
480 Cursor cursor = mModel.getItem(modelId); in buildIndex()
DDirectoryFragment.java144 private Model mModel; field in DirectoryFragment
271 mModel = new Model(); in onActivityCreated()
272 mModel.addUpdateListener(mAdapter); in onActivityCreated()
273 mModel.addUpdateListener(mModelUpdateListener); in onActivityCreated()
276 mFocusManager = new FocusManager(context, mRecView, mModel); in onActivityCreated()
357 final Cursor cursor = mModel.getItem(id); in handleViewItem()
368 ((BaseActivity) getActivity()).onDocumentPicked(doc, mModel); in handleViewItem()
479 final Cursor cursor = mModel.getItem(modelId); in onBeforeItemStateChange()
505 final Cursor cursor = mModel.getItem(modelId); in onItemStateChanged()
964 return mModel; in getModel()
[all …]
DMultiSelectManager.java1120 @Nullable private GridModel mModel; field in MultiSelectManager.BandController
1133 mModel = new GridModel(mEnvironment, mAdapter); in BandController()
1134 mModel.addOnSelectionChangedListener(BandController.this); in BandController()
1163 return mModel != null; in isActive()
1171 if (mModel != null) { in handleLayoutChanged()
1172 mModel.removeOnSelectionChangedListener(this); in handleLayoutChanged()
1173 mModel.stopListening(); in handleLayoutChanged()
1213 mModel.resizeSelection(input.getOrigin()); in processInputEvent()
1226 mModel.startSelection(mOrigin); in startBandSelect()
1258 mModel.endSelection(); in endBandSelect()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java75 private TileSource mModel; field in TiledImageRenderer
192 if (mModel != model) { in setModel()
193 mModel = model; in setModel()
220 if (mModel == null) { in notifyModelInvalidated()
226 mImageWidth = mModel.getImageWidth(); in notifyModelInvalidated()
227 mImageHeight = mModel.getImageHeight(); in notifyModelInvalidated()
228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
229 mTileSize = mModel.getTileSize(); in notifyModelInvalidated()
690 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
/frameworks/base/rs/java/android/renderscript/
DProgramVertexFixedFunction.java202 Matrix4f mModel; field in ProgramVertexFixedFunction.Constants
224 mModel = new Matrix4f(); in Constants()
261 mModel.load(m); in setModelview()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java78 private ExprModel mModel; field in Expr
135 return mModel; in getModel()
146 BitSet bitSet = (BitSet) mModel.getInvalidateAnyBitSet().clone(); in resolveInvalidFlags()
210 mModel = model; in setModel()
511 final Expr expr = mModel.findFlagExpression(i); in markAsReadIfDone()
645 final Map<String, Expr> exprMap = mModel.getExprMap(); in updateExpr()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DExpressionVisitorTest.java105 assertEquals(2, mParser.mModel.size()); in testSimpleFieldAccess()
119 assertEquals(1, mParser.mModel.size()); in testIdentifier()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp238 if (deviceInfo->mModel) in android_mtp_MtpDevice_get_device_info()
240 env->NewStringUTF(deviceInfo->mModel)); in android_mtp_MtpDevice_get_device_info()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...