/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | FragmentShader.java | 150 ScriptField_FragmentShader_s.Item item = new ScriptField_FragmentShader_s.Item(); 151 item.program = mProgram; 155 item.shaderTextureParams = texParams.getAllocation(); 160 item.shaderConst = mConstantBuffer; 161 item.shaderConstParams = mConstantBufferParams.getAllocation(); 162 mProgram.bindConstants(item.shaderConst, 0); 165 item.objectConstIndex = -1; 167 item.objectConstIndex = mPerShaderConstants != null ? 1 : 0; 171 mField.set(item, 0, true);
|
/frameworks/native/include/utils/ |
H A D | VectorImpl.h | 76 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 79 void push(const void* item); 81 ssize_t add(const void* item); 83 ssize_t replaceAt(const void* item, size_t index); 104 virtual void do_splat(void* dest, const void* item, size_t num) const = 0; 125 inline void _do_splat(void* dest, const void* item, size_t num) const; 149 //! finds the index of an item 150 ssize_t indexOf(const void* item) const; 152 //! finds where this item should be inserted 153 size_t orderOf(const void* item) cons [all...] |
H A D | SortedVector.h | 84 //! finds the index of an item 85 ssize_t indexOf(const TYPE& item) const; 87 //! finds where this item should be inserted 88 size_t orderOf(const TYPE& item) const; 95 //! read-only access to an item at a given index 106 //! add an item in the right place (and replace the one that is there) 107 ssize_t add(const TYPE& item); 109 //! editItemAt() MUST NOT change the order of this item 118 //! removes an item 123 //! remove one item 206 add(const TYPE& item) argument 231 remove(const TYPE& item) argument 258 do_splat(void* dest, const void* item, size_t num) const argument [all...] |
H A D | Vector.h | 96 //! read-only access to an item at a given index 107 //! copy-on write support, grants write access to an item 135 //! insert one or several items initialized from a prototype item 139 //! pushes an item initialized with its default constructor 141 //! pushes an item on the top of the stack 142 void push(const TYPE& item); 143 //! same as push() but returns the index the item was added at (or an error) 145 //! same as push() but returns the index the item was added at (or an error) 146 ssize_t add(const TYPE& item); 147 //! replace an item wit 188 push_back(const TYPE& item) argument 189 push_front(const TYPE& item) argument 320 insertAt(const TYPE& item, size_t index, size_t numItems) argument 325 push(const TYPE& item) argument 330 add(const TYPE& item) argument 335 replaceAt(const TYPE& item, size_t index) argument 397 do_splat(void* dest, const void* item, size_t num) const argument [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselRS.java | 545 ScriptField_ProgramStore_s.Item item = mProgramStoresCard.get(n); 546 if (item == null) { 547 item = new ScriptField_ProgramStore_s.Item(); 549 item.programStore = programStore; 550 mProgramStoresCard.set(item, n, false); 686 ScriptField_Card.Item item; 688 item = mCards.get(n); 691 if (DBG) Log.v(TAG, "getCard(): no item at index " + n); 692 item = null; 694 return item; 706 setCard(int n, ScriptField_Card.Item item) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPresenter.java | 87 * Called by Menu implementations to indicate that a submenu item 113 * Called when a menu item with a collapsable action view should expand its action view. 115 * @param menu Menu containing the item to be expanded 116 * @param item Item to be expanded 119 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); argument 122 * Called when a menu item with a collapsable action view should collapse its action view. 124 * @param menu Menu containing the item to be collapsed 125 * @param item Item to be collapsed 128 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); argument
|
H A D | ActionMenuPresenter.java | 154 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { argument 155 View actionView = item.getActionView(); 156 if (actionView == null || item.hasCollapsibleActionView()) { 160 actionView = super.getItemView(item, convertView, parent); 162 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 173 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { argument 174 itemView.initialize(item, 0); 182 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 183 return item.isActionButton(); 260 private View findViewForItem(MenuItem item) { argument [all...] |
H A D | IconMenuPresenter.java | 58 public void bindItemView(MenuItemImpl item, ItemView itemView) { argument 60 view.setItemData(item); 62 view.initialize(item.getTitleForItemView(view), item.getIcon()); 64 view.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 74 return fits && !item.isActionButton(); 150 MenuItem item = mMenu.findItem(subMenuId); 151 if (item != null) { 152 onSubMenuSelected((SubMenuBuilder) item [all...] |
/frameworks/native/include/gui/ |
H A D | BufferItemConsumer.h | 48 // Create a new buffer item consumer. The consumerUsage parameter determines 74 status_t acquireBuffer(BufferItem *item, bool waitForFence = true); 82 status_t releaseBuffer(const BufferItem &item,
|
/frameworks/base/core/java/android/content/pm/ |
H A D | XmlSerializerAndParser.java | 28 void writeAsXml(T item, XmlSerializer out) throws IOException; argument
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 61 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); 62 if (item.exists()) { 119 UiObject item = row.getChild(new UiSelector().text(text)); 120 if (item.exists()) {
|
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 140 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) argument 146 if (item) { 147 _do_splat(where, item, numItems); 176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); local 178 if (cmp(curr, item, state) > 0) { 186 item = reinterpret_cast<char*>(array) + mItemSize*(i); 192 _do_copy(temp, item, 1); 229 void VectorImpl::push(const void* item) argument 231 insertAt(item, size()); 239 ssize_t VectorImpl::add(const void* item) argument 258 void* item = editItemLocation(index); local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | BaseAdapter.java | 57 protected AdapterItem(DataBindingItem item, int type, int fullPosition, argument 59 mItem = item; 141 protected View getView(AdapterItem item, AdapterItem parentItem, View convertView, argument 144 DataBindingItem dataBindingItem = item.getDataBindingItem(); 155 fillView(context, view, item, parentItem); 166 private void fillView(BridgeContext context, View view, AdapterItem item, argument 172 fillView(context, group.getChildAt(i), item, parentItem); 179 int fullPosition = item.getFullPosition(); 180 int positionPerType = item.getPositionPerType(); 189 item [all...] |
/frameworks/support/volley/tests/src/com/android/volley/mock/ |
H A D | WaitableQueue.java | 45 Request<?> item = super.take(); 46 if (item == mStopRequest) { 50 return item;
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 291 BufferQueue::BufferItem item; local 296 status_t err = mBufferQueue->acquireBuffer(&item); 303 if (item.mGraphicBuffer != NULL) { 304 mBufferSlot[item.mBuf] = item.mGraphicBuffer; 309 mFirstFrameTimestamp = item.mTimestamp; 312 if (item.mTimestamp < mStartTimeNs) { 314 mBufferQueue->releaseBuffer(item.mBuf, EGL_NO_DISPLAY, 318 mStartTimeNs = item.mTimestamp - mStartTimeNs; 321 item [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebHistoryItemClassic.java | 31 // The favicon for this item. 45 * Basic constructor that assigns a unique id to the item. Called by JNI 75 * Construct a clone of a WebHistoryItem from the given item. 76 * @param item The history item to clone. 78 private WebHistoryItemClassic(WebHistoryItemClassic item) { argument 79 mFlattenedData = item.mFlattenedData; 80 mId = item.mId; 81 mFavicon = item.mFavicon; 82 mNativeBridge = item [all...] |
H A D | WebBackForwardListClassic.java | 76 * Add a new history item to the list. This will remove all items after the 77 * current item and append the new item to the end of the list. Called from 80 * @param item A new history item. 82 /*package*/ synchronized void addHistoryItem(WebHistoryItem item) { argument 83 // Update the current position because we are going to add the new item 87 // after the current item. 95 // Add the item to the list. 96 mArray.add((WebHistoryItemClassic) item); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ListContextMenu.java | 81 view.setText("List item " + mTitles[position]); 99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name"); 100 item.setTitleCondensed("Long name"); 101 item.setIcon(R.drawable.black_square); 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 104 item = sm.getItem(); 105 item.setTitleCondensed("Sub menu"); 177 public boolean onOptionsItemSelected(MenuItem item) { argument 178 Log.i(TAG, "Options item " 189 onContextItemSelected(MenuItem item) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | SortedList.h | 71 ssize_t indexOf(const TYPE& item) const; 72 size_t orderOf(const TYPE& item) const; 79 ssize_t add(const TYPE& item); 99 virtual void do_splat(void* dest, const void* item, size_t num) const; 170 inline ssize_t SortedList<TYPE>::add(const TYPE& item) { 171 return SortedListImpl::add(&item); 175 inline ssize_t SortedList<TYPE>::indexOf(const TYPE& item) const { 176 return SortedListImpl::indexOf(&item); 180 inline size_t SortedList<TYPE>::orderOf(const TYPE& item) const { 181 return SortedListImpl::orderOf(&item); [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 42 * each of which can hold one or more representations of an item of data. 79 * since any clip item an always be converted to a string. 82 * "content:" URIs. A content URI allows the recipient of a ClippedData item 166 * Description of a single item in a ClippedData. 168 * <p>The types than an individual item can currently contain are:</p> 176 * to create when pasting a clipped item on to the home screen. 290 * Turn this item into text, regardless of the type of data it 308 * @return Returns the item's textual representation. 383 * @return Returns the item's textual representation. 409 * Turn this item int 619 ClipData(CharSequence label, String[] mimeTypes, Item item) argument 635 ClipData(ClipDescription description, Item item) argument 766 addItem(Item item) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 26 * Interface for direct access to a previously created menu item. 43 /** Never show this item as a button in an Action Bar. */ 45 /** Show this item as a button in an Action Bar if the system decides there is room for it. */ 48 * Always show this item as a button in an Action Bar. 56 * When this item is in the action bar, always show it with a text label even if 62 * This item's action view collapses to a normal menu item. 69 * Interface definition for a callback to be invoked when a menu item is 77 * Called when a menu item has been invoked. This is the first code 81 * @param item Th 86 onMenuItemClick(MenuItem item) argument 105 onMenuItemActionExpand(MenuItem item) argument 113 onMenuItemActionCollapse(MenuItem item) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | PopupMenu.java | 120 * Set a listener that will be notified when the user selects an item from the menu. 140 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument 142 return mMenuItemClickListener.onMenuItemClick(item); 184 * Interface responsible for receiving menu item click events if the items themselves 185 * do not have individual item click listeners. 189 * This method will be invoked when a menu item is clicked if the item itself did 192 * @param item {@link MenuItem} that was clicked 195 public boolean onMenuItemClick(MenuItem item); argument
|
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 103 jobject item = env->GetObjectArrayElement(value, copied); local 104 if (item == NULL || env->IsInstanceOf(item, gStringClass)) { 106 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; 113 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str); 114 } else if (env->IsInstanceOf(item, gIntegerClass)) { 115 jint intVal = env->GetIntField(item, gIntegerValueID); 120 } else if (env->IsInstanceOf(item, gLongClas [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListWithEmptyView.java | 84 public boolean onOptionsItemSelected(MenuItem item) { argument 85 switch (item.getItemId()) { 97 return super.onOptionsItemSelected(item);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ClipboardService.java | 220 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { argument 221 if (item.getUri() != null) { 222 checkUriOwnerLocked(item.getUri(), uid); 224 Intent intent = item.getIntent(); 248 private final void grantItemLocked(ClipData.Item item, String pkg) { argument 249 if (item.getUri() != null) { 250 grantUriLocked(item.getUri(), pkg); 252 Intent intent = item.getIntent(); 298 private final void revokeItemLocked(ClipData.Item item) { argument 299 if (item [all...] |