Searched defs:phase (Results 1 - 25 of 97) sorted by relevance

1234

/external/skia/tests/
H A DAsADashTest.cpp24 const SkScalar phase = 2.0; local
25 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase));
34 const SkScalar phase = 2.0; local
36 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase));
43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase);
H A DDashPathEffectTest.cpp22 SkScalar phase = SK_ScalarInfinity; // Used to force a nonsense effect. local
23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase));
/external/pdfium/core/fpdfdoc/
H A Dcpvt_dash.h13 CPVT_Dash(int32_t dash, int32_t gap, int32_t phase) argument
14 : nDash(dash), nGap(gap), nPhase(phase) {}
/external/proguard/src/proguard/gui/splash/
H A DSawToothTiming.java31 private final long phase; field in class:SawToothTiming
37 * @param phase the phase of the cycle, which is added to the actual time.
39 public SawToothTiming(long period, long phase) argument
42 this.phase = phase;
51 return (double)((time + phase) % period) / (double)period;
H A DSineTiming.java31 private final long phase; field in class:SineTiming
37 * @param phase the phase of the cycle, which is added to the actual time.
39 public SineTiming(long period, long phase) argument
42 this.phase = phase;
51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
/external/replicaisland/src/com/replica/replicaisland/
H A DPhasedObject.java20 * A basic object that adds an execution phase. When PhasedObjects are combined with
21 * PhasedObjectManagers, objects within the manager will be updated by phase.
25 public int phase; // This is public because the phased is accessed extremely often, so much field in class:PhasedObject
38 phase = phaseValue;
H A DPhasedObjectManager.java30 private PhasedObject mSearchDummy; // A dummy object allocated up-front for searching by phase.
71 public BaseObject find(int phase) { argument
72 mSearchDummy.setPhase(phase);
91 result = ((PhasedObject) object1).phase - ((PhasedObject) object2).phase;
/external/skia/gm/
H A Dstroketext.cpp55 const SkScalar phase = 0; local
59 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), phase));
H A DSkAnimTimer.h109 * Transitions from ends->mid->ends linearly over period seconds. The phase specifies a phase
112 SkScalar pingPong(SkScalar period, SkScalar phase, SkScalar ends, SkScalar mid) const { argument
113 return PingPong(this->secs(), period, phase, ends, mid);
117 static SkScalar PingPong(double t, SkScalar period, SkScalar phase, SkScalar ends, argument
119 double value = ::fmod(t + phase, period);
/external/skia/src/core/
H A DSkATrace.cpp29 SkEventTracer::Handle SkATrace::addTraceEvent(char phase, argument
39 if (TRACE_EVENT_PHASE_COMPLETE == phase ||
40 TRACE_EVENT_PHASE_BEGIN == phase ||
41 TRACE_EVENT_PHASE_INSTANT == phase) {
45 if (TRACE_EVENT_PHASE_END == phase ||
46 TRACE_EVENT_PHASE_INSTANT == phase) {
/external/curl/tests/libtest/
H A Dlib597.c58 int phase; local
72 for(phase = CONNECT_ONLY_PHASE; phase < LAST_PHASE; ++phase) {
79 /* enable 'CONNECT_ONLY' option when in connect phase */
80 if(phase == CONNECT_ONLY_PHASE)
83 /* enable 'NOBODY' option to send 'QUIT' command in quit phase */
84 if(phase == QUIT_PHASE) {
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_allstates.cpp44 FX_FLOAT phase,
46 m_GraphState.SetLineDash(pArray, phase, scale);
43 SetLineDash(CPDF_Array* pArray, FX_FLOAT phase, FX_FLOAT scale) argument
/external/icu/icu4c/source/tools/gennorm2/
H A Dn2builder.h109 int32_t phase; member in class:Normalizer2DataBuilder
/external/pdfium/core/fxge/ge/
H A Dcfx_graphstate.cpp23 FX_FLOAT phase,
26 pData->m_DashPhase = phase * scale;
22 SetLineDash(CPDF_Array* pArray, FX_FLOAT phase, FX_FLOAT scale) argument
/external/skia/samplecode/
H A DSamplePathEffects.cpp29 static sk_sp<SkPathEffect> make_pe(int flags, SkScalar phase) { argument
41 auto outer = SkPath1DPathEffect::Make(path, 12, phase, SkPath1DPathEffect::kRotate_Style);
51 static sk_sp<SkPathEffect> make_warp_pe(SkScalar phase) { argument
61 path, 12, phase, SkPath1DPathEffect::kMorph_Style);
/external/v8/src/compiler/
H A Dgraph-visualizer.h28 const char* phase,
53 AsC1V(const char* phase, const Schedule* schedule, argument
59 phase_(phase) {}
68 const char* phase, const RegisterAllocationData* data = nullptr)
69 : phase_(phase), data_(data) {}
67 AsC1VRegisterAllocationData( const char* phase, const RegisterAllocationData* data = nullptr) argument
/external/webrtc/webrtc/base/
H A Devent_tracer_unittest.cc49 static void AddTraceEventHandler(char phase, argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dtransform.c19 double fact, phase; local
22 phase = 0.0;
24 tables->costab1[k] = cos(phase);
25 tables->sintab1[k] = sin(phase);
26 phase += fact;
30 phase = 0.5 * fact;
32 tables->costab2[k] = cos(phase);
33 tables->sintab2[k] = sin(phase);
34 phase += fact;
/external/libmojo/base/trace_event/
H A Dtrace_event_android.cc42 char phase,
51 std::string out = StringPrintf("%c|%d|%s", phase, getpid(), name);
41 WriteEvent( char phase, const char* category_group, const char* name, unsigned long long id, const char** arg_names, const unsigned char* arg_types, const TraceEvent::TraceValue* arg_values, const std::unique_ptr<ConvertableToTraceFormat>* convertable_values, unsigned int flags) argument
/external/libopus/celt/tests/
H A Dtest_unit_dft.c83 double phase = -2*M_PI*bin*k/nfft; local
84 double re = cos(phase);
85 double im = sin(phase);
H A Dtest_unit_mdct.c80 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; local
81 double re = cos(phase);
110 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; local
111 double re = cos(phase);
/external/skia/include/core/
H A DSkPathEffect.h136 DashInfo(SkScalar* intervals, int32_t count, SkScalar phase) argument
137 : fIntervals(intervals), fCount(count), fPhase(phase) {}
/external/skia/include/gpu/
H A DGrTestUtils.h65 static sk_sp<SkPathEffect> Make(const SkScalar* intervals, int count, SkScalar phase) { argument
66 return sk_sp<SkPathEffect>(new TestDashPathEffect(intervals, count, phase));
75 TestDashPathEffect(const SkScalar* intervals, int count, SkScalar phase);
/external/skia/src/effects/
H A DSk1DPathEffect.cpp35 SkScalar phase, Style style) : fPath(path)
38 // cleanup their phase parameter, inverting it so that it becomes an
40 if (phase < 0) {
41 phase = -phase;
42 if (phase > advance) {
43 phase = SkScalarMod(phase, advance);
46 if (phase > advance) {
47 phase
34 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style style) argument
153 SkScalar phase = buffer.readScalar(); local
206 Make(const SkPath& path, SkScalar advance, SkScalar phase, Style style) argument
[all...]
/external/skia/src/gpu/
H A DGrStyle.cpp15 // One scalar for scale, one for dash phase, and one for each dash value.
48 SkScalar phase = style.dashPhase(); local
50 memcpy(&key[i++], &phase, sizeof(SkScalar));
137 SkScalar phase = fDashInfo.fPhase; local
143 SkDashPath::CalcDashParameters(phase, intervals, intervalCnt, &initialLength,

Completed in 2239 milliseconds

1234