Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
DStochasticLinearRanker.java108 public boolean loadModel(Model model) { in loadModel() argument
109 String[] wKeys = new String[model.weights.size()]; in loadModel()
110 float[] wValues = new float[model.weights.size()]; in loadModel()
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){ in loadModel()
117 boolean res = setModelWeights(wKeys, wValues, model.weightNormalizer); in loadModel()
121 for (Map.Entry<String, String> e : model.parameters.entrySet()){ in loadModel()
141 public void print(Model model){ in print() argument
144 for (Map.Entry<String, Float> e : model.weights.entrySet()) in print()
146 for (Map.Entry<String, String> e : model.parameters.entrySet()) in print()
149 Log.i(TAG, "Normalizer is " + model.weightNormalizer); in print()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelRS.java128 private void initMeshes(FileA3D model) { in initMeshes() argument
129 int numEntries = model.getIndexEntryCount(); in initMeshes()
132 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
142 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
159 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local
160 initMeshes(model); in loadA3DFile()
174 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local
175 initMeshes(model); in initRS()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestRS.java129 private void initMeshes(FileA3D model) { in initMeshes() argument
130 int numEntries = model.getIndexEntryCount(); in initMeshes()
133 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
143 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
160 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local
161 initMeshes(model); in loadA3DFile()
192 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local
193 initMeshes(model); in initRS()
DFBOSyncRS.java130 private void initMeshes(FileA3D model) { in initMeshes() argument
131 int numEntries = model.getIndexEntryCount(); in initMeshes()
134 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
144 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
161 FileA3D model = FileA3D.createFromFile(mRS, path); in loadA3DFile() local
162 initMeshes(model); in loadA3DFile()
200 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local
201 initMeshes(model); in initRS()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxSessionStorage.java84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { in createSessionEntry() argument
88 entry.put(COLUMN_MODEL, model); in createSessionEntry()
93 boolean saveSession(String key, Class learner, byte[] model) { in saveSession() argument
94 ContentValues content = createSessionEntry(key, learner, model); in saveSession()
110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL)); in getSessionFromCursor()
111 session.learner.setModel(model); in getSessionFromCursor()
DLearning_StochasticLinearRanker.java108 StochasticLinearRankerWithPrior.Model model = mLearningSlRanker.getModel(); in getModel() local
112 objStream.writeObject(model); in getModel()
126 StochasticLinearRankerWithPrior.Model model = in setModel() local
130 boolean res = mLearningSlRanker.loadModel(model); in setModel()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaScene.java114 FileA3D model; in doInBackground() local
116 model = FileA3D.createFromAsset(mRS, mRes.getAssets(), names[0]); in doInBackground()
118 model = FileA3D.createFromFile(mRS, names[0]); in doInBackground()
120 int numModels = model.getIndexEntryCount(); in doInBackground()
122 FileA3D.IndexEntry entry = model.getIndexEntry(i); in doInBackground()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java141 private void initMeshes(FileA3D model) { in initMeshes() argument
142 int numEntries = model.getIndexEntryCount(); in initMeshes()
145 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
155 FileA3D.IndexEntry entry = model.getIndexEntry(i); in initMeshes()
182 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in initRS() local
183 initMeshes(model); in initRS()
/frameworks/compile/linkloader/tests/images/
Dgen-testcases.sh29 llc -filetype=obj -relocation-model=static -mtriple $2 $3 test.bc -o test-$1.o
30 llc -filetype=obj -relocation-model=static -mtriple $2 $3 simple-test.bc -o simple-test-$1.o
31 llc -filetype=obj -relocation-model=static -mtriple $2 $3 rodata-test.bc -o rodata-test-$1.o
/frameworks/base/opengl/java/android/opengl/
DGLU.java148 float[] model, int modelOffset, float[] project, int projectOffset, in gluProject() argument
156 model, modelOffset); in gluProject()
214 float[] model, int modelOffset, float[] project, int projectOffset, in gluUnProject() argument
222 model, modelOffset); in gluUnProject()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java75 public UsbAccessory(String manufacturer, String model, String description, in UsbAccessory() argument
78 mModel = model; in UsbAccessory()
199 String model = in.readString();
204 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dstochastic_linear_ranker.h168 void LoadWeights(const SparseWeightVector<Key, Hash> &model) { in LoadWeights() argument
169 weight_.LoadWeightVector(model); in LoadWeights()
172 void SaveWeights(SparseWeightVector<Key, Hash> *model) { in SaveWeights() argument
173 model->LoadWeightVector(weight_); in SaveWeights()
/frameworks/base/core/java/com/android/internal/widget/
DSizeAdaptiveLayout.java153 View model = selectActiveChild(heightMeasureSpec); in onMeasure() local
155 (SizeAdaptiveLayout.LayoutParams) model.getLayoutParams(); in onMeasure()
157 measureChild(model, widthMeasureSpec, heightMeasureSpec); in onMeasure()
158 int childHeight = model.getMeasuredHeight(); in onMeasure()
159 int childWidth = model.getMeasuredHeight(); in onMeasure()
160 int childState = combineMeasuredStates(0, model.getMeasuredState()); in onMeasure()
165 int boundedHeight = clampSizeToBounds(resolvedHeight, model); in onMeasure()
/frameworks/wilhelm/src/itf/
DI3DSource.c196 static SLresult I3DSource_SetRolloffModel(SL3DSourceItf self, SLuint8 model) in I3DSource_SetRolloffModel() argument
200 switch (model) { in I3DSource_SetRolloffModel()
206 thiz->mDistanceModel = model; in I3DSource_SetRolloffModel()
226 SLuint8 model = thiz->mDistanceModel; in I3DSource_GetRolloffModel() local
228 *pModel = model; in I3DSource_GetRolloffModel()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
Dshader_def.rsh20 rs_matrix4x4 model;
34 rs_matrix4x4 model[2];
43 rs_matrix4x4 model;
Drsrenderstates.rs450 rsMatrixLoadTranslate(&gVSConstants->model, 0.0f, 0.0f, -10.0f);
451 rsMatrixRotate(&gVSConstants->model, gTorusRotation, 1.0f, 0.0f, 0.0f);
452 rsMatrixRotate(&gVSConstants->model, gTorusRotation, 0.0f, 0.0f, 1.0f);
486 rsMatrixLoadTranslate(&gVSConstants2->model[1], 0.0f, 0.0f, -10.0f);
487 rsMatrixLoadIdentity(&gVSConstants2->model[0]);
488 rsMatrixRotate(&gVSConstants2->model[0], gTorusRotation, 1.0f, 0.0f, 0.0f);
489 rsMatrixRotate(&gVSConstants2->model[0], gTorusRotation, 0.0f, 0.0f, 1.0f);
523 rsMatrixLoadTranslate(&gVSConstants->model, 0.0f, 0.0f, -10.0f);
524 rsMatrixRotate(&gVSConstants->model, gTorusRotation, 1.0f, 0.0f, 0.0f);
525 rsMatrixRotate(&gVSConstants->model, gTorusRotation, 0.0f, 0.0f, 1.0f);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dshader_def.rsh20 rs_matrix4x4 model;
34 rs_matrix4x4 model;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppRS.java83 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.unit_obj); in setupGeometry() local
84 for (int i = 0; i < model.getIndexEntryCount(); i ++) { in setupGeometry()
85 FileA3D.IndexEntry entry = model.getIndexEntry(i); in setupGeometry()
DTestAppLoadingScreen.java74 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot); in doInBackground() local
75 FileA3D.IndexEntry entry = model.getIndexEntry(0); in doInBackground()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java160 String model = Build.MODEL; in getDefaultUserAgent() local
161 if (model.length() > 0) { in getDefaultUserAgent()
163 result.append(model); in getDefaultUserAgent()
/frameworks/base/tests/BrowserTestPlugin/jni/
Dmain.cpp151 ANPDrawingModel model = kBitmap_ANPDrawingModel; in NPP_New() local
156 reinterpret_cast<void*>(model)); in NPP_New()
158 gLogI.log(kError_ANPLogType, "request model %d err %d", model, err); in NPP_New()
/frameworks/base/docs/html/training/design-navigation/
Dscreen-planning.jd25model that can be expressed as a tree or graph of object types. In more obvious terms, you can dra…
27 …browse through a set of categorized news stories and photos. One possible model for such an app is…
38 <p>Once you define the information model, you can begin to define the contexts necessary to enable …
/frameworks/base/docs/html/guide/topics/graphics/
Dhardware-accel.jd14 <li><a href="#model">Android Drawing Models</a>
17 <li><a href="#software-model">Software-based drawing model</a></li>
18 <li><a href="#hardware-model">Hardware accelerated drawing model</a></li>
170 <h2 id="model">Android Drawing Models</h2>
172 <p>When hardware acceleration is enabled, the Android framework utilizes a new drawing model that
178 <h3>Software-based drawing model</h3>
179 <p>In the software drawing model, views are drawn with the following two steps:</p>
191 two drawbacks to this drawing model:</p>
193 <li>First, this model requires execution of a lot of code on every draw pass. For example, if
197 <li>The second issue is that the drawing model can hide bugs in your application. Since the
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dshader2v.glsl2 rs_matrix4x4 model;
/frameworks/av/libvideoeditor/vss/inc/
DM4EXIFC_CommonAPI.h85 M4OSA_Char *model; /**< model of image input equipment */ member

1234