Home
last modified time | relevance | path

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

/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DPools.java65 public boolean release(T instance); in release() argument
101 T instance = (T) mPool[lastPooledIndex]; in acquire() local
104 return instance; in acquire()
110 public boolean release(T instance) { in release() argument
111 if (isInPool(instance)) { in release()
115 mPool[mPoolSize] = instance; in release()
122 private boolean isInPool(T instance) { in isInPool() argument
124 if (mPool[i] == instance) { in isInPool()
/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/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c338 android_app_free((struct android_app*)activity->instance); in onDestroy()
343 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_START); in onStart()
348 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_RESUME); in onResume()
352 struct android_app* android_app = (struct android_app*)activity->instance; in onSaveInstanceState()
377 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_PAUSE); in onPause()
382 android_app_set_activity_state((struct android_app*)activity->instance, APP_CMD_STOP); in onStop()
386 struct android_app* android_app = (struct android_app*)activity->instance; in onConfigurationChanged()
392 struct android_app* android_app = (struct android_app*)activity->instance; in onLowMemory()
399 android_app_write_cmd((struct android_app*)activity->instance, in onWindowFocusChanged()
405 android_app_set_window((struct android_app*)activity->instance, window); in onNativeWindowCreated()
[all …]
/development/ndk/sources/android/ndk_helper/
DGLContext.h87 static GLContext instance; in GetInstance() local
89 return &instance; in GetInstance()
/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/tools/axl/
Dsingletonmixin.py75 instance = cls.__new__(cls)
76 instance.__init__(*lstArgs)
77 cls.cInstance = instance
/development/host/windows/usb/winusb/
DAdbWinUsbApi.cpp29 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/host/windows/usb/api/
DAdbWinApi.cpp101 extern "C" BOOL WINAPI DllMain(HINSTANCE instance, in DllMain() argument
/development/ndk/platforms/android-21/include/linux/
Dtipc.h30 __u32 instance; member
/development/ndk/platforms/android-13/include/android/
Dnative_activity.h94 void* instance; member
/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/tools/apkcheck/
DREADME.txt118 gimmeFoo()" so long as MegaFoo is an instance of Foo. In that case it
/development/perftests/panorama/feature_mos/doc/
Dfeature_mos_API_doxyfile196 # For instance, some of the names that are used will be different. The list
203 # Java. For instance, namespaces will be presented as packages, qualified
225 # Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
269 # the same type (for instance a group of public functions) to be put as a
850 # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
/development/perftests/panorama/feature_stab/doc/
Ddbreg_API_doxyfile196 # For instance, some of the names that are used will be different. The list
203 # Java. For instance, namespaces will be presented as packages, qualified
225 # Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
269 # the same type (for instance a group of public functions) to be put as a
850 # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
/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)