OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:gridView
(Results
1 - 20
of
20
) sorted by null
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
MainActivity.java
32
import android.widget.
GridView
;
65
// Find the {@link
GridView
} that was already defined in the XML layout
66
GridView
gridView
= (
GridView
) findViewById(R.id.grid);
68
// Initialize the adapter with all the coupons. Set the adapter on the {@link
GridView
}.
69
gridView
.setAdapter(new CouponAdapter(inflater, createAllCoupons()));
72
gridView
.setOnItemClickListener(this);
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
SetupGuidedStepFragment.java
73
//
gridView
Alignment
74
VerticalGridView
gridView
= getGuidedActionsStylist().getActionsGridView();
77
gridView
.setFocusable(true);
80
gridView
.setWindowAlignmentOffset(offset);
81
gridView
.setWindowAlignmentOffsetPercent(0);
82
gridView
.setItemAlignmentOffsetPercent(0);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
HorizontalHoverCardSwitcher.java
67
public void select(HorizontalGridView
gridView
, View childView, Object object) {
69
gridView
.getViewSelectedOffsets(childView, mTmpOffsets);
ListRowPresenter.java
69
public ViewHolder(View rootView, HorizontalGridView
gridView
, ListRowPresenter p) {
71
mGridView =
gridView
;
208
HorizontalGridView
gridView
= ((ListRowPresenter.ViewHolder) holder).getGridView();
221
gridView
.setSelectedPositionSmooth(mItemPosition, task);
223
gridView
.setSelectedPosition(mItemPosition, task);
628
HorizontalGridView
gridView
= rowView.getGridView();
630
TypedArray ta =
gridView
.getContext()
636
gridView
.setFadingLeftEdgeLength(mBrowseRowsFadingEdgeLength);
[
all
...]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
GalleryGridAdapter.java
76
GalleryGridItemView
gridView
= (GalleryGridItemView) view;
77
gridView
.showGallery(true);
85
GalleryGridItemView
gridView
= (GalleryGridItemView) view;
86
gridView
.bind(cursor);
87
gridView
.setSelected(
gridView
.getData().equals(selectedData));
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
RowsFragmentTest.java
92
final VerticalGridView
gridView
= ((RowsFragment) activity.getTestFragment())
94
View row0 =
gridView
.findViewHolderForAdapterPosition(0).itemView;
96
gridView
.offsetDescendantRectToMyCoords(row0, rect);
100
waitForScrollIdle(
gridView
);
101
View row1 =
gridView
.findViewHolderForAdapterPosition(1).itemView;
105
gridView
.offsetDescendantRectToMyCoords(row1, rect);
137
final VerticalGridView
gridView
= ((RowsFragment) activity.getTestFragment())
139
assertEquals(7,
gridView
.getSelectedPosition());
140
assertNotNull(
gridView
.findViewHolderForAdapterPosition(7));
171
final VerticalGridView
gridView
= ((RowsFragment) activity.getTestFragment()
[
all
...]
RowsSupportFragmentTest.java
95
final VerticalGridView
gridView
= ((RowsSupportFragment) activity.getTestFragment())
97
View row0 =
gridView
.findViewHolderForAdapterPosition(0).itemView;
99
gridView
.offsetDescendantRectToMyCoords(row0, rect);
103
waitForScrollIdle(
gridView
);
104
View row1 =
gridView
.findViewHolderForAdapterPosition(1).itemView;
108
gridView
.offsetDescendantRectToMyCoords(row1, rect);
140
final VerticalGridView
gridView
= ((RowsSupportFragment) activity.getTestFragment())
142
assertEquals(7,
gridView
.getSelectedPosition());
143
assertNotNull(
gridView
.findViewHolderForAdapterPosition(7));
174
final VerticalGridView
gridView
= ((RowsSupportFragment) activity.getTestFragment()
[
all
...]
HeadersFragmentTest.java
64
final VerticalGridView
gridView
= ((HeadersFragment) activity.getTestFragment())
67
gridView
.findViewHolderForAdapterPosition(0);
92
final VerticalGridView
gridView
= ((HeadersFragment) activity.getTestFragment())
95
gridView
.findViewHolderForAdapterPosition(0);
119
final VerticalGridView
gridView
= ((HeadersFragment) activity.getTestFragment())
122
gridView
.findViewHolderForAdapterPosition(0);
HeadersSupportFragmentTest.java
67
final VerticalGridView
gridView
= ((HeadersSupportFragment) activity.getTestFragment())
70
gridView
.findViewHolderForAdapterPosition(0);
95
final VerticalGridView
gridView
= ((HeadersSupportFragment) activity.getTestFragment())
98
gridView
.findViewHolderForAdapterPosition(0);
122
final VerticalGridView
gridView
= ((HeadersSupportFragment) activity.getTestFragment())
125
gridView
.findViewHolderForAdapterPosition(0);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
R$id.class
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DatePickerTest.java
351
ViewGroup
gridView
= (ViewGroup) mDatePickerInnerView.getChildAt(2 * i);
352
int childCount =
gridView
.getChildCount();
356
View pickerItem =
gridView
.getChildAt(j);
/packages/apps/TV/src/com/android/tv/onboarding/
SetupSourcesFragment.java
335
VerticalGridView
gridView
= getGuidedActionsStylist().getActionsGridView();
336
gridView
.setSelectedPosition(newPosition);
/cts/tests/tests/widget/src/android/widget/cts/
GridViewTest.java
60
import android.widget.
GridView
;
78
* Test {@link
GridView
}.
85
private
GridView
mGridView;
95
mGridView = (
GridView
) mActivity.findViewById(R.id.
gridview
);
102
new
GridView
(mActivity);
104
new
GridView
(mActivity, null);
106
new
GridView
(mActivity, null, android.R.attr.gridViewStyle);
108
new
GridView
(mActivity, null, 0, android.R.style.Widget_DeviceDefault_GridView);
110
new
GridView
(mActivity, null, 0, android.R.style.Widget_DeviceDefault_Light_GridView)
[
all
...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DetailsFragment.java
649
final VerticalGridView
gridView
= getVerticalGridView();
650
final int count =
gridView
.getChildCount();
656
gridView
.getChildViewHolder(
gridView
.getChildAt(i));
[
all
...]
DetailsSupportFragment.java
652
final VerticalGridView
gridView
= getVerticalGridView();
653
final int count =
gridView
.getChildCount();
659
gridView
.getChildViewHolder(
gridView
.getChildAt(i));
[
all
...]
RowsFragment.java
550
final VerticalGridView
gridView
= getVerticalGridView();
552
if (
gridView
!= null) {
553
gridView
.setItemAlignmentOffset(0);
554
gridView
.setItemAlignmentOffsetPercent(
556
gridView
.setItemAlignmentOffsetWithPadding(true);
557
gridView
.setWindowAlignmentOffset(mAlignedTop);
559
gridView
.setWindowAlignmentOffsetPercent(
561
gridView
.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE);
RowsSupportFragment.java
553
final VerticalGridView
gridView
= getVerticalGridView();
555
if (
gridView
!= null) {
556
gridView
.setItemAlignmentOffset(0);
557
gridView
.setItemAlignmentOffsetPercent(
559
gridView
.setItemAlignmentOffsetWithPadding(true);
560
gridView
.setWindowAlignmentOffset(mAlignedTop);
562
gridView
.setWindowAlignmentOffsetPercent(
564
gridView
.setWindowAlignment(VerticalGridView.WINDOW_ALIGN_NO_EDGE);
BrowseFragment.java
[
all
...]
BrowseSupportFragment.java
[
all
...]
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
Completed in 566 milliseconds