/frameworks/support/v4/java/android/support/v4/view/ |
D | MenuItemCompat.java | 72 void setShowAsAction(MenuItem item, int actionEnum); in setShowAsAction() argument 73 MenuItem setActionView(MenuItem item, View view); in setActionView() argument 74 MenuItem setActionView(MenuItem item, int resId); in setActionView() argument 75 View getActionView(MenuItem item); in getActionView() argument 76 boolean expandActionView(MenuItem item); in expandActionView() argument 77 boolean collapseActionView(MenuItem item); in collapseActionView() argument 78 boolean isActionViewExpanded(MenuItem item); in isActionViewExpanded() argument 79 MenuItem setOnActionExpandListener(MenuItem item, OnActionExpandListener listener); in setOnActionExpandListener() argument 99 public boolean onMenuItemActionExpand(MenuItem item); in onMenuItemActionExpand() argument 108 public boolean onMenuItemActionCollapse(MenuItem item); in onMenuItemActionCollapse() argument [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 67 Item *item = &mItems[i]; in clear() local 68 delete[] item->mName; in clear() 69 item->mName = NULL; in clear() 70 freeItemValue(item); in clear() 75 void AMessage::freeItemValue(Item *item) { in freeItemValue() argument 76 switch (item->mType) { in freeItemValue() 79 delete item->u.stringValue; in freeItemValue() 87 if (item->u.refValue != NULL) { in freeItemValue() 88 item->u.refValue->decStrong(this); in freeItemValue() 167 Item *item; in allocateItem() local [all …]
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 79 const RingBufferItem& item = *it; in pinSelectedBuffer() local 81 cur.mCrop = item.mCrop; in pinSelectedBuffer() 82 cur.mTransform = item.mTransform; in pinSelectedBuffer() 83 cur.mScalingMode = item.mScalingMode; in pinSelectedBuffer() 84 cur.mTimestamp = item.mTimestamp; in pinSelectedBuffer() 85 cur.mFrameNumber = item.mFrameNumber; in pinSelectedBuffer() 86 cur.mPinned = item.mPinCount > 0; in pinSelectedBuffer() 164 void RingBufferConsumer::pinBufferLocked(const BufferItem& item) { in pinBufferLocked() argument 172 if (item.mGraphicBuffer == find.mGraphicBuffer) { in pinBufferLocked() 180 item.mTimestamp, item.mFrameNumber); in pinBufferLocked() [all …]
|
/frameworks/support/v4/ics/android/support/v4/view/ |
D | MenuItemCompatIcs.java | 23 public static boolean expandActionView(MenuItem item) { in expandActionView() argument 24 return item.expandActionView(); in expandActionView() 27 public static boolean collapseActionView(MenuItem item) { in collapseActionView() argument 28 return item.collapseActionView(); in collapseActionView() 31 public static boolean isActionViewExpanded(MenuItem item) { in isActionViewExpanded() argument 32 return item.isActionViewExpanded(); in isActionViewExpanded() 35 public static MenuItem setOnActionExpandListener(MenuItem item, in setOnActionExpandListener() argument 37 return item.setOnActionExpandListener(new OnActionExpandListenerWrapper(listener)); in setOnActionExpandListener() 46 boolean onMenuItemActionExpand(MenuItem item); in onMenuItemActionExpand() argument 47 boolean onMenuItemActionCollapse(MenuItem item); in onMenuItemActionCollapse() argument [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | FrameProcessorBase.cpp | 52 List<RangeListener>::iterator item = mRangeListeners.begin(); in registerListener() local 53 while (item != mRangeListeners.end()) { in registerListener() 54 if (item->minId == minId && in registerListener() 55 item->maxId == maxId && in registerListener() 56 item->listener == listener) { in registerListener() 62 item++; in registerListener() 75 List<RangeListener>::iterator item = mRangeListeners.begin(); in removeListener() local 76 while (item != mRangeListeners.end()) { in removeListener() 77 if (item->minId == minId && in removeListener() 78 item->maxId == maxId && in removeListener() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 169 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); in onMenuItemSelected() argument 183 public boolean invokeItem(MenuItemImpl item); in invokeItem() argument 241 final MenuPresenter item = ref.get(); in removeMenuPresenter() local 242 if (item == null || item == presenter) { in removeMenuPresenter() 342 final MenuItem item = getItem(i); in saveActionViewStates() local 343 final View v = item.getActionView(); in saveActionViewStates() 349 if (item.isActionViewExpanded()) { in saveActionViewStates() 350 outStates.putInt(EXPANDED_ACTION_VIEW_ID, item.getItemId()); in saveActionViewStates() 353 if (item.hasSubMenu()) { in saveActionViewStates() 354 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu(); in saveActionViewStates() [all …]
|
D | ActionMenu.java | 64 ActionMenuItem item = new ActionMenuItem(getContext(), in add() local 66 mItems.add(order, item); in add() 67 return item; in add() 89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions() local 93 outSpecificItems[ri.specificIndex] = item; in addIntentOptions() 168 ActionMenuItem item = items.get(i); in findItemWithShortcut() local 169 final char shortcut = qwerty ? item.getAlphabeticShortcut() : in findItemWithShortcut() 170 item.getNumericShortcut(); in findItemWithShortcut() 172 return item; in findItemWithShortcut() 192 ActionMenuItem item = findItemWithShortcut(keyCode, event); in performShortcut() local [all …]
|
D | SubMenuBuilder.java | 34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() argument 38 mItem = item; in SubMenuBuilder() 80 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { in dispatchMenuItemSelected() argument 81 return super.dispatchMenuItemSelected(menu, item) || in dispatchMenuItemSelected() 82 mParentMenu.dispatchMenuItemSelected(menu, item); in dispatchMenuItemSelected() 116 public boolean expandItemActionView(MenuItemImpl item) { in expandItemActionView() argument 117 return mParentMenu.expandItemActionView(item); in expandItemActionView() 121 public boolean collapseItemActionView(MenuItemImpl item) { in collapseItemActionView() argument 122 return mParentMenu.collapseItemActionView(item); in collapseItemActionView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuBuilder.java | 191 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); in onMenuItemSelected() argument 206 public boolean invokeItem(MenuItemImpl item); in invokeItem() argument 263 final MenuPresenter item = ref.get(); in removeMenuPresenter() local 264 if (item == null || item == presenter) { in removeMenuPresenter() 364 final MenuItem item = getItem(i); in saveActionViewStates() local 365 final View v = MenuItemCompat.getActionView(item); in saveActionViewStates() 371 if (MenuItemCompat.isActionViewExpanded(item)) { in saveActionViewStates() 372 outStates.putInt(EXPANDED_ACTION_VIEW_ID, item.getItemId()); in saveActionViewStates() 375 if (item.hasSubMenu()) { in saveActionViewStates() 376 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu(); in saveActionViewStates() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 362 BufferQueue::BufferItem item; in suspend() local 363 status_t err = mConsumer->acquireBuffer(&item, 0); in suspend() 376 mConsumer->releaseBuffer(item.mBuf, item.mFrameNumber, in suspend() 377 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, item.mFence); in suspend() 412 BufferQueue::BufferItem item; in fillCodecBuffer_l() local 413 status_t err = mConsumer->acquireBuffer(&item, 0); in fillCodecBuffer_l() 427 err = item.mFence->waitForever("GraphicBufferSource::fillCodecBuffer_l"); in fillCodecBuffer_l() 435 if (item.mGraphicBuffer != NULL) { in fillCodecBuffer_l() 436 ALOGV("fillCodecBuffer_l: setting mBufferSlot %d", item.mBuf); in fillCodecBuffer_l() 437 mBufferSlot[item.mBuf] = item.mGraphicBuffer; in fillCodecBuffer_l() [all …]
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
D | MenuItemCompatHoneycomb.java | 26 public static void setShowAsAction(MenuItem item, int actionEnum) { in setShowAsAction() argument 27 item.setShowAsAction(actionEnum); in setShowAsAction() 30 public static MenuItem setActionView(MenuItem item, View view) { in setActionView() argument 31 return item.setActionView(view); in setActionView() 34 public static MenuItem setActionView(MenuItem item, int resId) { in setActionView() argument 35 return item.setActionView(resId); in setActionView() 38 public static View getActionView(MenuItem item) { in getActionView() argument 39 return item.getActionView(); in getActionView()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 621 public ClipData(CharSequence label, String[] mimeTypes, Item item) { in ClipData() argument 623 if (item == null) { in ClipData() 628 mItems.add(item); in ClipData() 637 public ClipData(ClipDescription description, Item item) { in ClipData() argument 639 if (item == null) { in ClipData() 644 mItems.add(item); in ClipData() 668 Item item = new Item(text); in newPlainText() local 669 return new ClipData(label, MIMETYPES_TEXT_PLAIN, item); in newPlainText() 684 Item item = new Item(text, htmlText); in newHtmlText() local 685 return new ClipData(label, MIMETYPES_TEXT_HTML, item); in newHtmlText() [all …]
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackHandler.java | 41 private void stop(PlaybackQueueItem item) { in stop() argument 42 if (item == null) { in stop() 46 item.stop(TextToSpeech.STOPPED); in stop() 49 public void enqueue(PlaybackQueueItem item) { in enqueue() argument 51 mQueue.put(item); in enqueue() 106 final PlaybackQueueItem item = it.next(); in removeWorkItemsFor() local 107 if (item.getCallerIdentity() == callerIdentity) { in removeWorkItemsFor() 121 PlaybackQueueItem item = null; in run() local 123 item = mQueue.take(); in run() 133 mCurrentWorkItem = item; in run() [all …]
|
D | PlaybackSynthesisCallback.java | 69 SynthesisPlaybackQueueItem item; in stop() local 79 item = mItem; in stop() 83 if (item != null) { in stop() 88 item.stop(TextToSpeech.STOPPED); in stop() 146 SynthesisPlaybackQueueItem item = new SynthesisPlaybackQueueItem( in start() local 149 mAudioTrackHandler.enqueue(item); in start() 150 mItem = item; in start() 166 SynthesisPlaybackQueueItem item = null; in audioAvailable() local 179 item = mItem; in audioAvailable() 189 item.put(bufferCopy); in audioAvailable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 200 final Item item = new Item(); in updateItems() local 201 item.icon = R.drawable.ic_qs_cast_on; in updateItems() 202 item.line1 = getDeviceName(device); in updateItems() 203 item.line2 = mContext.getString(R.string.quick_settings_connected); in updateItems() 204 item.tag = device; in updateItems() 205 item.canDisconnect = true; in updateItems() 206 items = new Item[] { item }; in updateItems() 220 final Item item = new Item(); in updateItems() local 221 item.icon = R.drawable.ic_qs_cast_off; in updateItems() 222 item.line1 = getDeviceName(device); in updateItems() [all …]
|
D | BluetoothTile.java | 207 final Item item = new Item(); in updateItems() local 208 item.icon = R.drawable.ic_qs_bluetooth_on; in updateItems() 209 item.line1 = device.name; in updateItems() 211 item.icon = R.drawable.ic_qs_bluetooth_connected; in updateItems() 212 item.line2 = mContext.getString(R.string.quick_settings_connected); in updateItems() 213 item.canDisconnect = true; in updateItems() 215 item.icon = R.drawable.ic_qs_bluetooth_connecting; in updateItems() 216 item.line2 = mContext.getString(R.string.quick_settings_connecting); in updateItems() 218 item.tag = device; in updateItems() 219 items[i++] = item; in updateItems() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ArrayObjectAdapter.java | 65 public int indexOf(Object item) { in indexOf() argument 66 return mItems.indexOf(item); in indexOf() 85 public void add(Object item) { in add() argument 86 add(mItems.size(), item); in add() local 96 public void add(int index, Object item) { in add() argument 97 mItems.add(index, item); in add() 123 public boolean remove(Object item) { in remove() argument 124 int index = mItems.indexOf(item); in remove() 139 public void replace(int position, Object item) { in replace() argument 140 mItems.set(position, item); in replace()
|
/frameworks/base/libs/hwui/utils/ |
D | SortedListImpl.cpp | 40 ssize_t SortedListImpl::indexOf(const void* item) const { in indexOf() 41 return _indexOrderOf(item); in indexOf() 44 size_t SortedListImpl::orderOf(const void* item) const { in orderOf() 46 _indexOrderOf(item, &o); in orderOf() 50 ssize_t SortedListImpl::_indexOrderOf(const void* item, size_t* order) const { in _indexOrderOf() argument 61 const int c = do_compare(curr, item); in _indexOrderOf() 77 ssize_t SortedListImpl::add(const void* item) { in add() argument 79 ssize_t index = _indexOrderOf(item, &order); in add() 80 index = VectorImpl::insertAt(item, order, 1); in add() 117 ssize_t SortedListImpl::remove(const void* item) { in remove() argument [all …]
|
D | SortedListImpl.h | 33 ssize_t indexOf(const void* item) const; 34 size_t orderOf(const void* item) const; 35 ssize_t add(const void* item); 38 ssize_t remove(const void* item); 44 ssize_t _indexOrderOf(const void* item, size_t* order = 0) const; 51 void push(const void* item); 57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 59 ssize_t replaceAt(const void* item, size_t index);
|
/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 56 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, in acquireBuffer() argument 60 if (!item) return BAD_VALUE; in acquireBuffer() 64 err = acquireBufferLocked(item, presentWhen); in acquireBuffer() 73 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer() 81 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer; in acquireBuffer() 86 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, in releaseBuffer() argument 92 err = addReleaseFenceLocked(item.mBuf, item.mGraphicBuffer, releaseFence); in releaseBuffer() 94 err = releaseBufferLocked(item.mBuf, item.mGraphicBuffer, EGL_NO_DISPLAY, in releaseBuffer()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsConfig.java | 262 public int getProvisionedValue(int item) throws ImsException { in getProvisionedValue() argument 265 ret = miConfig.getProvisionedValue(item); in getProvisionedValue() 270 if (DBG) Rlog.d(TAG, "getProvisionedValue(): item = " + item + ", ret =" + ret); in getProvisionedValue() 285 public String getProvisionedStringValue(int item) throws ImsException { in getProvisionedStringValue() argument 288 ret = miConfig.getProvisionedStringValue(item); in getProvisionedStringValue() 293 if (DBG) Rlog.d(TAG, "getProvisionedStringValue(): item = " + item + ", ret =" + ret); in getProvisionedStringValue() 310 public int setProvisionedValue(int item, int value) in setProvisionedValue() argument 315 Rlog.d(TAG, "setProvisionedValue(): item = " + item + in setProvisionedValue() 319 ret = miConfig.setProvisionedValue(item, value); in setProvisionedValue() 325 Rlog.d(TAG, "setProvisionedValue(): item = " + item + in setProvisionedValue() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuScenario.java | 65 MenuItem item; in onCreateOptionsMenu() 67 if ((item = onAddMenuItem(menu, i)) == null) { in onCreateOptionsMenu() 71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i)); in onCreateOptionsMenu() 74 if (item != null) { in onCreateOptionsMenu() 75 mItems[i] = item; in onCreateOptionsMenu() 78 item.setOnMenuItemClickListener(this); in onCreateOptionsMenu() 119 public boolean onMenuItemClick(MenuItem item) { in onMenuItemClick() argument 120 final int position = findItemPosition(item); in onMenuItemClick() 138 public int findItemPosition(MenuItem item) { in findItemPosition() argument 141 if (mItems[i] == item) return i; in findItemPosition()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 293 BufferQueue::BufferItem item; in read() local 298 status_t err = mConsumer->acquireBuffer(&item, 0); in read() 303 err = item.mFence->waitForever("SurfaceMediaSource::read"); in read() 309 if (item.mGraphicBuffer != NULL) { in read() 310 mSlots[item.mBuf].mGraphicBuffer = item.mGraphicBuffer; in read() 312 mSlots[item.mBuf].mFrameNumber = item.mFrameNumber; in read() 316 mFirstFrameTimestamp = item.mTimestamp; in read() 319 if (item.mTimestamp < mStartTimeNs) { in read() 322 item.mBuf, item.mFrameNumber, EGL_NO_DISPLAY, in read() 326 mStartTimeNs = item.mTimestamp - mStartTimeNs; in read() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | DefaultItemAnimator.java | 384 private void endChangeAnimation(List<ChangeInfo> infoList, ViewHolder item) { in endChangeAnimation() argument 387 if (endChangeAnimationIfNecessary(changeInfo, item)) { in endChangeAnimation() 403 private boolean endChangeAnimationIfNecessary(ChangeInfo changeInfo, ViewHolder item) { in endChangeAnimationIfNecessary() argument 405 if (changeInfo.newHolder == item) { in endChangeAnimationIfNecessary() 407 } else if (changeInfo.oldHolder == item) { in endChangeAnimationIfNecessary() 413 ViewCompat.setAlpha(item.itemView, 1); in endChangeAnimationIfNecessary() 414 ViewCompat.setTranslationX(item.itemView, 0); in endChangeAnimationIfNecessary() 415 ViewCompat.setTranslationY(item.itemView, 0); in endChangeAnimationIfNecessary() 416 dispatchChangeFinished(item, oldItem); in endChangeAnimationIfNecessary() 421 public void endAnimation(ViewHolder item) { in endAnimation() argument [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 84 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(), in createItems() local 86 mItems.add(item); in createItems() 96 private void createItems(DataBindingItem item, int depth) { in createItems() argument 98 createItems(item, item.getChildren().size(), item.getCount(), mChildrenTypes, depth); in createItems() 103 AdapterItem item = mItems.get(groupPosition); in getChildItem() local 105 List<AdapterItem> children = item.getChildren(); in getChildItem() 118 AdapterItem item = mItems.get(groupPosition); in getChildrenCount() local 119 return item.getChildren().size(); in getChildrenCount() 136 AdapterItem item = mItems.get(groupPosition); in getGroupView() local 137 Pair<View, Boolean> pair = AdapterHelper.getView(item, null /*parentItem*/, parent, in getGroupView() [all …]
|