/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsHalServiceSubscriptionEventTest.java | 43 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 …]
|
D | VmsPublisherSubscriberTest.java | 569 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/ |
D | Asset.java | 185 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/ |
D | spec_visualizer.py | 127 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/ |
D | output.py | 2 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]):
|
D | aggregate.py | 7 from parser.naming import layers, phases, subphases 64 for layer in layers: 107 for layer in reversed(layers): 127 for layer in reversed(layers):
|
D | naming.py | 33 layers = [LAYER_APPLICATION, LAYER_RUNTIME, LAYER_IPC, LAYER_DRIVER, LAYER_CPU] variable
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriptionState.java | 112 @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()
|
D | VmsClient.java | 126 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()
|
D | IVmsBrokerService.aidl | 51 in List<VmsAssociatedLayer> layers) = 3; in setSubscriptions() argument
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 467 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/ |
D | VmsClientInfo.java | 143 void setSubscriptions(List<VmsAssociatedLayer> layers) { in setSubscriptions() argument 145 mLayerSubscriptions = layers.stream() in setSubscriptions() 149 mLayerAndProviderSubscriptions = layers.stream() in setSubscriptions()
|
D | VmsBrokerService.java | 172 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/ |
D | FloatingMenuLayerDrawable.java | 41 private FloatingMenuLayerDrawable(@NonNull Drawable[] layers) { in FloatingMenuLayerDrawable() argument 42 super(layers); in FloatingMenuLayerDrawable()
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | OptionSelectorController.java | 264 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()
|
D | DynamicAdaptiveIconDrawable.java | 408 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/ |
D | RenderPixelCopy.cpp | 75 pTgtDesc->layers, in drawFrame() 101 pSrcDesc->layers, in drawFrame()
|
/packages/modules/ExtServices/native/tests/ |
D | ImageHashManager_test.cpp | 96 .layers = 1, in TEST() 117 .layers = 1, in TEST()
|
/packages/services/Car/tools/emulator/ |
D | vhal_emulator_test.py | 332 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/ |
D | ContactPhotoManagerImpl.java | 544 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/ |
D | GlWrapper.cpp | 362 pDesc->layers = 1; in updateImageTexture() 385 pDesc->layers, in updateImageTexture()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 725 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/ |
D | ContactPhotoManager.java | 962 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/ |
D | AidlClientImpl.cpp | 145 desc.handle.description.layers = bufferDesc.layers; in DispatchPixelData()
|
/packages/apps/Test/connectivity/sl4n/ |
D | README.md | 7 automation of these layers via ADB.
|