Searched refs:model (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
H A DNonExecutingJUnit4ClassRunner.java19 import org.junit.runners.model.FrameworkMethod;
20 import org.junit.runners.model.InitializationError;
21 import org.junit.runners.model.Statement;
H A DAndroidJUnit4Builder.java25 import org.junit.runners.model.RunnerBuilder;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurable.java17 package com.android.documentsui.model;
H A DRootInfo.java17 package com.android.documentsui.model;
19 import static com.android.documentsui.model.DocumentInfo.getCursorInt;
20 import static com.android.documentsui.model.DocumentInfo.getCursorLong;
21 import static com.android.documentsui.model.DocumentInfo.getCursorString;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java84 * Get the current model and parameters of ranker
106 * load the given model and parameters to the ranker
108 public boolean loadModel(Model model) { argument
109 String[] wKeys = new String[model.weights.size()];
110 float[] wValues = new float[model.weights.size()];
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){
117 boolean res = setModelWeights(wKeys, wValues, model.weightNormalizer);
121 for (Map.Entry<String, String> e : model.parameters.entrySet()){
139 * Print a model for debugging
141 public void print(Model model){ argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionStorage.java39 // data of the learning model
40 public static final String COLUMN_MODEL = "model";
84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) { argument
88 entry.put(COLUMN_MODEL, model);
93 boolean saveSession(String key, Class learner, byte[] model) { argument
94 ContentValues content = createSessionEntry(key, learner, model);
110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL));
111 session.learner.setModel(model);
H A DLearning_StochasticLinearRanker.java108 StochasticLinearRankerWithPrior.Model model = mLearningSlRanker.getModel();
112 objStream.writeObject(model);
117 throw new RuntimeException("Can't get model");
125 StochasticLinearRankerWithPrior.Model model =
129 boolean res = mLearningSlRanker.loadModel(model);
132 throw new RuntimeException("Can't load model");
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java130 private void initMeshes(FileA3D model) { argument
131 int numEntries = model.getIndexEntryCount();
134 FileA3D.IndexEntry entry = model.getIndexEntry(i);
144 FileA3D.IndexEntry entry = model.getIndexEntry(i);
161 FileA3D model = FileA3D.createFromFile(mRS, path);
162 initMeshes(model);
200 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot);
201 initMeshes(model);
H A DFBOTestRS.java129 private void initMeshes(FileA3D model) { argument
130 int numEntries = model.getIndexEntryCount();
133 FileA3D.IndexEntry entry = model.getIndexEntry(i);
143 FileA3D.IndexEntry entry = model.getIndexEntry(i);
160 FileA3D model = FileA3D.createFromFile(mRS, path);
161 initMeshes(model);
192 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot);
193 initMeshes(model);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelRS.java128 private void initMeshes(FileA3D model) { argument
129 int numEntries = model.getIndexEntryCount();
132 FileA3D.IndexEntry entry = model.getIndexEntry(i);
142 FileA3D.IndexEntry entry = model.getIndexEntry(i);
159 FileA3D model = FileA3D.createFromFile(mRS, path);
160 initMeshes(model);
174 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot);
175 initMeshes(model);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaScene.java114 FileA3D model;
116 model = FileA3D.createFromAsset(mRS, mRes.getAssets(), names[0]);
118 model = FileA3D.createFromFile(mRS, names[0]);
120 int numModels = model.getIndexEntryCount();
122 FileA3D.IndexEntry entry = model.getIndexEntry(i);
H A DTransformParam.java58 } else if(mParamName.equalsIgnoreCase(model)) {
/frameworks/av/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h85 M4OSA_Char *model; /**< model of image input equipment */ member in struct:__anon230
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java29 * <p>When the accessory connects, it reports its manufacturer and model names,
31 * The manufacturer, model and version strings are used by the USB Manager to choose
75 public UsbAccessory(String manufacturer, String model, String description, argument
78 mModel = model;
108 * Returns the model name of the accessory.
110 * @return the accessory model
148 * between individual accessories of the same model and manufacturer
199 String model = in.readString();
204 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java122 * specified object coordinates into window coordinates using model, proj,
131 * @param model the current modelview matrix
132 * @param modelOffset the offset into the model array where the modelview
148 float[] model, int modelOffset, float[] project, int projectOffset,
156 model, modelOffset);
188 * specified window coordinates into object coordinates using model, proj,
197 * @param model the current modelview matrix
198 * @param modelOffset the offset into the model array where the modelview
214 float[] model, int modelOffset, float[] project, int projectOffset,
222 model, modelOffse
147 gluProject(float objX, float objY, float objZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] win, int winOffset) argument
213 gluUnProject(float winX, float winY, float winZ, float[] model, int modelOffset, float[] project, int projectOffset, int[] view, int viewOffset, float[] obj, int objOffset) argument
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.h167 // Load an existing model
168 void LoadWeights(const SparseWeightVector<Key, Hash> &model) { argument
169 weight_.LoadWeightVector(model);
171 // Save current model
172 void SaveWeights(SparseWeightVector<Key, Hash> *model) { argument
173 model->LoadWeightVector(weight_);
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestRS.java141 private void initMeshes(FileA3D model) { argument
142 int numEntries = model.getIndexEntryCount();
145 FileA3D.IndexEntry entry = model.getIndexEntry(i);
155 FileA3D.IndexEntry entry = model.getIndexEntry(i);
182 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot);
183 initMeshes(model);
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java63 // the predictor is a standard naive bayes model.
156 throw new RuntimeException("Can't get model");
162 HashMap<String, HashMap<String, Integer> > model;
167 model = (HashMap<String, HashMap<String, Integer> >) objStream.readObject();
169 throw new RuntimeException("Can't load model");
175 mCounter.putAll(model);
290 * reset predictor to a empty model
302 * convert the prediction model into a byte array
305 // TODO: convert model to a more memory efficient data structure.
306 HashMap<String, HashMap<String, HashMap<String, Integer > > > model
[all...]
/frameworks/wilhelm/src/itf/
H A DI3DSource.c196 static SLresult I3DSource_SetRolloffModel(SL3DSourceItf self, SLuint8 model) argument
200 switch (model) {
206 thiz->mDistanceModel = model;
226 SLuint8 model = thiz->mDistanceModel; local
228 *pModel = model;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFilteringCursorWrapper.java20 import static com.android.documentsui.model.DocumentInfo.getCursorLong;
21 import static com.android.documentsui.model.DocumentInfo.getCursorString;
H A DMimePredicate.java19 import com.android.documentsui.model.DocumentInfo;
H A DRootsLoader.java23 import com.android.documentsui.model.RootInfo;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppLoadingScreen.java52 // Adds a little 3D bugdroid model to the laoding screen asynchronously.
74 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.robot);
75 FileA3D.IndexEntry entry = model.getIndexEntry(0);
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DAndroidRunnerBuilder.java26 import org.junit.runners.model.RunnerBuilder;
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
H A DAndroidJUnit3Builder.java24 import org.junit.runners.model.RunnerBuilder;

Completed in 569 milliseconds

123