/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A D | NetworkActivity.java | 176 public boolean onOptionsItemSelected(MenuItem item) { argument 177 switch (item.getItemId()) { 186 return super.onOptionsItemSelected(item);
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | GrantedUriPermissions.java | 131 private static GrantedUriPermissions grantItem(IActivityManager am, ClipData.Item item, argument 134 if (item.getUri() != null) { 135 curPerms = grantUri(am, item.getUri(), sourceUid, targetPackage, targetUserId, 138 Intent intent = item.getIntent();
|
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/ |
H A D | ImsConfigImplBase.java | 69 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants. 72 public int getProvisionedValue(int item) throws RemoteException { argument 80 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants. 83 public String getProvisionedStringValue(int item) throws RemoteException { argument 89 * management entity. It sets the config item value in the provisioned storage 92 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants. 96 public int setProvisionedValue(int item, int value) throws RemoteException { argument 102 * management entity. It sets the config item value in the provisioned storage 105 * @param item as defined in com.android.ims.ImsConfig#ConfigConstants. 109 public int setProvisionedStringValue(int item, Strin argument 175 notifyProvisionedValueChanged(int item, int value) argument 187 notifyProvisionedValueChanged(int item, String value) argument 232 getProvisionedValue(int item) argument 253 getProvisionedStringValue(int item) argument 276 setProvisionedValue(int item, int value) argument 300 setProvisionedStringValue(int item, String value) argument 363 sendImsConfigChangedIntent(int item, int value) argument 367 sendImsConfigChangedIntent(int item, String value) argument 376 updateCachedValue(int item, int value, boolean notifyChange) argument 383 updateCachedValue( int item, String value, boolean notifyChange) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | ImsConfigImplBase.java | 97 * @param item integer key 102 public synchronized int getConfigInt(int item) throws RemoteException { argument 103 if (mProvisionedIntValue.containsKey(item)) { 104 return mProvisionedIntValue.get(item); 106 int retVal = getImsConfigImpl().getConfigInt(item); 108 updateCachedValue(item, retVal, false); 119 * @param item integer key 123 public synchronized String getConfigString(int item) throws RemoteException { argument 124 if (mProvisionedIntValue.containsKey(item)) { 125 return mProvisionedStringValue.get(item); 147 setConfigInt(int item, int value) argument 172 setConfigString(int item, String value) argument 192 notifyImsConfigChanged(int item, int value) argument 196 notifyImsConfigChanged(int item, String value) argument 200 updateCachedValue(int item, int value, boolean notifyChange) argument 208 updateCachedValue(int item, String value, boolean notifyChange) argument 224 onIntConfigChanged(int item, int value) argument 229 onStringConfigChanged(int item, String value) argument 238 onConfigChanged(int item, int value) argument 247 onConfigChanged(int item, String value) argument 303 notifyConfigChanged(int item, int value) argument 317 notifyConfigChanged(int item, String value) argument 344 notifyProvisionedValueChanged(int item, int value) argument 360 notifyProvisionedValueChanged(int item, String value) argument 376 setConfig(int item, int value) argument 389 setConfig(int item, String value) argument 401 getConfigInt(int item) argument 412 getConfigString(int item) argument [all...] |
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
H A D | TouchLatencyActivity.java | 157 public void changeMode(MenuItem item) { argument 162 item.setTitle(modes[mMode]); 195 public boolean onOptionsItemSelected(MenuItem item) { argument 196 // Handle action bar item clicks here. The action bar will 199 int id = item.getItemId(); 203 mTouchView.changeMode(item); 206 return super.onOptionsItemSelected(item);
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageStatsActivity.java | 90 public boolean onOptionsItemSelected(MenuItem item) { argument 91 switch (item.getItemId()) { 102 return super.onOptionsItemSelected(item);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | AppWidgetHostActivity.java | 173 public boolean onContextItemSelected(MenuItem item) { argument 174 MyAppWidgetView view = (MyAppWidgetView)item.getMenuInfo(); 175 switch (item.getItemId()) {
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
H A D | MainActivity.java | 102 public boolean onOptionsItemSelected(MenuItem item) { argument 103 // Handle action bar item clicks here. The action bar will 106 int id = item.getItemId(); 113 return super.onOptionsItemSelected(item);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | WindowCallback.java | 81 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
|
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
H A D | NNControls.java | 202 public boolean onOptionsItemSelected(MenuItem item) { argument 204 switch(item.getItemId()) { 210 return super.onOptionsItemSelected(item);
|
/frameworks/native/cmds/installd/ |
H A D | CacheTracker.cpp | 120 auto item = std::shared_ptr<CacheItem>(new CacheItem(p)); local 121 p->fts_pointer = static_cast<void*>(item.get()); 122 items.push_back(item); 128 auto item = static_cast<CacheItem*>(p->fts_pointer); local 129 item->group |= (getxattr(p->fts_path, kXattrCacheGroup, nullptr, 0) >= 0); 130 item->tombstone |= (getxattr(p->fts_path, kXattrCacheTombstone, nullptr, 0) >= 0); 133 if (item->group) { 135 if (p->fts_info == FTS_DP && p->fts_level == item->level) break; 142 item->size += p->fts_statp->st_blocks * 512; 143 item 158 auto item = static_cast<CacheItem*>(p->fts_pointer); local [all...] |
/frameworks/native/services/sensorservice/ |
H A D | RingBuffer.h | 97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length, 103 void add(const T& item); 106 * Moves item to the front of this RingBuffer. Following a call to this, item should no 112 void add(T&& item); 115 * Construct item in-place in the front of this RingBuffer using the given arguments. If 265 void RingBuffer<T>::add(const T& item) { argument 267 mBuffer.push_back(item); 272 mBuffer[mFrontIdx] = item; 277 void RingBuffer<T>::add(T&& item) { argument [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 112 BufferItem item; local 113 status_t err = acquireBufferLocked(&item, 0); 132 item.mSlot != mCurrentBufferSlot) { 137 mCurrentBufferSlot = item.mSlot; 139 mCurrentFence = item.mFence; 141 outFence = item.mFence; 144 outDataspace = static_cast<Dataspace>(item.mDataSpace);
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 107 public boolean onOptionsItemSelected(MenuItem item) { argument 108 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 107 public boolean onOptionsItemSelected(MenuItem item) { argument 108 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ButtonItem.java | 32 * Description of a button inside {@link com.android.setupwizardlib.items.ButtonBarItem}. This item 38 void onClick(ButtonItem item); argument 120 * Create a button according to this button item.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
H A D | ImsManagerTest.java | 397 private int getProvisionedInt(int item) { argument 398 if (mProvisionedIntVals.containsKey(item)) { 399 return mProvisionedIntVals.get(item); 406 private String getProvisionedString(int item) { argument 407 if (mProvisionedStringVals.containsKey(item)) { 408 return mProvisionedStringVals.get(item);
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
H A D | UnitTest.java | 138 public void setItem(ScriptField_ListAllocs_s.Item item) { argument 139 mItem = item;
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UnitTest.java | 134 public void setItem(ScriptField_ListAllocs_s.Item item) { argument 135 mItem = item;
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasControls.java | 201 public boolean onOptionsItemSelected(MenuItem item) { argument 203 switch(item.getItemId()) { 209 return super.onOptionsItemSelected(item);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/ |
H A D | SlidingPaneLayoutActivity.java | 97 public boolean onOptionsItemSelected(MenuItem item) { argument 102 if (item.getItemId() == android.R.id.home && !mSlidingLayout.isOpen()) { 106 return super.onOptionsItemSelected(item); 110 * This list item click listener implements very simple view switching by changing
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
H A D | ActionBarFragmentMenu.java | 145 public boolean onOptionsItemSelected(MenuItem item) { argument 146 if (item.getTitle().equals("Menu 1a")) { 150 if (item.getTitle().equals("Menu 1b")) { 154 return super.onOptionsItemSelected(item); 185 public boolean onOptionsItemSelected(MenuItem item) { argument 186 if (item.getTitle().equals("Menu 2")) { 228 public boolean onOptionsItemSelected(MenuItem item) { argument 229 if (item.getItemId() == R.id.simple_item) { 230 Toast.makeText(getActivity(), "Selected nested fragment's menu item.", 234 return super.onOptionsItemSelected(item); [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/ |
H A D | PaletteActivity.java | 113 public boolean onOptionsItemSelected(MenuItem item) { argument 114 switch (item.getItemId()) { 117 item.setChecked(true); 121 item.setChecked(true); 125 item.setChecked(true); 129 item.setChecked(true); 133 item.setChecked(true); 137 return super.onOptionsItemSelected(item);
|
H A D | PaletteDetailActivity.java | 43 * Displays the full generated palette of colors in a grid, which allows clicking on an palette item 71 // Set an OnItemClickListener to display a information Toast when a Palette item is clicked 80 final Palette.Swatch item = (Palette.Swatch) adapterView.getItemAtPosition(pos); 82 item.toString(), Toast.LENGTH_LONG); 98 public boolean onOptionsItemSelected(MenuItem item) { argument 99 switch (item.getItemId()) { 102 item.setChecked(true); 106 item.setChecked(true); 110 item.setChecked(true); 114 item [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 109 for (Item item : items) { 110 mData.add(item); 114 public void addItem(Item item) { argument 115 mData.add(item); 161 public void bindTo(Item item) { argument 162 mBoundItem = item; 163 mCheckBox.setText(item.mText); 164 mCheckBox.setChecked(item.mIsDone);
|