Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 20 of 20) sorted by relevance

/development/samples/BrowserPlugin/jni/
Dmain.cpp44 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc,
46 NPError NPP_Destroy(NPP instance, NPSavedData** save);
47 NPError NPP_SetWindow(NPP instance, NPWindow* window);
48 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream,
50 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
51 int32_t NPP_WriteReady(NPP instance, NPStream* stream);
52 int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len,
54 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
55 void NPP_Print(NPP instance, NPPrint* platformPrint);
56 int16_t NPP_HandleEvent(NPP instance, void* event);
[all …]
/development/samples/BrowserPlugin/jni/background/
DBackgroundPlugin.cpp223 NPP instance = this->inst(); in test_logging() local
226 gLogI.log(kError_ANPLogType, " ------ %p Testing Log Error", instance); in test_logging()
227 gLogI.log(kWarning_ANPLogType, " ------ %p Testing Log Warning", instance); in test_logging()
228 gLogI.log(kDebug_ANPLogType, " ------ %p Testing Log Debug", instance); in test_logging()
236 static void timer_oneshot(NPP instance, uint32_t timerID);
237 static void timer_repeat(NPP instance, uint32_t timerID);
238 static void timer_neverfires(NPP instance, uint32_t timerID);
239 static void timer_latency(NPP instance, uint32_t timerID);
242 NPP instance = this->inst(); in test_timers() local
249 browser->unscheduletimer(instance, 999999); in test_timers()
[all …]
/development/samples/BrowserPlugin/jni/form/
DFormPlugin.cpp42 static void inval(NPP instance) { in inval() argument
43 browser->invalidaterect(instance, NULL); in inval()
54 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument
57 PluginObject *obj = reinterpret_cast<PluginObject*>(instance->pdata); in inval()
63 browser->invalidaterect(instance, &inval); in inval()
132 NPP instance = this->inst(); in draw() local
133 PluginObject *obj = (PluginObject*) instance->pdata; in draw()
203 NPP instance = this->inst(); in handleEvent() local
218 gLogI.log(kDebug_ANPLogType, "----%p Loosing Focus", instance); in handleEvent()
222 gWindowI.showKeyboard(instance, false); in handleEvent()
[all …]
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsSource.java26 static NewsSource instance = null; field in NewsSource
36 if (instance == null) { in getInstance()
37 instance = new NewsSource(); in getInstance()
39 return instance; in getInstance()
/development/samples/BrowserPlugin/jni/navigation/
DNavigationPlugin.cpp42 static void inval(NPP instance) { in inval() argument
43 browser->invalidaterect(instance, NULL); in inval()
54 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument
57 PluginObject *obj = reinterpret_cast<PluginObject*>(instance->pdata); in inval()
63 browser->invalidaterect(instance, &inval); in inval()
113 NPP instance = this->inst(); in draw() local
114 PluginObject *obj = (PluginObject*) instance->pdata; in draw()
167 NPP instance = this->inst(); in handleEvent() local
182 gLogI.log(kDebug_ANPLogType, "----%p Loosing Focus", instance); in handleEvent()
184 inval(instance); in handleEvent()
[all …]
/development/samples/BrowserPlugin/jni/animation/
DAnimationPlugin.cpp118 NPP instance = this->inst(); in showEntirePluginOnScreen() local
119 PluginObject *obj = (PluginObject*) instance->pdata; in showEntirePluginOnScreen()
123 ANPRectI visibleRect = gWindowI.visibleRect(instance); in showEntirePluginOnScreen()
134 gWindowI.setVisibleRects(instance, visibleRects, 1); in showEntirePluginOnScreen()
135 gWindowI.clearVisibleRects(instance); in showEntirePluginOnScreen()
139 NPP instance = this->inst(); in handleEvent() local
/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c339 android_app_free((struct android_app*)activity->instance); in onDestroy()
344 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_START); in onStart()
349 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_RESUME); in onResume()
353 struct android_app* android_app = (struct android_app*)activity->instance; in onSaveInstanceState()
378 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_PAUSE); in onPause()
383 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_STOP); in onStop()
387 struct android_app* android_app = (struct android_app*)activity->instance; in onConfigurationChanged()
393 struct android_app* android_app = (struct android_app*)activity->instance; in onLowMemory()
400 android_app_write_cmd((struct android_app*)activity->instance, in onWindowFocusChanged()
406 android_app_set_window((struct android_app*)activity->instance, window); in onNativeWindowCreated()
[all …]
/development/samples/BrowserPlugin/jni/audio/
DAudioPlugin.cpp43 static void inval(NPP instance) { in inval() argument
44 browser->invalidaterect(instance, NULL); in inval()
55 static void inval(NPP instance, const ANPRectF& r, bool doAA) { in inval() argument
58 PluginObject *obj = reinterpret_cast<PluginObject*>(instance->pdata); in inval()
64 browser->invalidaterect(instance, &inval); in inval()
83 inval(play->instance); in audioCallback()
106 m_soundPlay->instance = inst; in AudioPlugin()
276 NPP instance = this->inst(); in handleEvent() local
331 NPP instance = this->inst(); in handleTouch() local
336 instance); in handleTouch()
[all …]
DAudioPlugin.h33 NPP instance; member
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/
DLogBuildNumber.java134 UiScrollable aboutSettingsList = new UiScrollable(SettingsHelper.LIST_VIEW.instance(1)); in getAboutItem()
136 aboutSettingsList = new UiScrollable(SettingsHelper.LIST_VIEW.instance(0)); in getAboutItem()
146 new UiSelector().className(android.widget.TextView.class.getName()).instance(1)); in getAboutItem()
DSetTwoMinuteAlarm.java106 android.widget.NumberPicker.class.getName()).instance(1); in setAlarm()
108 new UiSelector().className(android.widget.Button.class.getName()).instance(1)); in setAlarm()
/development/host/windows/usb/winusb/
DAdbWinUsbApi.cpp29 extern "C" BOOL WINAPI DllMain(HINSTANCE instance, in DllMain() argument
/development/tools/axl/
Dsingletonmixin.py75 instance = cls.__new__(cls)
76 instance.__init__(*lstArgs)
77 cls.cInstance = instance
/development/host/windows/usb/api/
DAdbWinApi.cpp101 extern "C" BOOL WINAPI DllMain(HINSTANCE instance, in DllMain() argument
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dapp-win32.c206 int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, in WinMain() argument
219 sInstance = instance; in WinMain()
249 NULL, NULL, instance, NULL); in WinMain()
/development/ndk/platforms/android-9/include/android/
Dnative_activity.h94 void* instance; member
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py105 ContactForm(instance=contact))
110 data = ContactForm(data=self.request.POST, instance=contact)
/development/samples/BrowserPlugin/jni/paint/
DPaintPlugin.cpp142 NPP instance = this->inst(); in drawCleanPlugin() local
143 PluginObject *obj = (PluginObject*) instance->pdata; in drawCleanPlugin()
/development/tools/apkcheck/
DREADME.txt118 gimmeFoo()" so long as MegaFoo is an instance of Foo. In that case it
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt503 instance - n. an occurrence of something
777 prohibition - n. the action of prohibiting or inhibiting or forbidding (or an instance thereof)