Home
last modified time | relevance | path

Searched refs:NO_ID (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/view/autofill/
DAutofillId.java46 this(/* flags= */ 0, id, View.NO_ID, NO_SESSION); in AutofillId()
70 mVirtualIntId = ((flags & FLAG_IS_VIRTUAL_INT) != 0) ? (int) virtualChildId : View.NO_ID; in AutofillId()
71 mVirtualLongId = ((flags & FLAG_IS_VIRTUAL_LONG) != 0) ? virtualChildId : View.NO_ID; in AutofillId()
253 return new AutofillId(flags, viewId, View.NO_ID, sessionId);
/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java53 assertThat(id.getVirtualChildLongId()).isEqualTo(View.NO_ID); in testVirtual_int()
61 assertThat(clone.getVirtualChildLongId()).isEqualTo(View.NO_ID); in testVirtual_int()
71 assertThat(id.getVirtualChildIntId()).isEqualTo(View.NO_ID); in testVirtual_long()
79 assertThat(clone.getVirtualChildIntId()).isEqualTo(View.NO_ID); in testVirtual_long()
106 assertThat(id.getVirtualChildIntId()).isEqualTo(View.NO_ID); in testVirtual_withSession()
115 assertThat(clone.getVirtualChildIntId()).isEqualTo(View.NO_ID); in testVirtual_withSession()
327 assertThat(id.getVirtualChildIntId()).isEqualTo(View.NO_ID); in assertNonVirtual()
328 assertThat(id.getVirtualChildLongId()).isEqualTo(View.NO_ID); in assertNonVirtual()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java447 private int mConnectionId = AccessibilityInteractionClient.NO_ID;
1724 private int mConnectionId = AccessibilityInteractionClient.NO_ID;
1822 && (mConnectionId != AccessibilityInteractionClient.NO_ID)) {
1836 if (mConnectionId != AccessibilityInteractionClient.NO_ID) {
1856 mConnectionId = AccessibilityInteractionClient.NO_ID;
1858 mCallback.init(AccessibilityInteractionClient.NO_ID, null);
1863 if (mConnectionId != AccessibilityInteractionClient.NO_ID) {
1898 if (mConnectionId != AccessibilityInteractionClient.NO_ID) {
1912 if (mConnectionId != AccessibilityInteractionClient.NO_ID) {
1919 if (mConnectionId != AccessibilityInteractionClient.NO_ID) {
[all …]
/frameworks/base/core/java/android/widget/
DRadioGroup.java75 private int mInitialCheckedId = View.NO_ID;
104 int value = attributes.getResourceId(R.styleable.RadioGroup_checkedButton, View.NO_ID); in RadioGroup()
105 if (value != View.NO_ID) { in RadioGroup()
402 if (id == View.NO_ID) { in onChildViewAdded()
DNumberPicker.java1107 && mLastHoveredChildVirtualViewId != View.NO_ID) { in dispatchHoverEvent()
1121 mLastHoveredChildVirtualViewId = View.NO_ID; in dispatchHoverEvent()
2490 case View.NO_ID: in createAccessibilityNodeInfo()
2521 case View.NO_ID: { in findAccessibilityNodeInfosByText()
2544 case View.NO_ID: { in performAction()
2862 if (mAccessibilityFocusedView != View.NO_ID) { in createAccessibilityNodeInfoForNumberPicker()
2865 if (mAccessibilityFocusedView == View.NO_ID) { in createAccessibilityNodeInfoForNumberPicker()
DAutoCompleteTextView.java296 R.styleable.AutoCompleteTextView_dropDownAnchor, View.NO_ID); in AutoCompleteTextView()
1305 if (mDropDownAnchorId != View.NO_ID) { in showDropDown()
/frameworks/base/core/java/android/view/
DViewStub.java114 mInflatedId = a.getResourceId(R.styleable.ViewStub_inflatedId, NO_ID); in ViewStub()
116 mID = a.getResourceId(R.styleable.ViewStub_id, NO_ID); in ViewStub()
274 if (mInflatedId != NO_ID) { in inflateViewNoAdd()
DMenuInflater.java62 private static final int NO_ID = 0; field in MenuInflater
347 private static final int defaultGroupId = NO_ID;
348 private static final int defaultItemId = NO_ID;
DView.java845 public static final int NO_ID = -1; field in View
2336 int mID = NO_ID;
2348 private int mAutofillViewId = NO_ID;
2352 private int mAccessibilityViewId = NO_ID;
4387 private int mLabelForId = View.NO_ID;
4398 private int mAccessibilityTraversalBeforeId = NO_ID;
4403 private int mAccessibilityTraversalAfterId = NO_ID;
4750 private int mNextFocusLeftId = View.NO_ID;
4756 private int mNextFocusRightId = View.NO_ID;
4762 private int mNextFocusUpId = View.NO_ID;
[all …]
DLayoutInflater.java1236 final int id = a.getResourceId(R.styleable.Include_id, View.NO_ID); in parseInclude()
1262 if (id != View.NO_ID) { in parseInclude()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java81 return id > 0 ? id : RecyclerView.NO_ID; in getItemId()
83 return RecyclerView.NO_ID; in getItemId()
/frameworks/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java171 com.android.internal.R.styleable.Include_id, View.NO_ID); in parseInclude()
206 if (id != View.NO_ID) { in parseInclude()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java153 private static final int NO_ID = 0; field in BugreportReceiverTest
570 sendBugreportFinished(NO_ID, mPlainTextPath, null); in bugreportFinishedWithWarningTest()
571 mUiBot.clickOnNotification(mContext.getString(R.string.bugreport_finished_title, NO_ID)); in bugreportFinishedWithWarningTest()
607 sendBugreportFinished(NO_ID, mPlainTextPath, NO_SCREENSHOT); in testShareBugreportAfterServiceDies()
609 Bundle extras = acceptBugreportAndGetSharedIntent(NO_ID); in testShareBugreportAfterServiceDies()
714 return sendBugreportFinishedAndGetSharedIntent(NO_ID, bugreportPath, screenshotPath); in sendBugreportFinishedAndGetSharedIntent()
766 if (id != NO_ID) { in sendBugreportFinished()
/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java64 assertTrue("The inflated view has no id", swapped.getId() != View.NO_ID); in testInflatedId()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java362 return View.NO_ID; in addAccessibilityInteractionConnection()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java93 private int mId = View.NO_ID;
137 if (mId != View.NO_ID) { in ViewNode()
469 if (mId != View.NO_ID) { in writeSelfToParcel()
531 if (mId != View.NO_ID) { in writeSelfToParcel()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureSessionTest.java62 assertThat(childId.getVirtualChildIntId()).isEqualTo(View.NO_ID); in testNewAutofillId_valid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java233 if (id != View.NO_ID) { in addRemainingTransformTypes()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java1110 return View.NO_ID; in addAccessibilityInteractionConnection()
1120 return View.NO_ID; in addAccessibilityInteractionConnection()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java53 public static final int HOST_ID = View.NO_ID;
DRecyclerView.java192 public static final long NO_ID = -1; field in RecyclerView
3283 mState.mFocusedItemId = mAdapter.hasStableIds() ? focusedVh.getItemId() : NO_ID; in saveFocusInfo()
3295 mState.mFocusedItemId = NO_ID; in resetFocusInfo()
3297 mState.mFocusedSubChildId = View.NO_ID; in resetFocusInfo()
3378 if (mState.mFocusedItemId != NO_ID && mAdapter.hasStableIds()) { in recoverFocusFromState()
3400 if (mState.mFocusedSubChildId != NO_ID) { in recoverFocusFromState()
3415 if (id != View.NO_ID) { in getDeepestFocusedViewWithId()
4265 return NO_ID; in getChildItemId()
4268 return holder != null ? holder.getItemId() : NO_ID; in getChildItemId()
6388 return NO_ID; in getItemId()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java359 if (v != null && v.getId() != View.NO_ID) { in saveActionViewStates()
391 if (v != null && v.getId() != View.NO_ID) { in restoreActionViewStates()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java628 int mId = View.NO_ID;
738 if (mId != View.NO_ID) { in ViewNode()
858 if (mId != View.NO_ID) { in writeSelfToParcel()
957 if (mId != View.NO_ID) { in writeSelfToParcel()
/frameworks/base/core/java/android/app/
DFragmentManager.java1281 if (f.mContainerId == View.NO_ID) { in moveToState()
3527 int id = a.getResourceId(com.android.internal.R.styleable.Fragment_id, View.NO_ID); in onCreateView()
3532 if (containerId == View.NO_ID && id == View.NO_ID && tag == null) { in onCreateView()
3541 Fragment fragment = id != View.NO_ID ? findFragmentById(id) : null; in onCreateView()
3545 if (fragment == null && containerId != View.NO_ID) { in onCreateView()
/frameworks/base/core/java/android/transition/
DVisibility.java424 if (startParent.getParent() == null && id != View.NO_ID in onDisappear()

12