Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 25 of 44) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsHalServiceSubscriptionEventTest.java43 List<VmsLayer> layers = new ArrayList<>(); in testEmptySubscriptions() local
44 subscriptionTestLogic(layers); in testEmptySubscriptions()
49 List<VmsLayer> layers = in testOneSubscription() local
51 subscriptionTestLogic(layers); in testOneSubscription()
56 List<VmsLayer> layers = Arrays.asList( in testManySubscriptions() local
62 subscriptionTestLogic(layers); in testManySubscriptions()
69 private void subscriptionTestLogic(List<VmsLayer> layers) throws Exception { in subscriptionTestLogic() argument
71 for (VmsLayer layer : layers) { in subscriptionTestLogic()
84 assertEquals(layers.size(), in subscriptionTestLogic()
88 int end = VmsSubscriptionsStateIntegerValuesIndex.SUBSCRIPTIONS_START + 3 * layers.size(); in subscriptionTestLogic()
[all …]
DVmsPublisherSubscriberTest.java569 private void assertSubscriptionState(int sequenceNumber, VmsLayer... layers) { in assertSubscriptionState() argument
570 assertSubscriptionState(sequenceNumber, new HashSet<>(Arrays.asList(layers)), in assertSubscriptionState()
580 private void assertSubscriptionState(int sequenceNumber, Set<VmsLayer> layers, in assertSubscriptionState() argument
586 assertEquals(layers, subscriptionState.getLayers()); in assertSubscriptionState()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java185 Drawable[] layers = new Drawable[2]; in loadDrawable()
186 layers[0] = placeholderDrawable; in loadDrawable()
187 layers[1] = new BitmapDrawable(resources, bitmap); in loadDrawable()
189 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawable()
234 Drawable[] layers = new Drawable[2]; in loadDrawableWithTransition()
246 layers[0] = existingTransitionDrawable.findDrawableByLayerId(id); in loadDrawableWithTransition()
248 layers[0] = existingDrawable; in loadDrawableWithTransition()
250 layers[1] = new BitmapDrawable(resources, newBitmap); in loadDrawableWithTransition()
252 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawableWithTransition()
313 Drawable[] layers = new Drawable[2]; in loadPreviewImage()
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/
Dspec_visualizer.py127 layers = {}
129 layers[node] = max([layers[i] for i in node.ins], default=-1) + 1
131 layers[node] = min([layers[o] for o in node.outs], default=layers[node]+1) - 1
132 num_layers = max(layers.values()) + 1
140 coords[node] = (CoordX(layer_cnt[layers[node]]), CoordY(layers[node]))
141 layer_cnt[layers[node]] += 1
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Doutput.py2 from parser.naming import layers, names, phases, make_tag, subphases
61 for layer in layers + [LAYER_TOTAL]:
72 for layer in layers:
82 for layer in layers + [LAYER_TOTAL]:
89 for layer in layers:
102 for layer in (layers + [LAYER_TOTAL]):
Daggregate.py7 from parser.naming import layers, phases, subphases
64 for layer in layers:
107 for layer in reversed(layers):
127 for layer in reversed(layers):
Dnaming.py33 layers = [LAYER_APPLICATION, LAYER_RUNTIME, LAYER_IPC, LAYER_DRIVER, LAYER_CPU] variable
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriptionState.java112 @NonNull Set<VmsLayer> layers, in VmsSubscriptionState() argument
115 this.mLayers = layers; in VmsSubscriptionState()
216 Set<VmsLayer> layers = unparcelLayers(in); in VmsSubscriptionState() local
220 this.mLayers = layers; in VmsSubscriptionState()
DVmsClient.java126 public void setSubscriptions(@NonNull Set<VmsAssociatedLayer> layers) { in setSubscriptions() argument
127 if (DBG) Log.d(TAG, "Setting subscriptions to " + layers); in setSubscriptions()
129 mService.setSubscriptions(mClientToken, new ArrayList<>(layers)); in setSubscriptions()
DIVmsBrokerService.aidl51 in List<VmsAssociatedLayer> layers) = 3; in setSubscriptions() argument
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java467 Drawable[] layers = new Drawable[2]; in applyFrame() local
474 layers[0] = new BitmapDrawable(table.mResources, decodedPhoto); in applyFrame()
475 layers[1] = table.mResources.getDrawable(R.drawable.frame); in applyFrame()
476 LayerDrawable layerList = new LayerDrawable(layers); in applyFrame()
966 LayerDrawable layers = (LayerDrawable) image.getDrawable(); in getBitmap() local
967 if (layers == null) { in getBitmap()
970 BitmapDrawable bitmap = (BitmapDrawable) layers.getDrawable(0); in getBitmap()
986 LayerDrawable layers = (LayerDrawable) image.getDrawable(); in setHighlight() local
988 layers.getDrawable(1).setColorFilter(mHighlightColor, PorterDuff.Mode.SRC_IN); in setHighlight()
990 layers.getDrawable(1).clearColorFilter(); in setHighlight()
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientInfo.java143 void setSubscriptions(List<VmsAssociatedLayer> layers) { in setSubscriptions() argument
145 mLayerSubscriptions = layers.stream() in setSubscriptions()
149 mLayerAndProviderSubscriptions = layers.stream() in setSubscriptions()
DVmsBrokerService.java172 public void setSubscriptions(IBinder clientToken, List<VmsAssociatedLayer> layers) { in setSubscriptions() argument
174 getClient(clientToken).setSubscriptions(layers); in setSubscriptions()
/packages/apps/Settings/src/com/android/settings/accessibility/
DFloatingMenuLayerDrawable.java41 private FloatingMenuLayerDrawable(@NonNull Drawable[] layers) { in FloatingMenuLayerDrawable() argument
42 super(layers); in FloatingMenuLayerDrawable()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java264 Drawable[] layers = {frame, checkmark}; in initOptions()
266 layers = new Drawable[]{checkmark}; in initOptions()
268 LayerDrawable checkedFrame = new LayerDrawable(layers); in initOptions()
271 int idx = layers.length - 1; in initOptions()
DDynamicAdaptiveIconDrawable.java408 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected() local
410 if (layers[i].mDrawable != null && layers[i].mDrawable.isProjected()) { in isProjected()
/packages/services/Car/cpp/evs/apps/default/
DRenderPixelCopy.cpp75 pTgtDesc->layers, in drawFrame()
101 pSrcDesc->layers, in drawFrame()
/packages/modules/ExtServices/native/tests/
DImageHashManager_test.cpp96 .layers = 1, in TEST()
117 .layers = 1, in TEST()
/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py332 layers = rxMsg.value[0].int32_values[
336 self._log.info("testVms: %d available layers", layers)
337 for layer in xrange(layers):
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java544 final Drawable[] layers = new Drawable[2]; in loadCachedPhoto() local
548 layers[0] = in loadCachedPhoto()
552 layers[0] = previousDrawable; in loadCachedPhoto()
554 layers[1] = getDrawableForBitmap(context.getResources(), cachedBitmap, request); in loadCachedPhoto()
555 TransitionDrawable drawable = new TransitionDrawable(layers); in loadCachedPhoto()
/packages/services/Car/cpp/evs/sampleDriver/
DGlWrapper.cpp362 pDesc->layers = 1; in updateImageTexture()
385 pDesc->layers, in updateImageTexture()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java725 Set<VmsLayer> layers = subscriptionState.getLayers(); in createSubscriptionStateMessage() local
729 message.add(layers.size()); in createSubscriptionStateMessage()
734 for (VmsLayer layer : layers) { in createSubscriptionStateMessage()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java962 final Drawable[] layers = new Drawable[2]; in loadCachedPhoto() local
967 layers[0] = previousTransitionDrawable.getDrawable( in loadCachedPhoto()
970 layers[0] = previousDrawable; in loadCachedPhoto()
972 layers[1] = getDrawableForBitmap(mContext.getResources(), cachedBitmap, request); in loadCachedPhoto()
973 TransitionDrawable drawable = new TransitionDrawable(layers); in loadCachedPhoto()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DAidlClientImpl.cpp145 desc.handle.description.layers = bufferDesc.layers; in DispatchPixelData()
/packages/apps/Test/connectivity/sl4n/
DREADME.md7 automation of these layers via ADB.

12