| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |
| /external/chromium_org/content/common/gpu/ |
| devtools_gpu_instrumentation.cc | 38 void GpuEventsDispatcher::DoFireEvent(EventPhase phase, 46 (*it)->ProcessEvent(timestamp, phase, channel);
|
| devtools_gpu_instrumentation.h | 31 static void FireEvent(EventPhase phase, GpuChannel* channel) { 34 DoFireEvent(phase, channel);
|
| devtools_gpu_agent.cc | 49 GpuEventsDispatcher::EventPhase phase, 57 task.phase = phase;
|
| /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
| SVGImageForContainer.cpp | 43 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 45 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
|
| /frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
| WifiScanningService.java | 44 public void onBootPhase(int phase) { 45 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
|
| WifiService.java | 44 public void onBootPhase(int phase) { 45 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
|
| /packages/apps/Exchange/tests/src/com/android/exchange/eas/ |
| EasProvisionTests.java | 49 final int phase = EasProvision.PHASE_INITIAL; local 64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 79 final int phase = EasProvision.PHASE_INITIAL; local 95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 110 final int phase = EasProvision.PHASE_WIPE; local 123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 138 final int phase = EasProvision.PHASE_ACKNOWLEDGE; local 155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
|
| /external/chromium_org/ppapi/shared_impl/ |
| ppb_trace_event_impl.cc | 32 void TraceEventImpl::AddTraceEvent(int8_t phase, 45 phase, 63 int8_t phase, 75 phase,
|
| /external/chromium_org/third_party/WebKit/Source/platform/ |
| EventTracer.cpp | 76 TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag, 91 return blink::Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, numArgs, argNames, argTypes, argValues, webConvertableValues, flags); 94 TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag, 99 return blink::Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, numArgs, argNames, argTypes, argValues, 0, flags);
|
| /external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
| StrokeData.cpp | 92 int phase = 1; local 97 // Adjust the phase to center the dashes within the line. 100 phase = dashLength - remainder / 2; 103 phase = (dashLength - remainder) / 2; 108 RefPtr<SkDashPathEffect> pathEffect = adoptRef(SkDashPathEffect::Create(intervals, 2, SkIntToScalar(phase)));
|
| GradientGeneratedImage.cpp | 48 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 52 int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width())); 53 int firstRow = static_cast<int>(floorf((((destRect.y() - phase.y()) / scale.height()) - srcRect.y()) / srcRect.height())); 55 float dstX = (srcRect.x() + i * stepX) * scale.width() + phase.x(); 74 visibleSrcRect.setX((tileDstRect.x() - phase.x()) / scale.width() - i * stepX); 78 float dstY = (srcRect.y() + j * stepY) * scale.height() + phase.y(); 95 visibleSrcRect.setY((tileDstRect.y() - phase.y()) / scale.height() - j * stepY);
|
| /external/chromium_org/skia/ext/ |
| event_tracer_impl.cc | 16 addTraceEvent(char phase, 43 SkChromiumEventTracer::addTraceEvent(char phase, 53 phase, categoryEnabledFlag, name, id, numArgs, argNames,
|
| /external/chromium_org/third_party/skia/include/effects/ |
| Sk1DPathEffect.h | 51 @param phase distance (mod advance) along path for its initial position 55 static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, 57 return SkNEW_ARGS(SkPath1DPathEffect, (path, advance, phase, style)); 66 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 77 SkScalar fInitialOffset; // computed from phase
|
| /external/skia/include/effects/ |
| Sk1DPathEffect.h | 51 @param phase distance (mod advance) along path for its initial position 55 static SkPath1DPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, 57 return SkNEW_ARGS(SkPath1DPathEffect, (path, advance, phase, style)); 66 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); 77 SkScalar fInitialOffset; // computed from phase
|
| /external/chromium_org/ui/v2/src/ |
| view_unittest.cc | 119 lhs.phase == rhs.phase; 172 p1.phase = ViewObserver::DISPOSITION_CHANGED; 178 p11.phase = ViewObserver::DISPOSITION_CHANGING; 180 p11.phase = ViewObserver::DISPOSITION_CHANGED; 197 p1.phase = ViewObserver::DISPOSITION_CHANGING; 204 p11.phase = ViewObserver::DISPOSITION_CHANGED; 242 p1.phase = ViewObserver::DISPOSITION_CHANGED; 253 p111.phase = ViewObserver::DISPOSITION_CHANGING; 255 p111.phase = ViewObserver::DISPOSITION_CHANGED [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| PathEffects.java | 40 private static PathEffect makeDash(float phase) { 41 return new DashPathEffect(new float[] { 15, 5, 8, 5 }, phase); 44 private static void makeEffects(PathEffect[] e, float phase) { 47 e[2] = new DashPathEffect(new float[] {10, 5, 5, 5}, phase); 48 e[3] = new PathDashPathEffect(makePathDash(), 12, phase,
|
| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| TraceEventDispatcher.h | 62 TraceEvent(double timestamp, char phase, const char* name, unsigned long long id, ThreadIdentifier threadIdentifier, 65 , m_phase(phase) 89 char phase() const { return m_phase; } function in class:WebCore::TraceEventDispatcher::TraceEvent 152 void addListener(const char* name, char phase, ListenerClass* instance, typename TraceEventTarget<ListenerClass>::TraceEventHandler handler, InspectorClient* client) 154 innerAddListener(name, phase, instance, static_cast<TraceEventHandlerMethod>(handler), client); 181 static void dispatchEventOnAnyThread(char phase, const unsigned char*, const char* name, unsigned long long id, 186 void innerAddListener(const char* name, char phase, TraceEventTargetBase*, TraceEventHandlerMethod, InspectorClient*);
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
| radeon_dataflow_swizzles.c | 49 for(unsigned int phase = 0; phase < split.NumPhases; ++phase) { 57 mov->U.I.DstReg.WriteMask = split.Phase[phase]; 63 if (!GET_BIT(split.Phase[phase], chan)) 71 masked_negate = split.Phase[phase] & mov->U.I.SrcReg[0].Negate; 74 else if (masked_negate == split.Phase[phase] [all...] |
| /external/mesa3d/src/gallium/drivers/r300/compiler/ |
| radeon_dataflow_swizzles.c | 49 for(unsigned int phase = 0; phase < split.NumPhases; ++phase) { 57 mov->U.I.DstReg.WriteMask = split.Phase[phase]; 63 if (!GET_BIT(split.Phase[phase], chan)) 71 masked_negate = split.Phase[phase] & mov->U.I.SrcReg[0].Negate; 74 else if (masked_negate == split.Phase[phase] [all...] |
| /external/sonivox/arm-fm-22k/lib_src/ |
| eas_fmengine.c | 139 * Transform pitch cents to linear phase increment 285 EAS_U32 phase; local 298 /* establish local phase variables */ 299 phase = p->phase; 301 /* calculate the new phase increment */ 329 phaseTemp = phase + temp; 334 /* increment operator phase */ 335 phase += phaseInc; 359 /* save phase and gain * 395 EAS_U32 phase; local [all...] |
| /external/sonivox/arm-hybrid-22k/lib_src/ |
| eas_fmengine.c | 139 * Transform pitch cents to linear phase increment 285 EAS_U32 phase; local 298 /* establish local phase variables */ 299 phase = p->phase; 301 /* calculate the new phase increment */ 329 phaseTemp = phase + temp; 334 /* increment operator phase */ 335 phase += phaseInc; 359 /* save phase and gain * 395 EAS_U32 phase; local [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/rendering/ |
| GraphicsContextAnnotator.cpp | 42 static const char* paintPhaseName(WebCore::PaintPhase phase) 44 switch (phase) { 99 paintPhase = paintPhaseName(paintInfo.phase);
|
| /hardware/ti/omap3/dspbridge/inc/ |
| dbdcd.h | 189 * phase: phase to obtain correct input library 207 IN NLDR_PHASE phase); 219 * phase: Phase to obtain correct input library 236 IN NLDR_PHASE phase); 249 * phase: Which phase to load 266 IN NLDR_PHASE phase,
|