Searched defs:object (Results 51 - 75 of 76) sorted by path

1234

/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java81 // Sets up the WebView and injects the supplied object. Intended to be called from setUp().
82 protected void setUpWebView(final Object object, final String name) throws Exception { argument
87 // loading so that the Java object is injected.
93 webView.addJavascriptInterface(object, name);
/frameworks/base/tools/aidl/
H A DAST.h85 Expression* object; member in struct:FieldVariable
89 FieldVariable(Expression* object, const string& name);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DStack.java40 * Pushes the given object to the stack
41 * @param object the object to push
43 public void push(T object) { argument
44 add(object);
48 * Remove the object at the top of the stack and returns it.
49 * @return the removed object or null if the stack was empty.
60 * Returns the object at the top of the stack.
61 * @return the object at the top or null if the stack is empty.
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c266 * Prior to this the only "object" support we can provide is for those
382 // if its weak ask for an object (only matters under GC)
545 When a __block variable is either a C++ object, an Objective-C object, or another Block then the compiler also generates copy/dispose helper functions. Similarly to the Block copy helper, the "__block" copy helper (formerly and still a.k.a. "byref" copy helper) will do a C++ copy constructor (not a const one though!) and the dispose helper will do the destructor. And similarly the helpers will call into the same two support functions with the same values for objects and Blocks with the additional BLOCK_BYREF_CALLER (128) bit of information supplied.
561 void _Block_object_assign(void *destAddr, const void *object, const int flags) { argument
562 //printf("_Block_object_assign(*%p, %p, %x)\n", destAddr, object, flags);
565 _Block_assign_weak(object, destAddr);
569 _Block_assign((void *)object, destAddr);
575 _Block_byref_assign_copy(destAddr, object, flags);
580 _Block_assign(_Block_copy_internal(object, flag
594 _Block_object_dispose(const void *object, const int flags) argument
[all...]
/frameworks/compile/linkloader/android/
H A Dlibrsloader.cpp31 static inline RSExecRef wrap(ELFObject<32> *object) { argument
32 return reinterpret_cast<RSExecRef>(object);
35 static inline ELFObject<32> *unwrap(RSExecRef object) { argument
36 return reinterpret_cast<ELFObject<32> *>(object);
43 RSExecRef object = rsloaderLoadExecutable(buf, buf_size); local
44 if (!object) {
48 if (!rsloaderRelocateExecutable(object, find_symbol, find_symbol_context)) {
49 rsloaderDisposeExec(object);
53 return object;
60 llvm::OwningPtr<ELFObject<32> > object(ELFObjec
72 ELFObject<32>* object = unwrap(object_); local
80 ELFObject<32> *object = unwrap(object_); local
100 rsloaderDisposeExec(RSExecRef object) argument
106 ELFObject<32> *object = unwrap(object_); local
128 ELFObject<32> *object = unwrap(object_); local
147 rsloaderGetFuncCount(RSExecRef object) argument
158 rsloaderGetFuncNameList(RSExecRef object, size_t size, char const **list) argument
[all...]
H A Dtest-librsloader.c96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0); local
97 if (!object) {
98 fprintf(stderr, "ERROR: Unable to load elf object.\n");
104 (int (*)(int, char **))rsloaderGetSymbolAddress(object, "main");
108 printf("ELF object finished with code: %d\n", ret);
111 rsloaderDisposeExec(object);
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java46 /** Mapping of instantiated object to row ID */
109 public void destroyItem(View container, int position, Object object) { argument
110 mObjectRowMap.remove(object);
112 super.destroyItem(container, position, object);
116 public int getItemPosition(Object object) { argument
117 final Integer rowId = mObjectRowMap.get(object);
H A DBaseFragmentPagerAdapter.java101 public void destroyItem(View container, int position, Object object) { argument
105 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object
106 + " v=" + ((Fragment)object).getView());
108 Fragment fragment = (Fragment) object;
122 public void setPrimaryItem(View container, int position, Object object) { argument
123 Fragment fragment = (Fragment) object;
146 public boolean isViewFromObject(View view, Object object) { argument
148 View root = ((Fragment) object).getView();
/frameworks/native/include/binder/
H A DBpBinder.h53 void* object,
71 void* object,
85 void* object; member in struct:android::BpBinder::ObjectManager::entry_t
/frameworks/native/libs/binder/
H A DBinder.cpp138 const void* objectID, void* object, void* cleanupCookie,
154 e->mObjects.attach(objectID, object, cleanupCookie, func);
218 // the BpRefBase object holding it (when it is constructed), to the
219 // owner of the BpRefBase object when it first acquires that BpRefBase.
137 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
H A DBpBinder.cpp44 const void* objectID, void* object, void* cleanupCookie,
48 e.object = object;
53 ALOGE("Trying to attach object ID %p to binder ObjectManager %p with object %p, but object ID already in use",
54 objectID, this, object);
65 return mObjects.valueAt(i).object;
80 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie);
123 // we're returning a reference to a non-static object her
43 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument
286 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
[all...]
H A DProcessState.cpp84 void ProcessState::setContextObject(const sp<IBinder>& object) argument
86 setContextObject(object, String16("default"));
94 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument
97 mContexts.add(name, object);
103 sp<IBinder> object(
107 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
109 if (object != NULL) return object;
126 object = reply.readStrongBinder();
132 if (object !
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp89 void egl_display_t::addObject(egl_object_t* object) { argument
91 objects.add(object);
94 void egl_display_t::removeObject(egl_object_t* object) { argument
96 objects.remove(object);
99 bool egl_display_t::getObject(egl_object_t* object) const {
101 if (objects.indexOf(object) >= 0) {
102 if (object->getDisplay() == this) {
103 object->incRef();
312 // this marks all object handles are "terminated"
H A Degl_object.cpp44 // this marks the object as "terminated"
58 bool egl_object_t::get(egl_display_t const* display, egl_object_t* object) { argument
60 // checking that the object is valid.
61 return display->getObject(object);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp7314 void GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) { argument
7326 // copy argument object
7330 arg_object->add_intvalue(object);
7347 glContext->hooks->gl.glLabelObjectEXT(type, object, length, label);
7361 void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) { argument
7373 // copy argument object
7377 arg_object->add_intvalue(object);
7400 glContext->hooks->gl.glGetObjectLabelEXT(type, object, bufSize, length, label);
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c69 // Definition of one GL object in this demo.
105 static void freeGLObject(GLOBJECT *object) argument
107 if (object == NULL)
109 free(object->normalArray);
110 free(object->colorArray);
111 free(object->vertexArray);
112 free(object);
146 static void drawGLObject(GLOBJECT *object) argument
148 assert(object != NULL);
150 glVertexPointer(object
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseCursorPagerAdapter.java45 /** Mapping of instantiated object to row ID */
110 public void destroyItem(View container, int position, Object object) { argument
111 mObjectRowMap.remove(object);
113 super.destroyItem(container, position, object);
117 public int getItemPosition(Object object) { argument
118 final Integer rowId = mObjectRowMap.get(object);
H A DBaseFragmentPagerAdapter.java105 public void destroyItem(View container, int position, Object object) { argument
109 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object
110 + " v=" + ((Fragment)object).getView());
112 Fragment fragment = (Fragment) object;
126 public void setPrimaryItem(View container, int position, Object object) { argument
127 Fragment fragment = (Fragment) object;
150 public boolean isViewFromObject(View view, Object object) { argument
152 View root = ((Fragment) object).getView();
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentPagerAdapter.java115 public void destroyItem(ViewGroup container, int position, Object object) { argument
119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
120 + " v=" + ((Fragment)object).getView());
121 mCurTransaction.detach((Fragment)object);
125 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
126 Fragment fragment = (Fragment)object;
150 public boolean isViewFromObject(View view, Object object) { argument
151 return ((Fragment)object).getView() == view;
H A DFragmentStatePagerAdapter.java129 public void destroyItem(ViewGroup container, int position, Object object) { argument
130 Fragment fragment = (Fragment)object;
135 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
136 + " v=" + ((Fragment)object).getView());
147 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
148 Fragment fragment = (Fragment)object;
172 public boolean isViewFromObject(View view, Object object) { argument
173 return ((Fragment)object).getView() == view;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentPagerAdapter.java111 public void destroyItem(ViewGroup container, int position, Object object) { argument
115 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
116 + " v=" + ((Fragment)object).getView());
117 mCurTransaction.detach((Fragment)object);
121 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
122 Fragment fragment = (Fragment)object;
146 public boolean isViewFromObject(View view, Object object) { argument
147 return ((Fragment)object).getView() == view;
H A DFragmentStatePagerAdapter.java125 public void destroyItem(ViewGroup container, int position, Object object) { argument
126 Fragment fragment = (Fragment)object;
131 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
132 + " v=" + ((Fragment)object).getView());
143 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
144 Fragment fragment = (Fragment)object;
168 public boolean isViewFromObject(View view, Object object) { argument
169 return ((Fragment)object).getView() == view;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerAdapter.java62 * whether a page View is associated with a given key object.</p>
69 * could be implemented as <code>return view == object;</code>.</p>
120 * @param object The same object that was returned by
123 public void destroyItem(ViewGroup container, int position, Object object) { argument
124 destroyItem((View) container, position, object);
133 * @param object The same object that was returned by
136 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
137 setPrimaryItem((View) container, position, object);
191 destroyItem(View container, int position, Object object) argument
206 setPrimaryItem(View container, int position, Object object) argument
230 isViewFromObject(View view, Object object) argument
267 getItemPosition(Object object) argument
[all...]
H A DViewPager.java101 Object object; field in class:ViewPager.ItemInfo
408 mAdapter.destroyItem(this, ii.position, ii.object);
801 ii.object = mAdapter.instantiateItem(this, position);
821 final int newPos = mAdapter.getItemPosition(ii.object);
836 mAdapter.destroyItem(this, ii.position, ii.object);
948 mAdapter.destroyItem(this, pos, ii.object);
951 " view: " + ((View) ii.object));
980 mAdapter.destroyItem(this, pos, ii.object);
983 " view: " + ((View) ii.object));
1010 mAdapter.setPrimaryItem(this, mCurItem, curItem != null ? curItem.object
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java914 * @param object The info to wrap.
915 * @return A wrapper for if the object is not null, null otherwise.
917 static AccessibilityNodeInfoCompat wrapNonNullInstance(Object object) { argument
918 if (object != null) {
919 return new AccessibilityNodeInfoCompat(object);
1719 * <strong>Note:</strong> You must not touch the object after calling this function.

Completed in 1333 milliseconds

1234