/frameworks/base/core/java/com/android/internal/app/ |
H A D | AccessibilityButtonChooserActivity.java | 60 final ResolverDrawerLayout rdl = findViewById(R.id.contentPanel); 68 TextView prompt = findViewById(R.id.accessibility_button_prompt); 87 GridView gridview = findViewById(R.id.accessibility_button_chooser_grid); 89 gridview.setOnItemClickListener((parent, view, position, id) -> { 141 ImageView iconView = root.findViewById(R.id.accessibility_button_target_icon); 142 TextView labelView = root.findViewById(R.id.accessibility_button_target_label); 161 public AccessibilityButtonTarget(Context context, @NonNull String id, int labelResId, argument 163 this.mId = id;
|
H A D | HeavyWeightSwitcherActivity.java | 75 setIconAndText(R.id.old_app_icon, R.id.old_app_action, R.id.old_app_description, 77 setIconAndText(R.id.new_app_icon, R.id.new_app_action, R.id.new_app_description, 80 View button = findViewById((R.id.switch_old)); 82 button = findViewById((R.id.switch_new)); 84 button = findViewById((R.id.cancel)); 93 void setText(int id, CharSequenc argument 97 setDrawable(int id, Drawable dr) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProgressReporter.java | 80 public ProgressReporter(int id) { argument 81 mId = id; 208 private void notifyStarted(int id, Bundle extras) { argument 211 mListeners.getBroadcastItem(i).onStarted(id, extras); 218 private void notifyProgress(int id, int progress, Bundle extras) { argument 221 mListeners.getBroadcastItem(i).onProgress(id, progress, extras); 228 private void notifyFinished(int id, Bundle extras) { argument 231 mListeners.getBroadcastItem(i).onFinished(id, extras);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditableInputConnection.java | 143 public boolean performContextMenuAction(int id) { argument 144 if (DEBUG) Log.v(TAG, "performContextMenuAction " + id); 146 mTextView.onTextContextMenuItem(id);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayEventReceiver.cpp | 62 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count); 63 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected); 87 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument 94 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count); 101 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument 108 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);
|
/frameworks/base/libs/common_time/ |
H A D | common_clock_service.cpp | 80 status_t CommonClockService::getTimelineID(uint64_t* id) { argument 81 *id = mTimeServer.getTimelineID();
|
H A D | common_time_config_service.cpp | 56 status_t CommonTimeConfigService::getMasterElectionGroupId(uint64_t *id) { argument 57 return mTimeServer.getMasterElectionGroupId(id); 60 status_t CommonTimeConfigService::setMasterElectionGroupId(uint64_t id) { argument 61 return mTimeServer.setMasterElectionGroupId(id);
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 187 int init_audio(unsigned int ic, unsigned int id, unsigned int oc, unsigned int od) argument 195 input_device = id;
|
H A D | hid.c | 52 int id, ret, offset; local 85 id = next_id++; 88 ACCESSORY_REGISTER_HID, id, desc_length, NULL, 0, 1000); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 116 ACCESSORY_SEND_HID_EVENT, id, 0, buffer, ret, 1000); 125 ACCESSORY_UNREGISTER_HID, id, 0, NULL, 0, 1000);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 100 public int id() { method in class:AudioPort 101 return mHandle.id();
|
H A D | MediaRouterClientState.java | 38 * The id of the current globally selected route, or null if none. 53 public RouteInfo getRoute(String id) { argument 57 if (route.id.equals(id)) { 95 public String id; field in class:MediaRouterClientState.RouteInfo 109 public RouteInfo(String id) { argument 110 this.id = id; 121 id = other.id; [all...] |
H A D | RemoteDisplayState.java | 103 public String id; field in class:RemoteDisplayState.RemoteDisplayInfo 112 public RemoteDisplayInfo(String id) { argument 113 this.id = id; 120 id = other.id; 131 id = in.readString(); 142 return !TextUtils.isEmpty(id) && !TextUtils.isEmpty(name); 152 dest.writeString(id); 164 return "RemoteDisplayInfo{ id [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 198 private String queryString(int id, String column) { argument 204 ID_WHERE, new String[] { Integer.toString(id) }, null, null); 219 private String queryAudio(int id, String column) { argument 224 ID_WHERE, new String[] { Integer.toString(id) }, null, null); 239 private String queryGenre(int id) { argument 242 Uri uri = Audio.Genres.getContentUriForAudioId(mVolumeName, id); 261 private Long queryLong(int id, String column) { argument 267 ID_WHERE, new String[] { Integer.toString(id) }, null, null);
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplay.java | 70 * Creates a remote display with the specified name and id. 72 public RemoteDisplay(String id, String name) { argument 73 if (TextUtils.isEmpty(id)) { 74 throw new IllegalArgumentException("id must not be null or empty"); 76 mMutableInfo = new RemoteDisplayInfo(id); 81 return mMutableInfo.id;
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | CameraBrowser.java | 81 TextView textView1 = (TextView)view.findViewById(android.R.id.text1); 82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2); 117 protected void onListItemClick(ListView l, View v, int position, long id) { argument
|
H A D | MtpClient.java | 238 * @param id the ID of the USB device 241 public MtpDevice getDevice(int id) { argument 243 return mDevices.get(UsbDevice.getDeviceName(id));
|
H A D | ObjectBrowser.java | 87 TextView nameView = (TextView)view.findViewById(R.id.name); 98 ImageView thumbView = (ImageView)view.findViewById(R.id.thumbnail); 133 protected void onListItemClick(ListView l, View v, int position, long id) { argument
|
/frameworks/base/obex/javax/obex/ |
H A D | ClientSession.java | 208 public void setConnectionID(long id) { argument 209 if ((id < 0) || (id > 0xFFFFFFFFL)) { 212 mConnectionId = ObexHelper.convertToByteArray(id);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Object.java | 67 public boolean matches(Asn1ID id) { argument 68 return mTag == id.getTag() && mClass == id.getAsn1Class();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | UsageView.java | 38 mUsageGraph = findViewById(R.id.usage_graph); 40 findViewById(R.id.label_bottom), 41 findViewById(R.id.label_middle), 42 findViewById(R.id.label_top), 45 findViewById(R.id.label_start), 46 findViewById(R.id.label_end), 67 LinearLayout layout = findViewById(R.id.graph_label_group); 68 LinearLayout labels = findViewById(R.id.label_group); 75 LinearLayout bottomLabels = findViewById(R.id.bottom_label_group); 76 View bottomSpace = bottomLabels.findViewById(R.id 116 setWeight(int id, float weight) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServicesDialog.java | 154 public void onItemSelected(AdapterView parent, View view, int position, long id) { argument 198 ImageView icon = view.findViewById(R.id.app_icon); 201 TextView label = view.findViewById(R.id.app_name);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QuickStatusBarHeader.java | 32 import com.android.systemui.R.id; 60 mHeaderQsPanel = findViewById(R.id.quick_qs_panel); 74 applyDarkness(R.id.battery, tintArea, intensity, colorForeground); 75 applyDarkness(R.id.clock, tintArea, intensity, colorForeground); 77 BatteryMeterView battery = findViewById(R.id.battery); 83 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { argument 84 View v = findViewById(id);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ShortcutParser.java | 108 final String id = sa.getString(R.styleable.Shortcut_shortcutId); 114 c.id = id; 134 public String id; field in class:ShortcutParser.Shortcut 142 if (shortcut.id.equals(sp[2])) { 158 builder.append(id);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | AllocationAdapter.java | 26 AllocationAdapter(long id, RenderScript rs, Allocation alloc, Type t) { argument 27 super(id, rs, alloc.mType, alloc.mUsage); 299 long id = rs.nAllocationAdapterCreate(a.getID(rs), t.getID(rs)); 300 if (id == 0) { 303 return new AllocationAdapter(id, rs, a, t);
|
H A D | FileA3D.java | 59 EntryType(int id) { argument 60 mID = id; 157 IndexEntry(RenderScript rs, int index, long id, String name, EntryType type) { argument 160 mID = id; 170 FileA3D(long id, RenderScript rs, InputStream stream) { argument 171 super(id, rs); 283 * @param id resource to create FileA3D from 287 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { argument 292 is = res.openRawResource(id); 294 throw new RSRuntimeException("Unable to open resource " + id); [all...] |