Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DRemoteViewsListAdapter.java53 for (RemoteViews rv: mRemoteViewsList) { in init()
54 if (!mViewTypes.contains(rv.getLayoutId())) { in init()
55 mViewTypes.add(rv.getLayoutId()); in init()
87 RemoteViews rv = mRemoteViewsList.get(position); in getView() local
88 rv.setIsWidgetCollectionChild(true); in getView()
90 if (convertView != null && rv != null && in getView()
91 convertView.getId() == rv.getLayoutId()) { in getView()
93 rv.reapply(mContext, v); in getView()
95 v = rv.apply(mContext, parent); in getView()
DRemoteViewsService.java162 RemoteViews rv = null; in getViewAt() local
164 rv = mFactory.getViewAt(position); in getViewAt()
165 if (rv != null) { in getViewAt()
166 rv.setIsWidgetCollectionChild(true); in getViewAt()
172 return rv; in getViewAt()
175 RemoteViews rv = null; in getLoadingView() local
177 rv = mFactory.getLoadingView(); in getLoadingView()
182 return rv; in getLoadingView()
DRemoteViewsAdapter.java1061 final RemoteViews rv = remoteViews; in updateRemoteViews() local
1066 mRequestedViews.notifyOnRemoteViewsLoaded(position, rv); in updateRemoteViews()
1182 RemoteViews rv = mCache.getRemoteViewsAt(position); in getView() local
1190 rv.reapply(context, convertViewChild, mRemoteViewsOnClickHandler); in getView()
1199 View newView = rv.apply(context, parent, mRemoteViewsOnClickHandler); in getView()
DRemoteViews.java504 RemoteViews rv = RemoteViews.CREATOR.createFromParcel(parcel); in SetRemoteViewsAdapterList() local
505 list.add(rv); in SetRemoteViewsAdapterList()
520 RemoteViews rv = list.get(i); in writeToParcel() local
521 rv.writeToParcel(dest, flags); in writeToParcel()
1251 private void configureRemoteViewsAsChild(RemoteViews rv) { in configureRemoteViewsAsChild() argument
1252 mBitmapCache.assimilate(rv.mBitmapCache); in configureRemoteViewsAsChild()
1253 rv.setBitmapCache(mBitmapCache); in configureRemoteViewsAsChild()
1254 rv.setNotRoot(); in configureRemoteViewsAsChild()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java154 float[] rv = new float[v1.length]; in min() local
156 rv[i] = min(v1[i], v2[i]); in min()
157 return rv; in min()
164 byte[] rv = new byte[v1.length]; in min()
166 rv[i] = min(v1[i], v2[i]); in min()
167 return rv; in min()
174 short[] rv = new short[v1.length]; in min() local
176 rv[i] = min(v1[i], v2[i]); in min()
177 return rv; in min()
184 int[] rv = new int[v1.length]; in min() local
[all …]
DUT_bug_char.java45 byte[] rv = new byte[v1.length]; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
48 return rv; in min()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_math_agree.java154 float[] rv = new float[v1.length]; in min() local
156 rv[i] = min(v1[i], v2[i]); in min()
157 return rv; in min()
164 byte[] rv = new byte[v1.length]; in min()
166 rv[i] = min(v1[i], v2[i]); in min()
167 return rv; in min()
174 short[] rv = new short[v1.length]; in min() local
176 rv[i] = min(v1[i], v2[i]); in min()
177 return rv; in min()
184 int[] rv = new int[v1.length]; in min() local
[all …]
DUT_bug_char.java45 byte[] rv = new byte[v1.length]; in min()
47 rv[i] = min(v1[i], v2[i]); in min()
48 return rv; in min()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp242 int rv, opt; in main() local
376 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
377 if (rv >= (signed) sizeof(cmd) - 1) { in main()
516 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
517 if (rv >= (signed) sizeof(cmd) - 1) { in main()
553 int rv; in initFrames() local
597 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames()
598 testPrintE("GraphicBuffer initCheck failed, rv: %i", rv); in initFrames()
622 vector<T> rv = vec; in vectorRandSelect() local
624 while (rv.size() > num) { in vectorRandSelect()
[all …]
DhwcColorEquiv.cpp167 int rv, opt; in main() local
282 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
283 if (rv >= (signed) sizeof(cmd) - 1) { in main()
316 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main()
317 testPrintE("refFrame initCheck failed, rv: %i", rv); in main()
330 if ((rv = refFrame->initCheck()) != NO_ERROR) { in main()
331 testPrintE("refFrame initCheck failed, rv: %i", rv); in main()
403 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
404 if (rv >= (signed) sizeof(cmd) - 1) { in main()
DhwcRects.cpp206 int rv, opt; in main() local
239 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
240 if (rv >= (signed) sizeof(cmd) - 1) { in main()
351 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
352 if (rv >= (signed) sizeof(cmd) - 1) { in main()
365 int rv; in parseRect() local
513 if ((rv = rect.texture->initCheck()) != NO_ERROR) { in parseRect()
514 testPrintE("source texture initCheck failed, rv: %i", rv); in parseRect()
DhwcTestLib.cpp54 int rv; in hwcTestInitDisplay() local
139 int rv; in hwcTestOpenHwc() local
142 if ((rv = hw_get_module(HWC_HARDWARE_MODULE_ID, &hwcModule)) != 0) { in hwcTestOpenHwc()
143 testPrintE("hw_get_module failed, rv: %i", rv); in hwcTestOpenHwc()
144 errno = -rv; in hwcTestOpenHwc()
148 if ((rv = hwc_open_1(hwcModule, hwcDevicePtr)) != 0) { in hwcTestOpenHwc()
149 testPrintE("hwc_open failed, rv: %i", rv); in hwcTestOpenHwc()
150 errno = -rv; in hwcTestOpenHwc()
DhwcCommit.cpp341 int rv, opt; in main() local
416 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STOP_FRAMEWORK); in main()
417 if (rv >= (signed) sizeof(cmd) - 1) { in main()
620 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_START_FRAMEWORK); in main()
621 if (rv >= (signed) sizeof(cmd) - 1) { in main()
676 list<uint32_t> rv; in supportedTransforms() local
690 rv.push_back(id); in supportedTransforms()
694 return rv; in supportedTransforms()
701 list<uint32_t> rv; in supportedBlends() local
715 rv.push_back(id); in supportedBlends()
[all …]
/frameworks/base/core/java/android/hardware/
DSensorManager.java1326 public static void getQuaternionFromVector(float[] Q, float[] rv) { in getQuaternionFromVector() argument
1327 if (rv.length == 4) { in getQuaternionFromVector()
1328 Q[0] = rv[3]; in getQuaternionFromVector()
1330 Q[0] = 1 - rv[0]*rv[0] - rv[1]*rv[1] - rv[2]*rv[2]; in getQuaternionFromVector()
1333 Q[1] = rv[0]; in getQuaternionFromVector()
1334 Q[2] = rv[1]; in getQuaternionFromVector()
1335 Q[3] = rv[2]; in getQuaternionFromVector()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
73 if (rv == 0)
92 out.x = rv;
/frameworks/base/tools/aidl/
Daidl_language_l.l197 int rv = yyparse(); in parse_aidl() local
199 rv = g_error; in parse_aidl()
208 return rv; in parse_aidl()
Dgenerate_java_rpc.cpp762 Variable* rv = new Variable(t, "rv"); in generate_result_dispatcher_method() local
763 dispatchMethod->statements->Add(new VariableDeclaration(rv)); in generate_result_dispatcher_method()
764 generate_create_from_data(t, dispatchMethod->statements, "_result", rv, in generate_result_dispatcher_method()
766 realCall->arguments.push_back(rv); in generate_result_dispatcher_method()
Daidl.cpp150 char* rv = (char*)malloc(len+1); in parse_import_statement() local
151 memcpy(rv, text, len); in parse_import_statement()
152 rv[len] = '\0'; in parse_import_statement()
154 return rv; in parse_import_statement()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DH264SwDecApi.c122 u32 rv = 0; in H264SwDecInit() local
157 rv = h264bsdInit(&pDecCont->storage, noOutputReordering); in H264SwDecInit()
158 if (rv != HANTRO_OK) in H264SwDecInit()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java311 ClassVisitor rv = cw;
313 rv = new RenameClassAdapter(cw, className, newName);
318 newName, rv,
/frameworks/base/test-runner/src/android/test/
DTestRunner.java693 int rv = 0; in countTests() local
695 rv += countTests(c, child); in countTests()
697 return rv; in countTests()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java506 boolean rv = super.drawChild(canvas, child, drawingTime); in drawChild()
517 return rv; in drawChild()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd1024 RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout);
1029 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent);
1034 rv.setEmptyView(R.id.stack_view, R.id.empty_view);
1040 appWidgetManager.updateAppWidget(appWidgetIds[i], rv);
1168 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item);
1169 rv.setTextViewText(R.id.widget_item, mWidgetItems.get(position).text);
1173    return rv;
1281     RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout);
1282     rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent);
1286     rv.setEmptyView(R.id.stack_view, R.id.empty_view);
[all …]

12