/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/scenetransition/ |
H A D | LockscreenSceneTransitionInteractorTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 54 private val progress = MutableStateFlow(0f) constant 66 progress, 76 progress, 93 /** STL: Ls -> Gone, then settle with Idle(Gone). This is the default case. */ 105 progress = 0f, in transition_from_ls_scene_end_in_gone() 108 progress.value = 0.4f in transition_from_ls_scene_end_in_gone() 109 assertTransition(step = currentStep!!, state = TransitionState.RUNNING, progress = 0.4f) in transition_from_ls_scene_end_in_gone() 117 progress = 1f, in transition_from_ls_scene_end_in_gone() 122 * STL: Ls -> Gone, then settle with Idle(Ls). KTF in this scenario needs to invert the [all …]
|
/aosp_15_r20/external/lottie/lottie-compose/src/test/java/com/airbnb/lottie/compose/ |
H A D | LottieAnimatableImplTest.kt | 39 assertEquals(0f, anim.progress) in <lambda>() 42 assertEquals(0.5f, anim.progress, 0.01f) in <lambda>() 43 clock.frameMs(composition.duration.toLong() - 1) in <lambda>() 56 assertEquals(0f, anim.progress) in <lambda>() 59 assertFrame(300, progress = 0.5f, iterations = 2) in <lambda>() 60 assertFrame(compositionDuration - 1, progress = 0.998f, iteration = 1, iterations = 2) in <lambda>() 61 …assertFrame(2 * compositionDuration, progress = 1f, iteration = 2, iterations = 2, isPlaying = fal… in <lambda>() 69 assertEquals(0f, anim.progress) in <lambda>() 72 assertFrame(300, progress = 0.5f, iterations = 2) in <lambda>() 73 assertFrame(compositionDuration - 1, progress = 0.998f, iteration = 1, iterations = 2) in <lambda>() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/lldb/Core/ |
D | Progress.h | 1 //===-- Progress.h ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 #include "lldb/lldb-forward.h" 14 #include "lldb/lldb-types.h" 23 /// A Progress indicator helper class. 26 /// progress so that clients are aware of delays that might appear during 31 /// The Progress class helps make sure that progress is correctly reported 32 /// and will always send an initial progress update, updates when 33 /// Progress::Increment() is called, and also will make sure that a progress [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-progress/ |
H A D | paper-progress.html | 1 <!-- 9 --> 12 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> 13 <link rel="import" href="../iron-range-behavior/iron-range-behavior.html"> 14 <link rel="import" href="../paper-styles/color.html"> 16 <!-- 17 Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activ… 19 The progress bars are for situations where the percentage completed can be 25 <paper-progress value="10"></paper-progress> 27 There is also a secondary progress which is useful for displaying intermediate [all …]
|
H A D | README.md | 1 …tatus](https://travis-ci.org/PolymerElements/paper-progress.svg?branch=master)](https://travis-ci.… 3 ##<paper-progress> 5 Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activ… 7 <!--- 9 <custom-element-demo> 11 <script src="../webcomponentsjs/webcomponents-lite.js"></script> 12 <link rel="import" href="../paper-styles/color.html"> 13 <link rel="import" href="paper-progress.html"> 14 <style is="custom-style"> 15 paper-progress { [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/lldb/Core/ |
D | Progress.h | 1 //===-- Progress.h ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "lldb/lldb-forward.h" 13 #include "lldb/lldb-types.h" 22 /// A Progress indicator helper class. 25 /// progress so that clients are aware of delays that might appear during 30 /// The Progress class helps make sure that progress is correctly reported 31 /// and will always send an initial progress update, updates when 32 /// Progress::Increment() is called, and also will make sure that a progress [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/lldb/Core/ |
D | Progress.h | 1 //===-- Progress.h ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 #include "lldb/lldb-forward.h" 13 #include "lldb/lldb-types.h" 22 /// A Progress indicator helper class. 25 /// progress so that clients are aware of delays that might appear during 30 /// The Progress class helps make sure that progress is correctly reported 31 /// and will always send an initial progress update, updates when 32 /// Progress::Increment() is called, and also will make sure that a progress [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | progress.py | 64 """A thread to periodically update progress.""" 66 def __init__(self, progress: "Progress", task_id: "TaskID", update_period: float): argument 67 self.progress = progress 75 def run(self) -> None: 77 advance = self.progress.advance 84 advance(task_id, completed - last_completed) 87 self.progress.update(self.task_id, completed=self.completed, refresh=True) 89 def __enter__(self) -> "_TrackThread": 98 ) -> None: 119 ) -> Iterable[ProgressType]: [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | progress.py | 64 """A thread to periodically update progress.""" 66 def __init__(self, progress: "Progress", task_id: "TaskID", update_period: float): argument 67 self.progress = progress 75 def run(self) -> None: 77 advance = self.progress.advance 84 advance(task_id, completed - last_completed) 87 self.progress.update(self.task_id, completed=self.completed, refresh=True) 89 def __enter__(self) -> "_TrackThread": 98 ) -> None: 119 ) -> Iterable[ProgressType]: [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | progress.py | 64 """A thread to periodically update progress.""" 66 def __init__(self, progress: "Progress", task_id: "TaskID", update_period: float): argument 67 self.progress = progress 75 def run(self) -> None: 77 advance = self.progress.advance 84 advance(task_id, completed - last_completed) 87 self.progress.update(self.task_id, completed=self.completed, refresh=True) 89 def __enter__(self) -> "_TrackThread": 98 ) -> None: 119 ) -> Iterable[ProgressType]: [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/rich/ |
D | progress.py | 64 """A thread to periodically update progress.""" 66 def __init__(self, progress: "Progress", task_id: "TaskID", update_period: float): argument 67 self.progress = progress 75 def run(self) -> None: 77 advance = self.progress.advance 84 advance(task_id, completed - last_completed) 87 self.progress.update(self.task_id, completed=self.completed, refresh=True) 89 def __enter__(self) -> "_TrackThread": 98 ) -> None: 119 ) -> Iterable[ProgressType]: [all …]
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_kernel.c | 43 if (compiler->clc_shader) in load_clc_shader() 44 return compiler->clc_shader; in load_clc_shader() 53 p_atomic_cmpxchg(&compiler->clc_shader, NULL, nir); in load_clc_shader() 94 assert(nir_intrinsic_infos[op].src_components[i] == -1); in implement_atomic_builtin() 95 src = &nir_build_deref_cast(&b, src, mode, data_type, 0)->def; in implement_atomic_builtin() 97 atomic->src[i] = nir_src_for_ssa(src); in implement_atomic_builtin() 100 nir_def_init_for_type(&atomic->instr, &atomic->def, data_type); in implement_atomic_builtin() 102 nir_builder_instr_insert(&b, &atomic->instr); in implement_atomic_builtin() 103 nir_store_deref(&b, ret, &atomic->def, ~0); in implement_atomic_builtin() 117 ballot->src[0] = nir_src_for_ssa(cond); in implement_sub_group_ballot_builtin() [all …]
|
H A D | brw_fs_lower.cpp | 3 * SPDX-License-Identifier: MIT 19 bool progress = false; in brw_fs_lower_constant_loads() local 25 for (int i = 0; i < inst->sources; i++) { in brw_fs_lower_constant_loads() 26 if (inst->src[i].file != UNIFORM) in brw_fs_lower_constant_loads() 30 if (inst->opcode == SHADER_OPCODE_MOV_INDIRECT && i == 0) in brw_fs_lower_constant_loads() 33 if (!s.get_pull_locs(inst->src[i], &index, &pull_index)) in brw_fs_lower_constant_loads() 36 assert(inst->src[i].stride == 0); in brw_fs_lower_constant_loads() 45 srcs[PULL_UNIFORM_CONSTANT_SRC_OFFSET] = brw_imm_ud(base & ~(block_sz - 1)); in brw_fs_lower_constant_loads() 53 inst->src[i].file = VGRF; in brw_fs_lower_constant_loads() 54 inst->src[i].nr = dst.nr; in brw_fs_lower_constant_loads() [all …]
|
/aosp_15_r20/external/curl/lib/ |
H A D | progress.c | 21 * SPDX-License-Identifier: curl 30 #include "progress.h" 44 strcpy(r, "--:--:--"); in time2str() 49 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str() 50 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str() 57 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600); in time2str() 93 /* 10000 MB - 100 GB, we show it as XX.XG */ in max5data() 110 /* 16384 petabytes (16 exabytes) is the maximum a 64-bit unsigned number can in max5data() 121 pgrsStartNow() - sets start time 122 pgrsSetDownloadSize(x) - known expected download size [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/lldb/Core/ |
D | Progress.h | 1 //===-- Progress.h ----------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 #include "lldb/lldb-types.h" 20 /// A Progress indicator helper class. 23 /// progress so that clients are aware of delays that might appear during 28 /// The Progress class helps make sure that progress is correctly reported 29 /// and will always send an initial progress update, updates when 30 /// Progress::Increment() is called, and also will make sure that a progress 34 /// The progress is reported via a callback whose type is ProgressCallback: [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-progress/test/ |
H A D | basic.html | 2 <!-- 10 --> 13 <meta charset="UTF-8"> 14 <title>paper-progress test</title> 15 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> 17 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> 18 <script src="../../web-component-tester/browser.js"></script> 19 <script src="../../test-fixture/test-fixture-mocha.js"></script> 21 <link rel="import" href="../paper-progress.html"> 22 <link rel="import" href="../../test-fixture/test-fixture.html"> [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-progress/demo/ |
H A D | index.html | 1 <!-- 9 --> 13 <title>paper-progress demo</title> 15 …<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalab… 16 <meta name="mobile-web-app-capable" content="yes"> 17 <meta name="apple-mobile-web-app-capable" content="yes"> 19 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> 20 <link rel="import" href="../../paper-styles/color.html"> 21 <link rel="import" href="../../iron-demo-helpers/demo-snippet.html"> 22 <link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html"> [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 80 * A user interface element that indicates the progress of an operation. 81 * Progress bar supports two modes to represent progress: determinate, and indeterminate. For 82 * a visual overview of the difference between determinate and indeterminate progress modes, see 83 …<a href="https://material.io/guidelines/components/progress-activity.html#progress-activity-types-… 84 * Progress & activity</a>. 85 * Display progress bars to a user in a non-interruptive way. 86 * Show the progress bar in your app's user interface or in a notification 89 * <h3>Indeterminate Progress</h3> 91 * Use indeterminate mode for the progress bar when you do not know how long an [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/ |
H A D | SliderStateTrackerTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 94 val progress = 0f in <lambda>() constant 95 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>() 112 val progress = 0f in <lambda>() constant 113 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>() 133 var progress = 0.5f in <lambda>() variable 134 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>() 136 // GIVEN a progress event due to an imprecise touch with a progress below threshold in <lambda>() 137 progress += (config.jumpThreshold - 0.01f) in <lambda>() 139 SliderEvent(SliderEventType.PROGRESS_CHANGE_BY_USER, progress) in <lambda>() [all …]
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/ |
H A D | vars_tests.cpp | 37 return nir_local_variable_create(b->impl, type, name); in create_var() 39 return nir_variable_create(b->shader, mode, type, name); in create_var() 78 return exec_list_length(&b->impl->locals); in count_function_temp_vars() 83 nir_foreach_variable_with_modes(var, b->shader, nir_var_shader_temp) in count_shader_temp_vars() 99 lin_ctx = linear_context(b->shader); in nir_vars_test() 106 nir_print_shader(b->shader, stdout); in ~nir_vars_test() 114 nir_foreach_block(block, b->impl) { in count_intrinsics() 116 if (instr->type != nir_instr_type_intrinsic) in count_intrinsics() 119 if (intrin->intrinsic == intrinsic) in count_intrinsics() 130 nir_foreach_block(block, b->impl) { in count_derefs() [all …]
|
/aosp_15_r20/external/autotest/utils/frozen_chromite/lib/ |
H A D | operation.py | 1 # -*- coding: utf-8 -*- 3 # Use of this source code is governed by a BSD-style license that can be 6 """Operation, including output and progress display 8 This module implements the concept of an operation, which has regular progress 47 """Wrapper around long running functions to show progress. 50 the output, and display a progress bar. 52 To display a progress bar for a function foo with argument foo_args, this is 65 # By default, update the progress bar every 100 ms. 87 def ProgressBar(self, progress): argument 88 """This method creates and displays a progress bar. [all …]
|
/aosp_15_r20/external/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir.c | 3 * SPDX-License-Identifier: MIT 19 assert(ubo->idx > 0); in ir3_get_shared_driver_ubo() 22 b->shader->info.num_ubos = MAX2(b->shader->info.num_ubos, ubo->idx + 1); in ir3_get_shared_driver_ubo() 23 return nir_imm_int(b, ubo->idx); in ir3_get_shared_driver_ubo() 32 if (ubo->idx == -1) { in ir3_get_driver_ubo() 33 if (b->shader->info.num_ubos == 0) in ir3_get_driver_ubo() 34 b->shader->info.num_ubos++; in ir3_get_driver_ubo() 35 ubo->idx = b->shader->info.num_ubos++; in ir3_get_driver_ubo() 36 return nir_imm_int(b, ubo->idx); in ir3_get_driver_ubo() 45 if (v->binning_pass) in ir3_get_driver_consts_ubo() [all …]
|
/aosp_15_r20/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include <android-base/file.h> 23 #include <android-base/properties.h> 24 #include <android-base/stringprintf.h> 25 #include <android-base/strings.h> 26 #include <android-base/unique_fd.h> 32 #include <gmock/gmock-matchers.h> 73 MOCK_METHOD1(onProgress, binder::Status(int32_t progress)); 141 // Need functions that returns void to use assertions - 142 …// https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md#assertion-pla… [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r300_nir.c | 3 * SPDX-License-Identifier: MIT 14 nir_foreach_use(src, &instr->def) { in r300_is_only_used_as_float() 19 if (user_instr->type == nir_instr_type_alu) { in r300_is_only_used_as_float() 21 switch (alu->op) { in r300_is_only_used_as_float() 35 const nir_op_info *info = &nir_op_infos[alu->op]; in r300_is_only_used_as_float() 37 int src_idx = alu_src - &alu->src[0]; in r300_is_only_used_as_float() 38 if ((info->input_types[src_idx] & nir_type_int) || in r300_is_only_used_as_float() 39 (info->input_types[src_idx] & nir_type_bool)) in r300_is_only_used_as_float() 51 if (instr->type != nir_instr_type_alu) in r300_should_vectorize_instr() 56 * of lowered indirect register access, where we access i-th element in r300_should_vectorize_instr() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/plat-mac/ |
D | buildtools.py | 70 rsrcname=None, others=[], raw=0, progress="default", destroot=""): argument 72 if progress == "default": 77 progress = EasyDialogs.ProgressBar("Processing %s..."%os.path.split(filename)[1], 120) 78 progress.label("Compiling...") 79 progress.inc(0) 95 raise BuildError, "End-of-file in script %s" % (filename,) 100 if string.lower(filename[-3:]) == ".py": 101 basename = filename[:-3] 121 process_common(template, progress, code, rsrcname, destname, 0, 128 if progress: [all …]
|