/frameworks/base/services/core/jni/ |
D | com_android_server_UsbAlsaJackDetector.cpp | 54 static jboolean is_jack_connected(jint card, const char* suffix) { in is_jack_connected() argument 55 struct mixer* card_mixer = mixer_open(card); in is_jack_connected() 73 jint card) in android_server_UsbAlsaJackDetector_hasJackDetect() argument 75 struct mixer* card_mixer = mixer_open(card); in android_server_UsbAlsaJackDetector_hasJackDetect() 91 jint card) in android_server_UsbAlsaJackDetector_inputJackConnected() argument 93 return is_jack_connected(card, USB_IN_JACK_SUFFIX); in android_server_UsbAlsaJackDetector_inputJackConnected() 98 jint card) in android_server_UsbAlsaJackDetector_outputJackConnected() argument 100 return is_jack_connected(card, USB_OUT_JACK_SUFFIX); in android_server_UsbAlsaJackDetector_outputJackConnected() 105 jint card) { in android_server_UsbAlsaJackDetector_jackDetect() argument 113 struct mixer* m = mixer_open(card); in android_server_UsbAlsaJackDetector_jackDetect()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | HwLayerAnimation.cpp | 31 sp<RenderNode> card; member in HwLayerAnimation 33 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent() 38 canvas.drawRenderNode(card.get()); in createContent() 42 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 43 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 44 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | OvalAnimation.cpp | 29 sp<RenderNode> card; member in OvalAnimation 32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent() 38 canvas.drawRenderNode(card.get()); in createContent() 43 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 44 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 45 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | RectGridAnimation.cpp | 31 sp<RenderNode> card; member in RectGridAnimation 36 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent() 50 canvas.drawRenderNode(card.get()); in createContent() 56 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 57 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 58 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | TextAnimation.cpp | 29 sp<RenderNode> card; member in TextAnimation 32 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent() 49 canvas.drawRenderNode(card.get()); in createContent() 54 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 55 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 56 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | JankyScene.cpp | 33 sp<RenderNode> card; member in JankyScene 36 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent() 40 canvas.drawRenderNode(card.get()); in createContent() 50 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame() 51 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | SaveLayerAnimation.cpp | 32 sp<RenderNode> card; member in SaveLayerAnimation 36 card = TestUtils::createNode(0, 0, 400, 800, [](RenderProperties& props, Canvas& canvas) { in createContent() 60 canvas.drawRenderNode(card.get()); in createContent() 64 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 65 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 66 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | ClippingAnimation.cpp | 31 sp<RenderNode> card; member in ClippingAnimation 34 card = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in createContent() 59 canvas.drawRenderNode(card.get()); in createContent() 63 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 64 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 65 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | HwLayerSizeAnimation.cpp | 32 sp<RenderNode> card; member in HwLayerSizeAnimation 34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent() 39 canvas.drawRenderNode(card.get()); in createContent() 45 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame() 46 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | RoundRectClippingAnimation.cpp | 41 auto card = TestUtils::createNode( in createContent() local 48 canvas.drawRenderNode(card.get()); in createContent() 49 cards.push_back(card); in createContent() 65 for (auto& card : cards) { in doFrame() local 66 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 67 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 68 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | PathClippingAnimation.cpp | 49 auto card = TestUtils::createNode( in createContent() local 60 canvas.drawRenderNode(card.get()); in createContent() 61 cards.push_back(card); in createContent() 88 for (auto& card : cards) { in doFrame() local 91 card->mutateStagingProperties().mutableOutline().setPath(&path, 1); in doFrame() 93 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 94 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame() 95 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y | RenderNode::DISPLAY_LIST); in doFrame()
|
D | TvApp.cpp | 82 sp<RenderNode> card = createCard(x, y, dp(160), dp(160), isFirstCard); in createContent() local 84 canvas.drawRenderNode(card.get()); in createContent() 85 mCards.push_back(card); in createContent() 197 sp<RenderNode> card = mCards[ci]; in updateCard() local 198 card->setPropertyFieldsDirty(RenderNode::Y); in updateCard() 199 card->mutateStagingProperties().setTranslationY(curFrame % 150); in updateCard() 203 card->stagingProperties().getWidth(), card->stagingProperties().getHeight(), in updateCard() 204 card.get())); in updateCard() 235 cardcanvas->finishRecording(card.get()); in updateCard()
|
D | MagnifierAnimation.cpp | 65 sp<RenderNode> card; member in MagnifierAnimation 77 card = TestUtils::createNode( in createContent() 86 canvas.drawRenderNode(card.get()); in createContent() 111 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame() 112 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
D | ShapeAnimation.cpp | 31 sp<RenderNode> card; member in ShapeAnimation 33 card = TestUtils::createNode( in createContent() 96 canvas.drawRenderNode(card.get()); in createContent() 100 card->mutateStagingProperties().setTranslationY(frameNr % 150); in doFrame() 101 card->setPropertyFieldsDirty(RenderNode::Y); in doFrame()
|
D | RecentsAnimation.cpp | 53 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb); in createContent() local 54 card->mutateStagingProperties().setElevation(i * dp(8)); in createContent() 55 renderer.drawRenderNode(card.get()); in createContent() 57 mCards.push_back(card); in createContent()
|
D | PartialDamageAnimation.cpp | 43 sp<RenderNode> card = in createContent() local 48 canvas.drawRenderNode(card.get()); in createContent() 49 cards.push_back(card); in createContent()
|
D | ShadowShaderAnimation.cpp | 38 sp<RenderNode> card = in createContent() local 40 canvas.drawRenderNode(card.get()); in createContent() 41 cards.push_back(card); in createContent()
|
D | ShadowGrid2Animation.cpp | 38 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); in createContent() local 39 canvas.drawRenderNode(card.get()); in createContent() 40 cards.push_back(card); in createContent()
|
D | ShadowGridAnimation.cpp | 38 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); in createContent() local 39 canvas.drawRenderNode(card.get()); in createContent() 40 cards.push_back(card); in createContent()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaJackDetector.java | 25 private static native boolean nativeHasJackDetect(int card); in nativeHasJackDetect() argument 26 private native boolean nativeJackDetect(int card); in nativeJackDetect() argument 27 private native boolean nativeOutputJackConnected(int card); in nativeOutputJackConnected() argument 28 private native boolean nativeInputJackConnected(int card); in nativeInputJackConnected() argument
|
D | UsbAlsaManager.java | 443 /* package */ void setPeripheralMidiState(boolean enabled, int card, int device) { in setPeripheralMidiState() argument 457 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_CARD, card); in setPeripheralMidiState() 459 mPeripheralMidiDevice = UsbAlsaMidiDevice.create(mContext, properties, card, device, in setPeripheralMidiState() 467 private boolean waitForAlsaDevice(int card, boolean isAdded) { in waitForAlsaDevice() argument 469 Slog.e(TAG, "waitForAlsaDevice(c:" + card + ")"); in waitForAlsaDevice() 477 while ((isAdded ^ mAlsaCards.contains(card)) in waitForAlsaDevice() 488 final boolean cardFound = mAlsaCards.contains(card); in waitForAlsaDevice() 490 Slog.e(TAG, "waitForAlsaDevice(" + card + ") timeout"); in waitForAlsaDevice() 492 Slog.i(TAG, "waitForAlsaDevice for device card=" + card + ", isAdded=" + isAdded in waitForAlsaDevice() 527 final int card = getCardNumberFromAlsaFilePath(path); in alsaFileAdded() local [all …]
|
/frameworks/base/core/java/com/android/internal/alsa/ |
D | AlsaDevicesParser.java | 205 public int getDefaultDeviceNum(int card) { in getDefaultDeviceNum() argument 213 public boolean hasPlaybackDevices(int card) { in hasPlaybackDevices() argument 215 if (deviceRecord.mCardNum == card && in hasPlaybackDevices() 224 public boolean hasCaptureDevices(int card) { in hasCaptureDevices() argument 226 if (deviceRecord.mCardNum == card && in hasCaptureDevices() 235 public boolean hasMIDIDevices(int card) { in hasMIDIDevices() argument 237 if (deviceRecord.mCardNum == card && in hasMIDIDevices()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/ |
D | WalletContextualSuggestionsController.kt | 125 cards.filter { card -> in <lambda>() method 126 card.cardType == WalletCard.CARD_TYPE_NON_PAYMENT && in <lambda>() 127 ids.contains(card.cardId) in <lambda>() 151 callback(cards.filter { card -> card.cardType == WalletCard.CARD_TYPE_NON_PAYMENT }) in <lambda>() method
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/card/ |
D | CardPageProvider.kt | 17 package com.android.settingslib.spa.gallery.card 49 import com.android.settingslib.spa.widget.card.CardButton 50 import com.android.settingslib.spa.widget.card.CardModel 51 import com.android.settingslib.spa.widget.card.SettingsCard 52 import com.android.settingslib.spa.widget.card.SettingsCardContent 53 import com.android.settingslib.spa.widget.card.SettingsCollapsibleCard
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/hierarchy/ |
D | CustomHierarchyHelper.java | 59 Class<?> card = callback.findClass( in isCheckable() local 61 if (card.isInstance(fromView)) { in isCheckable() 62 Method isCheckable = card.getMethod("isCheckable"); in isCheckable()
|