Searched refs:id (Results 276 - 300 of 1331) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java237 * @throws IllegalStateException if there is already a display with the same id.
274 * Finds the remote display with the specified id, returns null if not found.
276 * @param id Id of the remote display.
279 public RemoteDisplay findRemoteDisplay(String id) { argument
280 return mDisplays.get(id);
340 public void connect(String id) { argument
341 mHandler.obtainMessage(MSG_CONNECT, id).sendToTarget();
345 public void disconnect(String id) { argument
346 mHandler.obtainMessage(MSG_DISCONNECT, id).sendToTarget();
350 public void setVolume(String id, in argument
355 adjustVolume(String id, int delta) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DProgramStore.java81 DepthFunc(int id) { argument
82 mID = id;
106 BlendSrcFunc(int id) { argument
107 mID = id;
131 BlendDstFunc(int id) { argument
132 mID = id;
146 ProgramStore(long id, RenderScript rs) { argument
147 super(id, rs);
421 long id = mRS.nProgramStoreCreate(mColorMaskR, mColorMaskG, mColorMaskB, mColorMaskA,
424 ProgramStore programStore = new ProgramStore(id, mR
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java106 mSoftwareView = (MainView) findViewById(R.id.software_view);
111 mCompareImageView = (ImageView) findViewById(R.id.compare_image_view);
117 mErrorTextView = (TextView) findViewById(R.id.current_error);
118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() {
126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() {
134 ((Button) findViewById(R.id.show_hardware_version))
142 ((Button) findViewById(R.id.show_software_version))
150 ((Button) findViewById(R.id.show_error_heatmap)).setOnClickListener(new OnClickListener() {
171 int position, long id) {
186 LinearLayout layout = (LinearLayout) findViewById(R.id
[all...]
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
H A DMainActivity.java59 mShowStartView = (TextView) findViewById(R.id.onstart_textview);
60 mShowStopView = (TextView) findViewById(R.id.onstop_textview);
61 mParamsTextView = (TextView) findViewById(R.id.task_params);
62 mDelayEditText = (EditText) findViewById(R.id.delay_time);
63 mDeadlineEditText = (EditText) findViewById(R.id.deadline_time);
64 mWiFiConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_unmetered);
65 mAnyConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_any);
66 mRequiresChargingCheckBox = (CheckBox) findViewById(R.id.checkbox_charging);
67 mRequiresIdleCheckbox = (CheckBox) findViewById(R.id.checkbox_idle);
68 mIsPersistedCheckbox = (CheckBox) findViewById(R.id
[all...]
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DMainActivity.java61 mDimenWidthView = (TextView) findViewById(R.id.dimen_width);
63 mDimenHeightView = (TextView) findViewById(R.id.dimen_height);
66 mWallOffXView = (TextView) findViewById(R.id.walloff_x);
68 mWallOffYView = (TextView) findViewById(R.id.walloff_y);
71 mPaddingLeftView = (TextView) findViewById(R.id.padding_left);
73 mPaddingRightView = (TextView) findViewById(R.id.padding_right);
75 mPaddingTopView = (TextView) findViewById(R.id.padding_top);
77 mPaddingBottomView = (TextView) findViewById(R.id.padding_bottom);
80 mDispOffXView = (TextView) findViewById(R.id.dispoff_x);
82 mDispOffYView = (TextView) findViewById(R.id
[all...]
/frameworks/native/include/input/
H A DVelocityTracker.h75 // an id that was assigned to a different pointer earlier.
82 // increasing id. Its size should be equal to the number of one bits in idBits.
88 // Gets the velocity of the specified pointer id in position units per second.
91 bool getVelocity(uint32_t id, float* outVx, float* outVy) const;
93 // Gets an estimator for the recent movements of the specified pointer id.
96 bool getEstimator(uint32_t id, Estimator* outEstimator) const;
98 // Gets the active pointer id, or -1 if none.
132 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const = 0;
164 virtual bool getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const;
180 inline const VelocityTracker::Position& getPosition(uint32_t id) cons
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneResultAdapter.java42 private static final int VIEW_TAG_TIME_ZONE = R.id.time_zone;
71 vh.timeZone = (TextView) v.findViewById(R.id.time_zone);
72 vh.timeOffset = (TextView) v.findViewById(R.id.time_offset);
73 vh.location = (TextView) v.findViewById(R.id.location);
193 * @param id the ID of the timezone to save
196 public void saveRecentTimezone(String id) { argument
201 recentsString = id;
206 if (!recents.contains(tzId) && !id.equals(tzId)) {
219 recents.add(id);
276 if (v == null || v.findViewById(R.id
308 onItemClick(AdapterView<?> parent, View v, int position, long id) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java102 public void setSelectedDisplay(String id) { argument
103 if (!Objects.equals(mSelectedDisplayId, id)) {
107 mSelectedDisplayId = id;
108 if (mConnectionReady && id != null) {
109 mActiveConnection.connect(id);
363 public void connect(String id) { argument
365 mProvider.connect(id);
371 public void disconnect(String id) { argument
373 mProvider.disconnect(id);
379 public void setVolume(String id, in argument
387 adjustVolume(String id, int volume) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DDrawableBgMinSizeTest.java61 mChangeBackgroundsButton = (Button) a.findViewById(R.id.change_backgrounds);
64 mTextView = (TextView) a.findViewById(R.id.text_view);
65 mLinearLayout = (LinearLayout) a.findViewById(R.id.linear_layout);
66 mRelativeLayout = (RelativeLayout) a.findViewById(R.id.relative_layout);
67 mFrameLayout = (FrameLayout) a.findViewById(R.id.frame_layout);
68 mAbsoluteLayout = (AbsoluteLayout) a.findViewById(R.id.absolute_layout);
H A DVisibilityTest.java51 mRefUp = (TextView) a.findViewById(R.id.refUp);
52 mRefDown = (TextView) a.findViewById(R.id.refDown);
53 mVictim = (TextView) a.findViewById(R.id.victim);
54 mVisible = (Button) a.findViewById(R.id.vis);
55 mInvisible = (Button) a.findViewById(R.id.invis);
56 mGone = (Button) a.findViewById(R.id.gone);
/frameworks/base/libs/input/
H A DPointerController.h112 uint32_t id; member in struct:android::PointerController::Spot
118 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument
119 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f),
177 Spot* getSpotLocked(uint32_t id);
178 Spot* createAndAddSpotLocked(uint32_t id);
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c52 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/packages/SystemUI/src/com/android/systemui/
H A DGuestResumeSessionReceiver.java93 * The guest must be the current user and its id must be {@param userId}.
104 if (currentUser.id != userId) {
106 + " is not current user (" + currentUser.id + ")");
115 boolean marked = userManager.markGuestForDeletion(currentUser.id);
126 userManager.removeUser(currentUser.id);
130 ActivityManagerNative.getDefault().switchUser(newGuest.id);
131 userManager.removeUser(currentUser.id);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java42 setupList(R.id.list1);
43 setupList(R.id.list2);
44 setupList(R.id.list3);
49 final View leftList = findViewById(R.id.list1);
50 final View middleList = findViewById(R.id.list2);
51 final View rightList = findViewById(R.id.list3);
H A DViewLayersActivity4.java38 setupList(R.id.list1);
42 findViewById(R.id.list1).setAlpha(0.5f);
46 findViewById(R.id.list1).setAlpha(1.0f);
/frameworks/rs/cpp/
H A DType.cpp69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { argument
103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); local
104 Type *t = new Type(id, rs);
203 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, local
205 Type *t = new Type(id, mRS);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlend.java25 ScriptIntrinsicBlend(int id, RenderScript rs) { argument
26 super(id, rs);
43 int id = rs.nScriptIntrinsicCreate(7, e.getID(rs));
44 return new ScriptIntrinsicBlend(id, rs);
48 private void blend(int id, Allocation ain, Allocation aout) { argument
55 forEach(id, ain, aout, null);
H A DType.java73 CubemapFace(int id) { argument
74 mID = id;
190 Type(int id, RenderScript rs) { argument
191 super(id, rs);
320 int id = mRS.nTypeCreate(mElement.getID(mRS),
322 t = new Type(id, mRS);
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java51 * ExpandableListView object with the id "@android:id/list" (or
52 * {@link android.R.id#list} if it's in code)
56 * id "android:empty". Note that when an empty view is present, the expandable
72 * &lt;ExpandableListView android:id=&quot;@id/android:list&quot;
79 * &lt;TextView android:id=&quot;@id/android:empty&quot;
120 * &lt;TextView android:id=&quot;@+id/text
180 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
[all...]
/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java46 int id,
51 setName("http" + id);
52 mId = id;
45 ConnectionThread(Context context, int id, RequestQueue.ConnectionManager connectionManager, RequestFeeder requestFeeder) argument
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewSimple.java50 mTextView = (AutoCompleteTextView) findViewById(R.id.autocompletetextview1);
99 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
108 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentCenterGravityTest.java43 mButton1 = (Button) activity.findViewById(R.id.button1);
44 mButton2 = (Button) activity.findViewById(R.id.button2);
45 mButton3 = (Button) activity.findViewById(R.id.button3);
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java79 private void sendNotification(int id, CharSequence text) { argument
86 CharSequence title = text + " " + id;
89 mNotificationManager.notify(id, notification);
/frameworks/base/services/core/java/com/android/server/am/
H A DBaseErrorDialog.java62 Button b = (Button)findViewById(R.id.button1);
66 b = (Button)findViewById(R.id.button2);
70 b = (Button)findViewById(R.id.button3);
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DDialogActivity.java81 protected Dialog onCreateDialog(int id) argument
83 switch (id)
91 return super.onCreateDialog(id);

Completed in 6585 milliseconds

<<11121314151617181920>>