Home
last modified time | relevance | path

Searched refs:modeId (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java207 public int modeId; field in DisplayDeviceInfo
385 || modeId != other.modeId in diff()
427 modeId = other.modeId; in copyFrom()
464 sb.append(", modeId ").append(modeId); in toString()
H A DLocalDisplayAdapter.java514 int modeId) { in getModeById() argument
516 if (mode.id == modeId) { in getModeById()
520 Slog.e(TAG, "Can't find display mode with id " + modeId); in getModeById()
563 mInfo.modeId = mActiveModeId; in getDisplayDeviceInfoLocked()
1012 private int findDisplayModeIdLocked(int modeId, int modeGroup) { in findDisplayModeIdLocked() argument
1014 DisplayModeRecord record = mSupportedModes.get(modeId); in findDisplayModeIdLocked()
1130 void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId);
1151 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId) {
1152 mListener.onModeChanged(timestampNanos, physicalDisplayId, modeId);
1180 + ", modeId=" + modeId + ")");
[all …]
H A DLogicalDisplay.java395 mBaseDisplayInfo.modeId = deviceInfo.modeId; in updateLocked()
/aosp12/frameworks/base/core/java/android/view/
H A DDisplayEventReceiver.java204 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { in onModeChanged() argument
273 private void dispatchModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { in dispatchModeChanged() argument
274 onModeChanged(timestampNanos, physicalDisplayId, modeId); in dispatchModeChanged()
H A DDisplayInfo.java180 public int modeId; field in DisplayInfo
363 && modeId == other.modeId in equals()
412 modeId = other.modeId; in copyFrom()
456 modeId = source.readInt(); in readFromParcel()
513 dest.writeInt(modeId); in writeToParcel()
564 return findMode(modeId); in getMode()
739 sb.append(modeId); in toString()
H A DDisplay.java1713 public Mode(int modeId, int width, int height, float refreshRate) { in Mode() argument
1714 this(modeId, width, height, refreshRate, new float[0]); in Mode()
1720 public Mode(int modeId, int width, int height, float refreshRate, in Mode() argument
1722 mModeId = modeId; in Mode()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DRefreshRateStatsTest.cpp65 DisplayModePtr createDisplayMode(DisplayModeId modeId, int32_t group, int64_t vsyncPeriod);
80 DisplayModePtr RefreshRateStatsTest::createDisplayMode(DisplayModeId modeId, int32_t group, in createDisplayMode() argument
82 return DisplayMode::Builder(static_cast<hal::HWConfigId>(modeId.value())) in createDisplayMode()
83 .setId(modeId) in createDisplayMode()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeListView.java856 final int modeId = selectedItem.getModeId(); in SelectedState() local
887 effect.startFadeoutAnimation(null, selectedItem, iconX, iconY, modeId); in SelectedState()
1073 int modeId = selectedItem.getModeId(); in onItemSelected() local
1074 mModeSwitchListener.onModeButtonPressed(modeId); in onItemSelected()
1218 int modeId = getModeIndex(i); in initializeModeSelectorItems() local
1226 selectorItem.setText(CameraUtil.getCameraModeText(modeId, getContext())); in initializeModeSelectorItems()
1230 .getCameraModeContentDescription(modeId, getContext())); in initializeModeSelectorItems()
1231 selectorItem.setModeId(modeId); in initializeModeSelectorItems()
1531 int modeId = mModeSwitchListener.getCurrentModeIndex(); in onVisibilityChanged() local
2138 int x, int y, final int modeId) { in startFadeoutAnimation() argument
[all …]
H A DModeSelectorItem.java250 public void setModeId(int modeId) { in setModeId() argument
251 mModeId = modeId; in setModeId()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DRefreshRateConfigs.cpp670 void RefreshRateConfigs::setCurrentModeId(DisplayModeId modeId) { in setCurrentModeId() argument
677 mCurrentRefreshRate = mRefreshRates.at(modeId).get(); in setCurrentModeId()
722 const auto modeId = mode->getId(); in updateDisplayModes() local
723 mRefreshRates.emplace(modeId, in updateDisplayModes()
725 if (modeId == currentModeId) { in updateDisplayModes()
726 mCurrentRefreshRate = mRefreshRates.at(modeId).get(); in updateDisplayModes()
814 bool RefreshRateConfigs::isModeAllowed(DisplayModeId modeId) const { in isModeAllowed()
817 if (refreshRate->getModeId() == modeId) { in isModeAllowed()
H A DRefreshRateConfigs.h287 RefreshRate getRefreshRateFromModeId(DisplayModeId modeId) const EXCLUDES(mLock) { in getRefreshRateFromModeId() argument
289 return *mRefreshRates.at(modeId); in getRefreshRateFromModeId()
H A DEventThread.cpp95 to_string(event.header.displayId).c_str(), event.modeChange.modeId); in toString()
125 event.modeChange.modeId = mode->getId().value(); in makeModeChanged()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_DisplayEventReceiver.cpp72 void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
133 int32_t modeId, nsecs_t) { in dispatchModeChanged() argument
140 timestamp, displayId.value, modeId); in dispatchModeChanged()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
H A DLocalDisplayAdapterTest.java362 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated()
387 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated()
414 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated()
431 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated()
717 private Display.Mode getModeById(DisplayDeviceInfo displayDeviceInfo, int modeId) { in getModeById() argument
719 .filter(mode -> mode.getModeId() == modeId) in getModeById()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_qclient.cpp342 static void applyModeById(hwc_context_t* ctx, int32_t modeId) { in applyModeById() argument
343 int err = ctx->mColorMode->applyModeByID(modeId); in applyModeById()
345 ALOGD("%s: Not able to apply mode: %d", __FUNCTION__, modeId); in applyModeById()
/aosp12/frameworks/native/libs/gui/tests/
H A DDisplayEventStructLayout_test.cpp42 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, modeId, 0); in TEST()
/aosp12/hardware/interfaces/wifi/1.0/
H A DIWifiChipEventCallback.hal26 * @param modeId The mode that the chip switched to, corresponding to the id
29 oneway onChipReconfigured(ChipModeId modeId);
/aosp12/frameworks/native/libs/gui/include/gui/
H A DDisplayEventDispatcher.h66 virtual void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
H A DDisplayEventReceiver.h87 int32_t modeId; member
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java544 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId, int width, in Keyboard() argument
555 mKeyboardMode = modeId; in Keyboard()
566 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId) { in Keyboard() argument
578 mKeyboardMode = modeId; in Keyboard()
/aosp12/hardware/interfaces/wifi/1.4/vts/functional/
H A Dwifi_chip_hidl_test.cpp71 Return<void> onChipReconfigured(uint32_t modeId __unused) { in onChipReconfigured()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DDisplayManagerServiceTest.java356 displayDeviceInfo.modeId = 1; in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged()
1076 int modeId) { in updateModeId() argument
1079 displayDeviceInfo.modeId = modeId; in updateModeId()
1112 displayDeviceInfo.modeId = 1; in createFakeDisplayDevice()
/aosp12/hardware/interfaces/wifi/1.2/vts/functional/
H A Dwifi_chip_hidl_test.cpp77 Return<void> onChipReconfigured(uint32_t modeId __unused) { in onChipReconfigured()
/aosp12/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp196 DisplayModePtr DisplayDevice::getMode(DisplayModeId modeId) const { in getMode()
198 [&](DisplayModePtr mode) { return mode->getId() == modeId; }); in getMode()
/aosp12/frameworks/native/libs/gui/
H A DDisplayEventDispatcher.cpp162 ev.modeChange.modeId, ev.modeChange.vsyncPeriod); in processPendingEvents()

12