Home
last modified time | relevance | path

Searched refs:isBackground (Results 1 - 25 of 32) sorted by relevance

12

/foundation/multimedia/av_session/services/session/server/
H A Dbackground_audio_controller.cpp41 AppManagerAdapter::GetInstance().SetAppStateChangeObserver([this](int32_t uid, int32_t pid, bool isBackground) { in Init()
42 SLOGI("set background observe for uid=%{public}d, pid=%{public}d, isBackground=%{public}d", in Init()
43 uid, pid, isBackground); in Init()
44 HandleAppMuteState(uid, pid, isBackground); in Init()
110 void BackgroundAudioController::HandleAppMuteState(int32_t uid, int32_t pid, bool isBackground) in HandleAppMuteState() argument
120 if (isBackground) { in HandleAppMuteState()
H A Dbackground_audio_controller.h46 void HandleAppMuteState(int32_t uid, int32_t pid, bool isBackground);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_image_test.cpp406 bool isBackground = false; in HWTEST_F() local
408 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
409 isBackground = true; in HWTEST_F()
410 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
426 bool isBackground = false; in HWTEST_F() local
429 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
431 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
433 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
435 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
437 image.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.cpp129 const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground) in PreGetPixelMapFromJsonBuf()
139 if (isBackground) { in PreGetPixelMapFromJsonBuf()
150 DrawableItem& drawableiItem = isBackground ? backgroundItem_ : foregroundItem_; in PreGetPixelMapFromJsonBuf()
237 bool LayeredDrawableDescriptor::GetPixelMapFromJsonBuf(bool isBackground) in GetPixelMapFromJsonBuf() argument
240 if ((isBackground && background_.has_value()) || (!isBackground && foreground_.has_value())) { in GetPixelMapFromJsonBuf()
243 if ((isBackground && backgroundItem_.state_ == Global::Resource::SUCCESS) || in GetPixelMapFromJsonBuf()
244 (!isBackground && foregroundItem_.state_ == Global::Resource::SUCCESS)) { in GetPixelMapFromJsonBuf()
247 LayeredDrawableDescriptor::CreateImageSource(isBackground ? backgroundItem_ : foregroundItem_, errorCode); in GetPixelMapFromJsonBuf()
261 if (isBackground) { in GetPixelMapFromJsonBuf()
128 PreGetPixelMapFromJsonBuf( const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground) PreGetPixelMapFromJsonBuf() argument
[all...]
H A Ddrawable_descriptor.h166 const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, bool isBackground);
170 bool GetPixelMapFromJsonBuf(bool isBackground);
/foundation/ability/ability_runtime/test/unittest/cj_runtime_test/
H A Dcj_mock_runtime.h75 void NotifyApplicationState(bool isBackground) override
/foundation/ability/ability_runtime/test/unittest/cj_test_runner_test/
H A Dcj_mock_runtime.h73 void NotifyApplicationState(bool isBackground) override
/foundation/filemanagement/app_file_service/tests/mock/backup_ext/include/
H A Djs_runtime_mock.h36 MOCK_METHOD(void, NotifyApplicationState, (bool isBackground));
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_draw_cmd_test.cpp123 bool isBackground = true; in HWTEST_F() local
128 extendImageObject.Playback(canvas, rect, sampling, isBackground); in HWTEST_F()
136 extendImageObjectT.Playback(canvas, rect, sampling, isBackground); in HWTEST_F()
138 extendImageObjectT.Playback(canvas, rect, sampling, isBackground); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtween_option.h163 void SetIsBackground(bool isBackground) in SetIsBackground() argument
165 isBackground_ = isBackground; in SetIsBackground()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_runtime_test/
H A Dmock_runtime.h80 void NotifyApplicationState(bool isBackground) override
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Druntime.h97 virtual void NotifyApplicationState(bool isBackground) = 0;
H A Dcj_runtime.h49 void NotifyApplicationState(bool isBackground) override {}
H A Djs_runtime.h90 void NotifyApplicationState(bool isBackground) override;
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.h107 virtual void SetColor(const Color& color, bool isBackground) // add for animation in SetColor() argument
110 if (isBackground) { in SetColor()
H A Drosen_render_box.h64 void SetColor(const Color& color, bool isBackground) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp121 const Drawing::SamplingOptions& samplingOptions, bool isBackground) in CanvasDrawImage()
126 bool isFitMatrixValid = !isBackground && imageFit_ == ImageFit::MATRIX && in CanvasDrawImage()
134 if (!isBackground) { in CanvasDrawImage()
158 if (!isBackground) { in CanvasDrawImage()
120 CanvasDrawImage(Drawing::Canvas& canvas, const Drawing::Rect& rect, const Drawing::SamplingOptions& samplingOptions, bool isBackground) CanvasDrawImage() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderimage_fuzzer/
H A Drsrenderimage_fuzzer.cpp202 bool isBackground = GetData<bool>(); in RSImageFuzzTest() local
233 rsImage.CanvasDrawImage(canvas, rect, Drawing::SamplingOptions(), isBackground); in RSImageFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image.h94 const Drawing::SamplingOptions& samplingOptions, bool isBackground = false);
/foundation/multimedia/av_session/services/session/server/test/
H A Dappmanager_adapter_test.cpp51 [] (int32_t uid, int32_t pid, bool isBackground) { in SetUpTestCase()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsecurity_ui_extension_pattern.cpp174 bool isBackground = state_ == AbilityState::BACKGROUND; in UpdateWant() local
192 if (isBackground) { in UpdateWant()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dcmd_list.h44 const SamplingOptions& sampling, bool isBackground = false) = 0;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_draw_cmd.cpp137 const Drawing::SamplingOptions& sampling, bool isBackground) in Playback()
159 rsImage_->CanvasDrawImage(canvas, rect, sampling, isBackground); in Playback()
164 rsImage_->CanvasDrawImage(canvas, rect, sampling, isBackground); in Playback()
136 Playback(Drawing::Canvas& canvas, const Drawing::Rect& rect, const Drawing::SamplingOptions& sampling, bool isBackground) Playback() argument
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_ctrl.c114 bool isBackground = g_hbConditionState.backgroundState == SOFTBUS_USER_BACKGROUND; in IsHeartbeatEnable() local
123 isBtOn, isScreenUnlock, isLogIn, g_hbConditionState.hasTrustedRelation, isBackground, isNightMode, isOOBEEnd, in IsHeartbeatEnable()
126 (isLogIn || g_hbConditionState.hasTrustedRelation) && !isBackground && !isNightMode && isOOBEEnd; in IsHeartbeatEnable()
/foundation/ability/ability_runtime/test/unittest/runtime_test/
H A Djs_runtime_test.cpp207 bool isBackground = false; in HWTEST_F() local
208 jsRuntime->NotifyApplicationState(isBackground); in HWTEST_F()
226 bool isBackground = true; in HWTEST_F() local
227 jsRuntime->NotifyApplicationState(isBackground); in HWTEST_F()

Completed in 21 milliseconds

12