// NewTrackToRemove creates a new TrackToRemove object with the specified
// track ID and playlist locations.
487416
func NewTrackToRemove(trackID string, positions []int) TrackToRemove {
	return TrackToRemove{
		URI:       fmt.Sprintf("spotify:track:%s", trackID),
		Positions: positions,
	}
}
940580
func (sc *SpriteContainer) OnTouchMove(x, y float32) {
	sc.emitTouchEvent(x, y, touchMove)
}
1096483
func (s *ModifyCacheClusterInput) SetCacheNodeIdsToRemove(v []*string) *ModifyCacheClusterInput {
	s.CacheNodeIdsToRemove = v
	return s
}
1150643
func (c *Client) GetTrack(id ID) (*FullTrack, error) {
	spotifyURL := c.baseURL + "tracks/" + string(id)

	var t FullTrack

	err := c.get(spotifyURL, &t)
	if err != nil {
		return nil, err
	}

	return &t, nil
}
532210
func NewTracker(label fmt.Stringer, bytesLimit int64) *Tracker {
	return &Tracker{
		label:          label,
		bytesLimit:     bytesLimit,
		actionOnExceed: &LogOnExceed{},
	}
}
174880
func (a *Astilectron) NewTray(o *TrayOptions) *Tray {
	return newTray(o, a.canceller, a.dispatcher, a.identifier, a.writer)
}
224953
func (c *HeapProfiler) StartTrackingHeapObjects(trackAllocations bool) (*gcdmessage.ChromeResponse, error) {
	var v HeapProfilerStartTrackingHeapObjectsParams
	v.TrackAllocations = trackAllocations
	return c.StartTrackingHeapObjectsWithParams(&v)
}
474168
func NewTerrainMap(bounds coord.Bounds, s string) (TerrainMap, error) {
	tm, err := NewTerrainArray(bounds, s)
	if err != nil {
		return TerrainMap{}, err
	}

	return TerrainMap{bounds, tm}, nil
}
1168633
func NewTreeWalkPool(timeout time.Duration) *TreeWalkPool {
	tPool := &TreeWalkPool{
		pool:    make(map[listParams][]treeWalk),
		timeOut: timeout,
		lock:    &sync.Mutex{},
	}
	return tPool
}
683692
func (p *Playlist) SetAutolinkTracks(l bool) {
	C.sp_playlist_set_autolink_tracks(p.sp_playlist, cbool(l))
}
1300438
func NewUntrackCacheStorageForOriginArgs(origin string) *UntrackCacheStorageForOriginArgs {
	args := new(UntrackCacheStorageForOriginArgs)
	args.Origin = origin
	return args
}
616812
func (s *UpdateByQueryService) TrackScores(trackScores bool) *UpdateByQueryService {
	s.trackScores = &trackScores
	return s
}
225531
func NewTracker(namer common.MatchNamer, trackChildren, trackThreads, alwaysRecheck, debug bool) *Tracker {
	return &Tracker{
		namer:         namer,
		tracked:       make(map[ID]*trackedProc),
		procIds:       make(map[int]ID),
		trackChildren: trackChildren,
		trackThreads:  trackThreads,
		alwaysRecheck: alwaysRecheck,
		username:      make(map[int]string),
		debug:         debug,
	}
}
958519
func NewTransport(base http.RoundTripper, modifiers ...RequestModifier) http.RoundTripper {
	return &transport{
		Modifiers: modifiers,
		Base:      base,
	}
}
352553
func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []*string) *ModifyOptionGroupInput {
	s.OptionsToRemove = v
	return s
}
932726
func (t *Track) PlayableTrack() *Track {
	sp_track := C.sp_track_get_playable(
		t.session.sp_session,
		t.sp_track,
	)
	return newTrack(t.session, sp_track)
}
268153
func (tp *TouchPeer) OnTouchMove(pxx, pxy float32) {
	simlog.FuncIn()
	x, y := tp.calcTouchedPosition(pxx, pxy)
	for i := range tp.touchListeners {
		tp.touchListeners[i].OnTouchMove(x, y)
	}
	simlog.FuncOut()
}