Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/CarServiceTest/src/com/android/car/vms/
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.java236 Drawable[] layers = new Drawable[2]; in loadDrawable()
237 layers[0] = placeholderDrawable; in loadDrawable()
238 layers[1] = new BitmapDrawable(resources, bitmap); in loadDrawable()
240 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawable()
285 Drawable[] layers = new Drawable[2]; in loadDrawableWithTransition()
297 layers[0] = existingTransitionDrawable.findDrawableByLayerId(id); in loadDrawableWithTransition()
299 layers[0] = existingDrawable; in loadDrawableWithTransition()
301 layers[1] = new BitmapDrawable(resources, newBitmap); in loadDrawableWithTransition()
303 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawableWithTransition()
403 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.java100 @NonNull Set<VmsLayer> layers, in VmsSubscriptionState() argument
103 this.mLayers = layers; in VmsSubscriptionState()
196 Set<VmsLayer> layers = unparcelLayers(in); in VmsSubscriptionState() local
200 this.mLayers = layers; in VmsSubscriptionState()
DVmsClient.java126 public void setSubscriptions(@NonNull Set<VmsAssociatedLayer> layers) { in setSubscriptions() argument
127 if (DBG) Slog.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/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCViewUtils.java68 Drawable[] layers = {background, iconDrawable}; in getToggleIcon() local
69 LayerDrawable drawable = new LayerDrawable(layers); in getToggleIcon()
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientInfo.java152 void setSubscriptions(List<VmsAssociatedLayer> layers) { in setSubscriptions() argument
155 for (int index = 0; index < layers.size(); index++) { in setSubscriptions()
156 VmsAssociatedLayer associatedLayer = layers.get(index); in setSubscriptions()
/packages/modules/ExtServices/native/tests/
DImageHashManager_test.cpp96 .layers = 1, in TEST()
117 .layers = 1, in TEST()
/packages/modules/Connectivity/tests/cts/multidevices/
Dapfv6_test.py16 from scapy.layers.inet import IP, ICMP, IPOption_Router_Alert
17 from scapy.layers.inet6 import (
31 from scapy.layers.l2 import ARP, Ether
Dapfv4_test.py18 from scapy.layers.l2 import Ether
/packages/services/Car/cpp/evs/apps/default/src/
DRenderPixelCopy.cpp92 pTgtDesc->height, pTgtDesc->format, pTgtDesc->layers, in drawFrame()
126 pSrcDesc->format, pSrcDesc->layers, in drawFrame()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DMobileNetworkQCUtils.java120 Drawable[] layers = {EMPTY_DRAWABLE, signalDrawable}; in createSignalDrawable() local
123 LayerDrawable icons = new LayerDrawable(layers); in createSignalDrawable()
/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp100 .layers = 1, in makeHwBufferFromHidlBuffer()
117 .layers = static_cast<int>(pSrc->layers), in makeFromHidl()
173 pDesc->layers = aidlDesc.layers; in makeToHidl()
/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/v4l2_hal/hidl/
DGlWrapper.cpp332 pDesc->layers = 1; in updateImageTexture()
350 new GraphicBuffer(pDesc->width, pDesc->height, pDesc->format, pDesc->layers, in updateImageTexture()
/packages/services/Car/cpp/evs/v4l2_hal/aidl/src/
DEvsGlDisplay.cpp132 .layers = 1, in initializeGlContextLocked()
148 mBuffer.description.layers, in initializeGlContextLocked()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DAidlClientImpl.cpp145 desc.handle.description.layers = bufferDesc.layers; in DispatchPixelData()
/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()

123