Home
last modified time | relevance | path

Searched refs:View (Results 1 – 25 of 2419) sorted by relevance

12345678910>>...97

/packages/apps/Car/RotaryController/tests/robotests/src/com/android/car/rotary/
DFocusFinderTest.java21 import android.view.View;
35 assertIsPartiallyInDirection(View.FOCUS_LEFT, src, in testPartiallyInDirection()
37 assertIsPartiallyInDirection(View.FOCUS_RIGHT, src, in testPartiallyInDirection()
39 assertIsPartiallyInDirection(View.FOCUS_UP, src, in testPartiallyInDirection()
41 assertIsPartiallyInDirection(View.FOCUS_DOWN, src, in testPartiallyInDirection()
47 assertIsNotCandidate(View.FOCUS_UP, in testBelowNotCandidateForDirectionUp()
60 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); in testAboveShareEdgeEdgeOkForDirectionUp()
66 View.FOCUS_DOWN, in testCompletelyContainedNotCandidate()
75 View.FOCUS_DOWN, in testContainedWithCommonBottomNotCandidate()
84 View.FOCUS_RIGHT, in testLeftOverlapNotCandidateForRightIfTheyDoNotOverlap()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java25 import android.view.View;
41 private View.OnClickListener mDisconnectListener = new View.OnClickListener() {
43 public void onClick(View v) {
44 View parent = (View) v.getParent().getParent();
54 private View.OnClickListener mActiveListener = new View.OnClickListener() {
56 public void onClick(View v) {
57 View parent = (View) v.getParent().getParent();
67 private View.OnClickListener mMissedListener = new View.OnClickListener() {
69 public void onClick(View v) {
70 View parent = (View) v.getParent().getParent();
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java33 import android.view.View;
55 import static android.view.View.TRANSLATION_Y;
70 private final View hairLine;
74 private ExpandedAlarmViewHolder(View itemView, boolean hasVibrator) { in ExpandedAlarmViewHolder()
97 final View dayButtonFrame = inflater.inflate(R.layout.day_button, repeatDays, in ExpandedAlarmViewHolder()
115 itemView.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder()
117 public void onClick(View v) { in ExpandedAlarmViewHolder()
122 arrow.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder()
124 public void onClick(View v) { in ExpandedAlarmViewHolder()
130 clock.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder()
[all …]
DCollapsedAlarmViewHolder.java27 import android.view.View;
53 private final View hairLine;
55 private CollapsedAlarmViewHolder(View itemView) { in CollapsedAlarmViewHolder()
64 itemView.setOnClickListener(new View.OnClickListener() { in CollapsedAlarmViewHolder()
66 public void onClick(View v) { in CollapsedAlarmViewHolder()
71 alarmLabel.setOnClickListener(new View.OnClickListener() { in CollapsedAlarmViewHolder()
73 public void onClick(View v) { in CollapsedAlarmViewHolder()
78 arrow.setOnClickListener(new View.OnClickListener() { in CollapsedAlarmViewHolder()
80 public void onClick(View v) { in CollapsedAlarmViewHolder()
86 clock.setOnClickListener(new View.OnClickListener() { in CollapsedAlarmViewHolder()
[all …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiListItemAdapter.java24 import android.view.View;
162 final View mActionDivider;
167 final View mTouchInterceptor;
168 final View mReducedTouchInterceptor;
169 final View mActionContainerTouchInterceptor;
171 ListItemViewHolder(@NonNull View itemView) { in ListItemViewHolder()
198 mTitle.setVisibility(View.VISIBLE); in bind()
200 mTitle.setVisibility(View.GONE); in bind()
205 mBody.setVisibility(View.VISIBLE); in bind()
207 mBody.setVisibility(View.GONE); in bind()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemViewHolder.java48 import android.view.View;
108 implements View.OnClickListener,
110 View.OnCreateContextMenuListener {
115 public final View rootView;
119 public final View primaryActionView;
140 public View actionsView;
144 public View callButtonView;
145 public View videoCallButtonView;
146 public View setUpVideoButtonView;
147 public View inviteVideoButtonView;
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DFilmstripBottomPanel.java22 import android.view.View;
23 import android.view.View.OnClickListener;
44 private final View mControlLayout;
49 private final View mMiddleFiller;
50 private View mProgressLayout;
52 private View mProgressErrorLayout;
92 mLayout.setVisibility(View.VISIBLE); in setVisible()
94 mLayout.setVisibility(View.INVISIBLE); in setVisible()
100 mEditButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setEditButtonVisibility()
127 mDeleteButton.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in setDeleteButtonVisibility()
[all …]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DViewUtils.java23 import android.view.View;
43 public static void hideViewAnimated(@NonNull View view, int duration) { in hideViewAnimated()
50 view.setVisibility(View.GONE); in hideViewAnimated()
61 public static Animator.AnimatorListener hideViewAfterAnimation(View view) { in hideViewAfterAnimation()
65 view.setVisibility(View.GONE); in hideViewAfterAnimation()
76 public static void hideViewsAnimated(@Nullable List<View> views, int duration) {
77 for (View view : views) {
90 public static void showViewAnimated(@NonNull View view, int duration) {
103 view.setVisibility(View.VISIBLE);
115 public static void showViewsAnimated(@Nullable List<View> views, int duration) {
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java45 import android.view.View;
72 private static final Property<View, Integer> VIEW_LAYOUT_HEIGHT_PROPERTY =
73 new Property<View, Integer>(Integer.class, "height") {
75 public void set(View view, Integer height) {
83 public Integer get(View view) {
249 private View mExpandCollapseButton;
264 private List<List<View>> mEntryViews;
277 private List<View> mSeparators;
282 public void onClick(View v) {
298 View expandingEntryCardView = inflater.inflate(R.layout.expanding_entry_card_view, this); in ExpandingEntryCardView()
[all …]
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DContactGridManager.java29 import android.view.View;
53 private final View contactGridLayout;
92 private final View deviceNumberDivider;
100 View view, @Nullable ImageView avatarImageView, int avatarSize, boolean showAnonymousAvatar) { in ContactGridManager()
120 contactGridLayout = (View) contactNameTextView.getParent(); in ContactGridManager()
129 contactGridLayout.setVisibility(View.VISIBLE); in show()
133 contactGridLayout.setVisibility(View.GONE); in hide()
147 public View getContainerView() { in getContainerView()
157 contactNameTextView.setVisibility(isMiddleRowVisible ? View.VISIBLE : View.GONE); in setIsMiddleRowVisible()
201 private void dispatchPopulateAccessibilityEvent(AccessibilityEvent event, View view) { in dispatchPopulateAccessibilityEvent()
[all …]
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java20 import android.view.View;
47 case View.FOCUS_LEFT: in isPartiallyInDirection()
49 case View.FOCUS_RIGHT: in isPartiallyInDirection()
51 case View.FOCUS_UP: in isPartiallyInDirection()
53 case View.FOCUS_DOWN: in isPartiallyInDirection()
86 case View.FOCUS_LEFT: in isCandidate()
92 case View.FOCUS_RIGHT: in isCandidate()
97 case View.FOCUS_UP: in isCandidate()
103 case View.FOCUS_DOWN: in isCandidate()
165 case View.FOCUS_LEFT: in minorAxisDistance()
[all …]
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSurfaceViewVideoCallFragment.java38 import android.view.View;
39 import android.view.View.OnClickListener;
40 import android.view.View.OnSystemUiVisibilityChangeListener;
100 private View endCallButton;
106 private View switchOnHoldButton;
107 private View onHoldContainer;
110 private View mutePreviewOverlay;
111 private View previewOffOverlay;
112 private View controls;
113 private View controlsContainer;
[all …]
DVideoCallFragment.java46 import android.view.View;
47 import android.view.View.OnClickListener;
48 import android.view.View.OnLayoutChangeListener;
49 import android.view.View.OnSystemUiVisibilityChangeListener;
117 public void getOutline(View view, Outline outline) {
128 private View endCallButton;
134 private View switchOnHoldButton;
135 private View onHoldContainer;
139 private View mutePreviewOverlay;
140 private View previewOffOverlay;
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiListItemTest.java25 import android.view.View;
64 private View getListItemTitleAtPosition(int position) { in getListItemTitleAtPosition()
68 private View getListItemBodyAtPosition(int position) { in getListItemBodyAtPosition()
72 private View getListItemIconContainerAtPosition(int position) { in getListItemIconContainerAtPosition()
76 private View getListItemActionContainerAtPosition(int position) { in getListItemActionContainerAtPosition()
90 private View getListItemIconAtPosition(int position) { in getListItemIconAtPosition()
133 assertThat(getListItemTitleAtPosition(0).getVisibility()).isEqualTo(View.VISIBLE); in testItemVisibility_withTitle()
134 assertThat(getListItemBodyAtPosition(0).getVisibility()).isNotEqualTo(View.VISIBLE); in testItemVisibility_withTitle()
136 .isNotEqualTo(View.VISIBLE); in testItemVisibility_withTitle()
138 .isNotEqualTo(View.VISIBLE); in testItemVisibility_withTitle()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java22 import android.view.View;
48 public static final FloatProperty<View> SCALE_PROPERTY =
49 new FloatProperty<View>("scale") {
51 public Float get(View view) {
56 public void setValue(View view, float scale) {
93 public static final FloatProperty<View> VIEW_TRANSLATE_X =
94 View.TRANSLATION_X instanceof FloatProperty ? (FloatProperty) View.TRANSLATION_X
95 : new FloatProperty<View>("translateX") {
97 public void setValue(View view, float v) {
102 public Float get(View view) {
[all …]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java27 import android.view.View;
51 ViewGroup sceneRoot, View view, int[] position, int distance); in getGoneX()
58 ViewGroup sceneRoot, View view, int[] position, int distance) {
60 sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
75 ViewGroup sceneRoot, View view, int[] position, int distance) {
77 sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
119 View view = transitionValues.view; in captureValues()
125 private int getDelayOrder(View view, boolean appear) { in getDelayOrder()
129 final View parentForDelay = findParentForDelay(view); in getDelayOrder()
133 List<View> transitionTargets = new ArrayList<>(); in getDelayOrder()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java24 import android.view.View;
51 public void removeEditorView(final View victim) { in removeEditorView()
55 final List<View> viewsToMove = getViewsBelowOf(victim); in removeEditorView()
60 ObjectAnimator.ofFloat(victim, View.ALPHA, 1.0f, 0.0f); in removeEditorView()
72 final View view = viewsToMove.get(i); in removeEditorView()
94 target.setVisibility(View.VISIBLE); in slideAndFadeIn()
103 final List<View> viewsToMove = getViewsBelowOf(target); in slideAndFadeIn()
109 target, View.ALPHA, 0.0f, 1.0f); in slideAndFadeIn()
119 public void showFieldFooter(final View view) { in showFieldFooter()
121 if (view.getVisibility() == View.VISIBLE) return; in showFieldFooter()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.java32 import android.view.View;
51 public static final Property<View, Integer> BACKGROUND_ALPHA =
52 new Property<View, Integer>(Integer.class, "background.alpha") {
54 public Integer get(View view) {
64 public void set(View view, Integer value) {
77 public static void setBackgroundAlpha(View view, Integer value) { in setBackgroundAlpha()
171 public static ValueAnimator getScaleAnimator(View view, float... values) { in getScaleAnimator()
173 PropertyValuesHolder.ofFloat(View.SCALE_X, values), in getScaleAnimator()
174 PropertyValuesHolder.ofFloat(View.SCALE_Y, values)); in getScaleAnimator()
177 public static ValueAnimator getAlphaAnimator(View view, float... values) { in getAlphaAnimator()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooser.java28 import android.view.View;
59 private View mEnabledView;
60 private View mMissingPermissionView;
76 public View destroyView() { in destroyView()
84 protected View createView(final ViewGroup container) { in createView()
95 mCameraPreviewHost.getView().setOnTouchListener(new View.OnTouchListener() { in createView()
97 public boolean onTouch(final View view, final MotionEvent motionEvent) { in createView()
108 final View shutterVisual = view.findViewById(R.id.camera_shutter_visual); in createView()
111 mFullScreenButton.setOnClickListener(new View.OnClickListener() { in createView()
113 public void onClick(final View view) { in createView()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java27 import android.view.View;
47 private View collapsed;
48 private View expanded;
50 private View searchIcon;
51 private View collapsedSearchBox;
52 private View voiceSearchButtonView;
53 private View overflowButtonView;
54 private View clearButtonView;
104 public boolean onLongClick(View view) { in onFinishInflate()
118 public void onFocusChange(View v, boolean hasFocus) { in onFinishInflate()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPagedOrientationHandler.java28 import android.view.View;
53 Int2DAction<View> VIEW_SCROLL_BY = View::scrollBy;
54 Int2DAction<View> VIEW_SCROLL_TO = View::scrollTo;
62 int getMeasuredSize(View view); in getMeasuredSize()
64 int getClearAllScrollOffset(View view, boolean isRtl); in getClearAllScrollOffset()
65 int getSecondaryDimension(View view); in getSecondaryDimension()
66 FloatProperty<View> getPrimaryViewTranslate(); in getPrimaryViewTranslate()
67 FloatProperty<View> getSecondaryViewTranslate(); in getSecondaryViewTranslate()
68 void setPrimaryAndResetSecondaryTranslate(View view, float translation); in setPrimaryAndResetSecondaryTranslate()
69 int getPrimaryScroll(View view); in getPrimaryScroll()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DRotateDialogController.java24 import android.view.View;
39 private View mDialogRootLayout;
41 private View mRotateDialogTitleLayout;
42 private View mRotateDialogButtonLayout;
60 View v = inflater.inflate(mLayoutResourceID, layoutRoot); in inflateDialogLayout()
88 mRotateDialogTitleLayout.setVisibility(View.GONE); in resetRotateDialog()
89 mRotateDialogSpinner.setVisibility(View.GONE); in resetRotateDialog()
90 mRotateDialogButton1.setVisibility(View.GONE); in resetRotateDialog()
91 mRotateDialogButton2.setVisibility(View.GONE); in resetRotateDialog()
92 mRotateDialogButtonLayout.setVisibility(View.GONE); in resetRotateDialog()
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java45 import android.view.View;
46 import android.view.View.AccessibilityDelegate;
113 private static void moveTowardY(View view, float newY) { in moveTowardY()
117 private static void moveTowardX(View view, float newX) { in moveTowardX()
121 private static void fadeToward(View view, float newAlpha) { in fadeToward()
125 private static void rotateToward(View view, float newRotation) { in rotateToward()
131 private View contactPuckContainer;
134 private View incomingDisconnectText;
135 private View spaceHolder;
192 public View onCreateView( in onCreateView()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java30 import android.view.View;
31 import android.view.View.OnClickListener;
61 private View permissionView;
69 private View shutter;
70 private View allowPermission;
87 public View onCreateView( in onCreateView()
89 View root = inflater.inflate(R.layout.fragment_camera_composer, container, false); in onCreateView()
121 permissionView.setVisibility(View.VISIBLE); in onCreateView()
165 public void onClick(View view) { in onClick()
185 fullscreen.setVisibility(View.VISIBLE); in onClick()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java35 import android.view.View;
87 private final LinkedList<View> mOnTable;
121 private View mSelection;
122 private View mOnDeck[];
123 private View mFocus;
127 private View mScrim;
128 private final Set<View> mWaitingToJoinBackground;
156 mOnTable = new LinkedList<View>(); in PhotoTable()
159 mWaitingToJoinBackground = new HashSet<View>(); in PhotoTable()
167 mOnDeck = new View[2]; in PhotoTable()
[all …]

12345678910>>...97