Searched refs:rv (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DPagerRecyclerViewActivity.java37 final RecyclerView rv = new RecyclerView(this);
40 rv.setLayoutManager(manager);
41 rv.setHasFixedSize(true);
42 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
44 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) {
52 snapHelper.attachToRecyclerView(rv);
53 setContentView(rv);
H A DNestedRecyclerViewActivity.java118 RecyclerView rv = new RecyclerView(parent.getContext());
119 rv.setLayoutManager(new LinearLayoutManager(parent.getContext(),
121 rv.setRecycledViewPool(mSharedPool);
122 return new ViewHolder(rv);
H A DRecyclerViewActivity.java44 final RecyclerView rv = new RecyclerView(this);
45 rv.setLayoutManager(new MyLayoutManager(this));
46 rv.setHasFixedSize(true);
47 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
49 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) {
70 rv.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL));
71 setContentView(rv);
72 mRecyclerView = rv;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DPagerRecyclerViewActivity.java37 final RecyclerView rv = new RecyclerView(this);
40 rv.setLayoutManager(manager);
41 rv.setHasFixedSize(true);
42 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
44 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) {
52 snapHelper.attachToRecyclerView(rv);
53 setContentView(rv);
H A DNestedRecyclerViewActivity.java118 RecyclerView rv = new RecyclerView(parent.getContext());
119 rv.setLayoutManager(new LinearLayoutManager(parent.getContext(),
121 rv.setRecycledViewPool(mSharedPool);
122 return new ViewHolder(rv);
H A DRecyclerViewActivity.java44 final RecyclerView rv = new RecyclerView(this);
45 rv.setLayoutManager(new MyLayoutManager(this));
46 rv.setHasFixedSize(true);
47 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
49 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) {
70 rv.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL));
71 setContentView(rv);
72 mRecyclerView = rv;
/frameworks/base/core/java/android/widget/
H A DRemoteViewsListAdapter.java53 for (RemoteViews rv: mRemoteViewsList) {
54 if (!mViewTypes.contains(rv.getLayoutId())) {
55 mViewTypes.add(rv.getLayoutId());
87 RemoteViews rv = mRemoteViewsList.get(position);
88 rv.setIsWidgetCollectionChild(true);
90 if (convertView != null && rv != null &&
91 convertView.getId() == rv.getLayoutId()) {
93 rv.reapply(mContext, v);
95 v = rv.apply(mContext, parent);
H A DRemoteViewsService.java162 RemoteViews rv = null;
164 rv = mFactory.getViewAt(position);
165 if (rv != null) {
166 rv.setIsWidgetCollectionChild(true);
172 return rv;
175 RemoteViews rv = null;
177 rv = mFactory.getLoadingView();
182 return rv;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DMultiRecyclerViewPrefetchTest.java60 for (RecyclerView rv : mViews) {
61 if (rv.isAttachedToWindow()) {
63 rv.onDetachedFromWindow();
74 RecyclerView rv = new RecyclerView(getContext()) {
88 rv.setRecycledViewPool(mRecycledViewPool);
91 rv.onAttachedToWindow();
92 mViews.add(rv);
94 return rv;
106 for (RecyclerView rv : mViews) {
107 rv
[all...]
H A DDividerItemDecorationTest.java43 RecyclerView rv = new RecyclerView(context);
44 rv.setLayoutManager(new LinearLayoutManager(context));
45 rv.setAdapter(new MyAdapter(STRINGS));
49 rv.addItemDecoration(decoration);
50 rv.layout(0, 0, 1000, 1000);
51 decoration.onDraw(new Canvas(), rv, null);
/frameworks/native/libs/math/include/math/
H A DTVecHelpers.h110 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<RT>& rv) { argument
112 return lv += rv;
115 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<RT>& rv) { argument
117 return lv -= rv;
126 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<T>& rv) { argument
128 return lv += rv;
130 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<T>& rv) { argument
132 return lv -= rv;
191 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<RT>& rv) { argument
193 return lv *= rv;
196 operator /(VECTOR<T> lv, const VECTOR<RT>& rv) argument
207 operator *(VECTOR<T> lv, const VECTOR<T>& rv) argument
211 operator /(VECTOR<T> lv, const VECTOR<T>& rv) argument
275 operator ==(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
284 operator !=(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
290 operator >(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
302 operator <=(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
308 operator <(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
320 operator >=(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
326 equal(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
336 notEqual(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
346 lessThan(const VECTOR<T>& lv, const VECTOR<RT>& rv) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp242 int rv, opt; local
376 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK);
377 if (rv >= (signed) sizeof(cmd) - 1) {
516 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK);
517 if (rv >= (signed) sizeof(cmd) - 1) {
553 int rv; local
597 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) {
598 testPrintE("GraphicBuffer initCheck failed, rv: %i", rv);
622 vector<T> rv local
639 T rv = 0; local
[all...]
H A DhwcColorEquiv.cpp167 int rv, opt; local
281 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK);
282 if (rv >= (signed) sizeof(cmd) - 1) {
313 if ((rv = refFrame->initCheck()) != NO_ERROR) {
314 testPrintE("refFrame initCheck failed, rv: %i", rv);
327 if ((rv = refFrame->initCheck()) != NO_ERROR) {
328 testPrintE("refFrame initCheck failed, rv: %i", rv);
400 rv
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerViewAccessibilityDelegate.java68 RecyclerView rv = (RecyclerView) host;
69 if (rv.getLayoutManager() != null) {
70 rv.getLayoutManager().onInitializeAccessibilityEvent(event);
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_bug_char.java45 byte[] rv = new byte[v1.length];
47 rv[i] = min(v1[i], v2[i]);
48 return rv;
H A DUT_math_agree.java154 float[] rv = new float[v1.length];
156 rv[i] = min(v1[i], v2[i]);
157 return rv;
164 byte[] rv = new byte[v1.length];
166 rv[i] = min(v1[i], v2[i]);
167 return rv;
174 short[] rv = new short[v1.length];
176 rv[i] = min(v1[i], v2[i]);
177 return rv;
184 int[] rv
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_bug_char.java45 byte[] rv = new byte[v1.length];
47 rv[i] = min(v1[i], v2[i]);
48 return rv;
H A DUT_math_agree.java154 float[] rv = new float[v1.length];
156 rv[i] = min(v1[i], v2[i]);
157 return rv;
164 byte[] rv = new byte[v1.length];
166 rv[i] = min(v1[i], v2[i]);
167 return rv;
174 short[] rv = new short[v1.length];
176 rv[i] = min(v1[i], v2[i]);
177 return rv;
184 int[] rv
[all...]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_bug_char.java45 byte[] rv = new byte[v1.length];
47 rv[i] = min(v1[i], v2[i]);
48 return rv;
H A DUT_math_agree.java187 float[] rv = new float[v1.length];
189 rv[i] = min(v1[i], v2[i]);
190 return rv;
199 byte[] rv = new byte[v1.length];
201 rv[i] = min(v1[i], v2[i]);
202 return rv;
211 short[] rv = new short[v1.length];
213 rv[i] = min(v1[i], v2[i]);
214 return rv;
223 int[] rv
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityDelegate.java70 RecyclerView rv = (RecyclerView) host;
71 if (rv.getLayoutManager() != null) {
72 rv.getLayoutManager().onInitializeAccessibilityEvent(event);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dshadows_f.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;

Completed in 539 milliseconds

123