Searched refs:Instance (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DLearner.java25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>();
32 void addInstance(Instance instance) {
41 ArrayList<Instance> getInstances() {
51 ArrayList<Instance> instances = mInstances;
54 Instance instance = instances.get(i);
68 final ArrayList<Instance> toDelete = new ArrayList<Instance>();
69 final ArrayList<Instance> instances = mInstances;
73 final Instance instanc
[all...]
H A DInstance.java24 class Instance { class
44 private Instance(long id, float[] sample, String sampleName) { method in class:Instance
72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) {
74 Instance instance;
77 instance = new Instance(gesture.getID(), pts, label);
81 instance = new Instance(gesture.getID(), pts, label);
H A DInstanceLearner.java46 ArrayList<Instance> instances = getInstances();
50 Instance sample = instances.get(i);
H A DGestureStore.java137 Instance instance = Instance.createInstance(mSequenceType,
159 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, entryName));
325 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, name));
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Memory.c31 /* hInstance = Instance handle Returns the memory requirements and */
37 /* When the function is called for free (hInstance = Instance Handle) the memory */
41 /* hInstance Instance Handle */
56 INST_ALLOC Instance; local
63 InstAlloc_Init( &Instance , LVM_NULL);
105 * Instance memory
108 InstAlloc_AddMember( &Instance, sizeof(LVPSA_InstancePr_t) );
109 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
110 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
127 InstAlloc_AddMember( &Instance, pInitParam
[all...]
H A DLVPSA_Init.c54 INST_ALLOC Instance; local
88 InstAlloc_Init( &Instance , pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress);
97 *phInstance = InstAlloc_AddMember( &Instance, sizeof(LVPSA_InstancePr_t) );
145 pLVPSA_Inst->pPostGains = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
146 pLVPSA_Inst->pFiltersParams = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
147 pLVPSA_Inst->pSpectralDataBufferStart = InstAlloc_AddMember( &Instance, pInitParams->nBands * pLVPSA_Inst->SpectralDataBufferLength * sizeof(LVM_UINT8) );
148 pLVPSA_Inst->pPreviousPeaks = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) );
149 pLVPSA_Inst->pBPFiltersPrecision = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) );
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h102 static ObjectPool* Instance() { function in class:ObjectPool
213 ObjectPool<T>* pool = ObjectPool<T>::Instance();
222 ObjectPool<T>* pool = ObjectPool<T>::Instance();
236 ObjectPool<T>* pool = ObjectPool<T>::Instance();
246 ObjectPool<T>* pool = ObjectPool<T>::Instance();

Completed in 2387 milliseconds