/aosp12/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 767 this.viewId = viewId; in SetEmptyView() 1524 this.viewId = viewId; in ViewContentNavigation() 1624 this.viewId = viewId; in BitmapReflectionAction() 1692 this.viewId = viewId; in BaseReflectionAction() 2351 this.viewId = viewId; in ViewGroupActionAdd() 2577 this.viewId = viewId; 2689 this.viewId = viewId; 2761 this.viewId = viewId; 2772 this.viewId = viewId; 2908 this.viewId = viewId; [all …]
|
H A D | TabHost.java | 579 public TabSpec setContent(int viewId) { in setContent() argument 580 mContentStrategy = new ViewIdContentStrategy(viewId); in setContent() 740 private ViewIdContentStrategy(int viewId) { in ViewIdContentStrategy() argument 741 mView = mTabContent.findViewById(viewId); in ViewIdContentStrategy() 746 "could not find view with id " + viewId); in ViewIdContentStrategy()
|
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | ViewHelper.java | 39 String getText(int viewId) { in getText() argument 40 return ((TextView) mView.findViewById(viewId)).getText().toString(); in getText() 43 void setText(int viewId, String text) { in setText() argument 45 TextView v = (TextView) mView.findViewById(viewId); in setText() 49 void setText(int viewId, int textId) { in setText() argument 50 TextView v = (TextView) mView.findViewById(viewId); in setText()
|
/aosp12/frameworks/base/core/java/android/appwidget/ |
H A D | PendingHostUpdate.java | 37 int viewId; field in PendingHostUpdate 51 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 53 update.viewId = viewId; in viewDataChanged() 85 viewId = in.readInt(); in PendingHostUpdate() 106 dest.writeInt(viewId); in writeToParcel()
|
H A D | AppWidgetHost.java | 124 public void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 130 appWidgetId, viewId); in viewDataChanged() 240 viewDataChanged(update.appWidgetId, update.viewId); in startListening() 489 void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 495 v.viewDataChanged(viewId); in viewDataChanged()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | DialogManager.java | 69 final int viewId = view.getId(); in showDialogInView() local 73 if (viewId == View.NO_ID) { in showDialogInView() 76 bundle.putInt(VIEW_ID_KEY, viewId); in showDialogInView() 96 final int viewId = bundle.getInt(VIEW_ID_KEY); in onCreateDialog() local 97 final View view = mActivity.findViewById(viewId); in onCreateDialog()
|
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
H A D | ImeiInfoDialogFragment.java | 83 public void removeViewFromScreen(int viewId) { in removeViewFromScreen() argument 84 final View view = mRootView.findViewById(viewId); in removeViewFromScreen() 100 public void setText(int viewId, CharSequence text) { in setText() argument 101 final TextView textView = mRootView.findViewById(viewId); in setText() 108 else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
|
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
H A D | SimStatusDialogFragment.java | 87 public void removeSettingFromScreen(int viewId) { in removeSettingFromScreen() argument 88 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen() 103 public void setText(int viewId, CharSequence text) { in setText() argument 104 final TextView textView = mRootView.findViewById(viewId); in setText() 111 else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | RoundedCornerEnforcement.java | 114 private static List<View> findViewsWithId(View view, @IdRes int viewId) { in findViewsWithId() argument 116 accumulateViewsWithId(view, viewId, output); in findViewsWithId() 121 private static void accumulateViewsWithId(View view, @IdRes int viewId, List<View> output) { in accumulateViewsWithId() argument 122 if (view.getId() == viewId) { in accumulateViewsWithId() 129 accumulateViewsWithId(vg.getChildAt(i), viewId, output); in accumulateViewsWithId() local
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/drawer/ |
H A D | DrawerFragment.java | 238 final int viewId = v.getId(); 239 if (viewId == R.id.nav_all_contacts) { 242 } else if (viewId == R.id.nav_assistant) { 245 } else if (viewId == R.id.nav_group) { 250 } else if (viewId == R.id.nav_filter) { 255 } else if (viewId == R.id.nav_create_label) { 257 } else if (viewId == R.id.nav_settings) { 259 } else if (viewId == R.id.nav_help) {
|
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ToggleAccessibilityServicePreferenceFragment.java | 424 final int viewId = view.getId(); in onDialogButtonFromEnableToggleClicked() local 425 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromEnableToggleClicked() 427 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromEnableToggleClicked() 487 final int viewId = view.getId(); in onDialogButtonFromShortcutToggleClicked() local 488 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutToggleClicked() 490 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutToggleClicked() 519 final int viewId = view.getId(); in onDialogButtonFromShortcutClicked() local 520 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutClicked() 522 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutClicked()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | DragAndDropAccessibilityDelegate.java | 94 public boolean onPerformActionForVirtualView(int viewId, int action, Bundle args) { in onPerformActionForVirtualView() argument 95 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView() 96 String confirmation = getConfirmationForIconDrop(viewId); in onPerformActionForVirtualView() 97 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation); in onPerformActionForVirtualView()
|
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
H A D | CarSystemBarView.java | 244 public void setLockTaskDisabledButton(int viewId, boolean disabled, Runnable runnable) { in setLockTaskDisabledButton() argument 245 CarSystemBarButton button = findViewById(viewId); in setLockTaskDisabledButton() 254 public void setLockTaskDisabledContainer(int viewId, @View.Visibility int visibility) { in setLockTaskDisabledContainer() argument 255 View v = findViewById(viewId); in setLockTaskDisabledContainer() 257 Log.e(TAG, "setLockTaskViewVisibility for: " + viewId + " not found"); in setLockTaskDisabledContainer()
|
/aosp12/frameworks/base/core/java/android/view/autofill/ |
H A D | AutofillId.java | 250 final int viewId = source.readInt(); 254 return new AutofillId(flags, viewId, source.readInt(), sessionId); 257 return new AutofillId(flags, viewId, source.readLong(), sessionId); 259 return new AutofillId(flags, viewId, View.NO_ID, sessionId);
|
/aosp12/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
H A D | GoOverviewActionsView.java | 88 private void showToolTip(int viewId, int textResourceId) { in showToolTip() argument 91 findViewById(viewId).getLocationOnScreen(location); in showToolTip() 94 /* arrowXCoord= */ location[0] + findViewById(viewId).getWidth() / 2, in showToolTip()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | FontSizeUtils.java | 30 public static void updateFontSize(View parent, int viewId, int dimensId) { in updateFontSize() argument 31 updateFontSize((TextView) parent.findViewById(viewId), dimensId); in updateFontSize()
|
/aosp12/hardware/interfaces/automotive/sv/1.0/vts/functional/ |
H A D | VtsHalSurroundViewV1_0TargetTest.cpp | 212 EXPECT_EQ(svBuffer2d.viewId, 0); in TEST_P() 278 EXPECT_EQ(svBuffer2d.viewId, 0); in TEST_P() 613 views[0].viewId = 0; in TEST_P() 628 EXPECT_EQ(frames.svBuffers[0].viewId, 0); in TEST_P() 631 views[0].viewId = 0; in TEST_P() 632 views[1].viewId = 1; in TEST_P() 633 views[2].viewId = 2; in TEST_P() 674 views[0].viewId = 0; in TEST_P() 697 EXPECT_EQ(svBuffer3d.viewId, 0); in TEST_P() 722 views[0].viewId = 0; in TEST_P() [all …]
|
H A D | SurroundViewStreamHandler.cpp | 79 mLastReceivedFrames.svBuffers[i].viewId = svFramesDesc.svBuffers[i].viewId; in receiveFrames()
|
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseCursorPagerAdapter.java | 207 protected String makeFragmentName(int viewId, int index) { in makeFragmentName() argument 209 return "android:pager:" + viewId + ":" + mCursor.getString(mRowIDColumn).hashCode(); in makeFragmentName() 211 return super.makeFragmentName(viewId, index); in makeFragmentName()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | WorkAdapterProvider.java | 54 int viewId = viewType == VIEW_TYPE_WORK_DISABLED_CARD ? R.layout.work_apps_paused in onCreateViewHolder() local 56 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
H A D | AutoAppPermissionsFragment.java | 352 long viewId = new Random().nextLong(); in logAppPermissionsFragmentView() local 370 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), category); in logAppPermissionsFragmentView() 382 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionsFragmentView() 388 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument 394 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry() 397 + " viewId=" + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
H A D | ViewUtils.java | 250 int viewId = viewIds.getResourceId(i, 0); 251 if (viewId != 0) { 252 View view = root.findViewById(viewId);
|
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/ |
H A D | MainActivityTest.java | 98 private View assertViewIsShown(String viewName, int viewId, boolean expected) { in assertViewIsShown() argument 99 View view = mActivity.findViewById(viewId); in assertViewIsShown()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
H A D | LayoutPerfTest.java | 68 public LayoutPerfTest(String key, int layoutId, int viewId) { in LayoutPerfTest() argument 71 mViewId = viewId; in LayoutPerfTest()
|
/aosp12/hardware/interfaces/automotive/sv/1.0/default/ |
H A D | SurroundView3dSession.cpp | 47 framesRecord.frames.svBuffers[0].viewId = 0; in SurroundView3dSession() 280 framesRecord.frames.svBuffers[i].viewId = mViews[i].viewId; in generateFrames()
|