/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 28 * Add an instance to the learner 30 * @param instance 32 void addInstance(Instance instance) { argument 33 mInstances.add(instance); 46 * Remove an instance based on its id 54 Instance instance = instances.get(i); 55 if (id == instance.id) { 56 instances.remove(instance); 73 final Instance instance = instances.get(i); 75 if ((instance [all...] |
H A D | Instance.java | 21 * An instance represents a sample if the label is available or a query if the 41 // the id of the instance 66 * create a learning instance for a single stroke gesture 70 * @return the instance 74 Instance instance; 77 instance = new Instance(gesture.getID(), pts, label); 78 instance.normalize(); 81 instance = new Instance(gesture.getID(), pts, label); 83 return instance;
|
H A D | GestureStore.java | 137 Instance instance = Instance.createInstance(mSequenceType, 139 return mClassifier.classify(mSequenceType, mOrientationStyle, instance.vector);
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.cpp | 37 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, 39 NPError NPP_Destroy(NPP instance, NPSavedData** save); 40 NPError NPP_SetWindow(NPP instance, NPWindow* window); 41 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, 43 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); 44 int32 NPP_WriteReady(NPP instance, NPStream* stream); 45 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, 47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 48 void NPP_Print(NPP instance, NPPrint* platformPrint); 49 int16 NPP_HandleEvent(NPP instance, voi 132 NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved) argument 168 NPP_Destroy(NPP instance, NPSavedData** save) argument 179 NPP_SetWindow(NPP instance, NPWindow* window) argument 191 NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype) argument 197 NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument 202 NPP_WriteReady(NPP instance, NPStream* stream) argument 207 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) argument 212 NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) argument 216 NPP_Print(NPP instance, NPPrint* platformPrint) argument 220 NPP_HandleEvent(NPP instance, void* event) argument 234 NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument 238 NP_GetValue(NPP instance, NPPVariable variable, void *value) argument 255 NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument 271 NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument [all...] |
/frameworks/base/include/utils/ |
H A D | Singleton.h | 33 TYPE* instance = sInstance; local 34 if (instance == 0) { 35 instance = new TYPE(); 36 sInstance = instance; 38 return *instance; 54 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
|
/frameworks/base/awt/javax/imageio/spi/ |
H A D | IIORegistry.java | 53 * The instance. 55 private static IIORegistry instance; field in class:IIORegistry 94 * Gets the default IIORegistry instance. 96 * @return the default IIORegistry instance. 99 // TODO implement own instance for each ThreadGroup (see also 102 if (instance == null) { 103 instance = new IIORegistry(); 105 return instance;
|
/frameworks/base/media/libstagefright/omx/ |
H A D | OMX.cpp | 104 OMXNodeInstance *instance = mOwner->findInstance(msg.node); local 105 if (instance == NULL) { 109 instance->onMessage(msg); 158 OMXNodeInstance *instance; local 166 instance = mLiveNodes.editValueAt(index); 169 invalidateNodeID_l(instance->nodeID()); 172 instance->onObserverDied(mMaster); 213 OMXNodeInstance *instance = new OMXNodeInstance(this, observer); local 218 instance, &handle); 223 instance 239 OMXNodeInstance *instance = findInstance(node); local 383 makeNodeID(OMXNodeInstance *instance) argument [all...] |
H A D | OMXNodeInstance.cpp | 430 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local 431 if (instance->mDying) { 434 return instance->owner()->OnEvent( 435 instance->nodeID(), eEvent, nData1, nData2, pEventData); 443 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local 444 if (instance->mDying) { 447 return instance->owner()->OnEmptyBufferDone(instance->nodeID(), pBuffer); 455 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local 456 if (instance [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
H A D | ImageLoader.java | 42 static ImageLoadersStorage instance; field in class:ImageLoader.ImageLoadersStorage 52 if (instance == null) { 53 instance = new ImageLoadersStorage(); 56 return instance;
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | ButtonActivity.java | 39 final ButtonActivity instance = this; 50 InputMethodManager imm = InputMethodManager.getInstance(instance);
|
/frameworks/base/core/java/android/util/ |
H A D | Xml.java | 111 return XmlSerializerFactory.instance.newSerializer(); 121 static final XmlPullParserFactory instance; field in class:Xml.XmlSerializerFactory 124 instance = XmlPullParserFactory.newInstance(TYPE, null);
|
/frameworks/base/core/java/android/text/ |
H A D | AutoText.java | 82 * Returns the instance of AutoText. If the locale has changed, it will create a new 83 * instance of AutoText for the locale. 85 * @return the single instance of AutoText 90 AutoText instance; 93 instance = sInstance; 95 if (!locale.equals(instance.mLocale)) { 96 instance = new AutoText(res); 97 sInstance = instance; 101 return instance;
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | DeviceMonitor.java | 222 private static DeviceMonitor instance = new DeviceMonitor(); field in class:DeviceMonitor 228 instance.startMonitoring();
|
H A D | HistoryRecord.java | 250 AttributeCache.Entry ent = AttributeCache.instance().get(packageName,
|
H A D | ActivityManagerService.java | 2212 // instance right now, we need to first completely stop 2213 // the current instance before starting the new one. 2758 // instance of the activity, and instead started a new one. 2996 * an instance of that activity in the stack and, if found, finish all 2997 * activities on top of it and return the instance. 3046 // instance of the activity so a new fresh one can be started. 3358 // instance... this new activity it is starting must go on its 3363 // The activity being started is a single instance... it always 3392 // instance of it in the history, and it is always in its own 3408 // to have the same behavior as if a new instance wa [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LocalActivityManager.java | 117 Object instance = null; 119 instance = lastNonConfigurationInstances.get(r.id); 128 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); 590 Object instance = r.activity.onRetainNonConfigurationInstance(); 591 if (instance != null) { 595 instanceMap.put(r.id, instance);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AttributeCache.java | 69 public static AttributeCache instance() { method in class:AttributeCache
|
H A D | WindowManagerService.java | 2658 return AttributeCache.instance().get(packageName, resId, 2673 return AttributeCache.instance().get(packageName, resId, 3505 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, 5581 * is protected by the KeyWaiter instance, NOT by the window lock. You
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | ClassTest.java | 48 Object instance = helloClass.newInstance(); 49 assertNotNull(instance);
|
/frameworks/base/media/libstagefright/include/ |
H A D | OMX.h | 130 node_id makeNodeID(OMXNodeInstance *instance);
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 69 public static synchronized MiniThumbFile instance(Uri uri) { method in class:MiniThumbFile
|
/frameworks/base/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 566 class_name instance; \ 567 instance.run(); \
|
/frameworks/base/core/java/android/provider/ |
H A D | MediaStore.java | 320 MiniThumbFile thumbFile = MiniThumbFile.instance(baseUri); 716 * @return A Bitmap instance. It could be null if the original image 748 * @return A Bitmap instance. It could be null if the original image 1704 * @return A Bitmap instance. It could be null if the original image 1723 * @return A Bitmap instance. It could be null if the original image associated with
|